Package paramz :: Package core
[hide private]
[frames] | no frames]

Source Code for Package paramz.core

 1  """ 
 2  Core 
 3  ---- 
 4   
 5  This package holds the core modules for the parameterization 
 6   
 7  HierarchyError: 
 8  raised when an error with the hierarchy occurs (circles etc.) 
 9  """ 
10  #=============================================================================== 
11  # Copyright (c) 2015, Max Zwiessele 
12  # All rights reserved. 
13  #  
14  # Redistribution and use in source and binary forms, with or without 
15  # modification, are permitted provided that the following conditions are met: 
16  #  
17  # * Redistributions of source code must retain the above copyright notice, this 
18  #   list of conditions and the following disclaimer. 
19  #  
20  # * Redistributions in binary form must reproduce the above copyright notice, 
21  #   this list of conditions and the following disclaimer in the documentation 
22  #   and/or other materials provided with the distribution. 
23  #  
24  # * Neither the name of paramax nor the names of its 
25  #   contributors may be used to endorse or promote products derived from 
26  #   this software without specific prior written permission. 
27  #  
28  # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 
29  # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
30  # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
31  # DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 
32  # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 
33  # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 
34  # SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 
35  # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 
36  # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 
37  # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
38  #=============================================================================== 
39   
40 -class HierarchyError(Exception):
41 """ 42 Gets thrown when something is wrong with the parameter hierarchy. 43 """ 44 pass
45 46 from . import index_operations, lists_and_dicts, observable, observable_array, parameter_core, updateable 47 from paramz import domains 48 from paramz import transformations 49