Module Expr Str ImportFrom alias Import alias ImportFrom alias alias alias Import alias identifier Assign NameStore Call AttributeLoad NameLoad attr NameLoad ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad ListLoad kwarg body Expr Call AttributeLoad Call NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Dict AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str Assign SubscriptStore NameLoad Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str Assign SubscriptStore NameLoad Index Str Num Assign SubscriptStore NameLoad Index Str Num Assign SubscriptStore AttributeLoad NameLoad attr Index BinOpAdd Str AttributeLoad NameLoad attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index BinOpAdd Str AttributeLoad NameLoad attr NameLoad If CompareNotEq NameLoad ListLoad body For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Dict AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body For NameStore AttributeLoad NameLoad attr body If BoolOpAnd CompareIn NameLoad Call AttributeLoad NameLoad attr CompareNotIn Str Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str Return Expr Call AttributeLoad Call NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareEq SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num Return SubscriptLoad NameLoad Index BinOpAdd NameLoad Str If CompareNotIn NameLoad Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str Return Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr orelse Return Call AttributeLoad Call NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad Str body Assign NameStore ListLoad If CompareIn Str NameLoad body Expr Call AttributeLoad NameLoad attr Str For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad attr keyword NameLoad keyword NameLoad Return NameLoad decorator_list Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args NameParam NameParam NameParam defaults Str body Expr Str If CompareEq NameLoad Str body If CompareIn AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr body Raise Call NameLoad Str orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr Dict AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Dict AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str Str Num Num orelse If CompareEq NameLoad Str body If CompareIn AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr orelse Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body TryExcept body Assign NameStore BinOpAdd NameLoad SubscriptLoad NameLoad Index Str handlers ExceptHandler body Pass Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr For NameStore NameLoad body Assign NameStore SubscriptLoad NameLoad Index BinOpAdd Str NameLoad Assign NameStore SubscriptLoad NameLoad Index BinOpAdd Str NameLoad Assign SubscriptStore NameLoad Index NameLoad BinOpAdd SubscriptLoad NameLoad Index NameLoad Num Assign SubscriptStore NameLoad Index NameLoad BinOpAdd SubscriptLoad NameLoad Index NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call AttributeLoad SubscriptLoad Call AttributeLoad NameLoad attr CompareGt NameLoad Num Index Num attr Assign SubscriptStore NameLoad Index Str Call AttributeLoad SubscriptLoad Call AttributeLoad NameLoad attr CompareEq NameLoad Num Index Num attr Assign SubscriptStore NameLoad Index Str Call AttributeLoad SubscriptLoad Call AttributeLoad NameLoad attr CompareGt NameLoad Num Index Num attr Assign SubscriptStore NameLoad Index Str Call AttributeLoad SubscriptLoad Call AttributeLoad NameLoad attr CompareEq NameLoad Num Index Num attr Return NameLoad decorator_list decorator_list
N/A N/A 
===============================================================================
module __GenericPhase__: Base class for building Phase objects
===============================================================================

 OpenPNM.Network GenericNetwork N/A OpenPNM.Phases.models OpenPNM.Base Core Tools logging N/A scipy sp N/A logger N/A N/A logging getLogger __name__ GenericPhase N/A Core N/A N/A 
    Base class to generate a generic phase object.  The user must specify models
    and parameters for all the properties they require. Classes for several
    common phases are included with OpenPNM and can be found under OpenPNM.Phases.

    Parameters
    ----------
    network : OpenPNM Network object
        The network to which this Phase should be attached

    components : list of OpenPNM Phase objects
        These Phase objects are ficticious or virtual phases that are the pure
        components from which the mixture is made.  They are used to calculate
        and store any pure component data.  If none are supplied then this
        object will act like either a pure component, a mixture whose properties
        are well known (like air) and need not to be found from consideration of
        the pure component properties.

    name : str, optional
        A unique string name to identify the Phase object, typically same as
        instance name but can be anything.

     __init__ N/A N/A self network components N/A None N/A kwargs N/A N/A N/A N/A N/A super __init__ kwargs N/A N/A logger name N/A self name N/A N/A network None N/A N/A network N/A GenericNetwork N/A N/A N/A N/A self network update N/A N/A network name network N/A N/A self N/A pore.all N/A N/A self _net N/A pore.all N/A N/A self N/A throat.all N/A N/A self _net N/A throat.all N/A N/A self N/A pore.temperature 298.0 N/A N/A self N/A pore.pressure 101325.0 N/A N/A N/A self _net N/A N/A pore. N/A self name True N/A N/A N/A self _net N/A N/A throat. N/A self name True N/A N/A components N/A N/A N/A comp components N/A N/A N/A N/A self set_component phase comp N/A N/A N/A N/A N/A self _net phases update N/A N/A self name self N/A __setitem__ N/A N/A self prop value N/A N/A N/A phys N/A self _physics N/A N/A N/A N/A prop N/A N/A phys keys N/A all N/A N/A prop split . N/A N/A N/A N/A logger error N/A prop  is already defined in at least one                                  associated Physics object N/A N/A N/A N/A N/A super __setitem__ prop value N/A __getitem__ N/A N/A self key N/A N/A N/A N/A N/A N/A N/A key split . N/A -1 N/A self name N/A N/A element N/A N/A N/A key split . N/A 0 N/A N/A self N/A N/A element .all N/A N/A key N/A N/A self keys N/A N/A N/A N/A logger debug N/A key  not on Phase, constructing data from Physics N/A N/A N/A self _interleave_data key sources N/A self _physics N/A N/A N/A N/A N/A super __getitem__ key N/A props N/A N/A self element mode N/A None all N/A N/A prop_list N/A N/A N/A deep mode N/A N/A N/A N/A mode remove deep N/A phys N/A self _physics N/A N/A N/A N/A prop_list extend N/A N/A phys props element element mode mode N/A prop_list N/A N/A Tools PrintableList N/A set prop_list N/A N/A N/A prop_list extend N/A N/A N/A super props element element mode mode N/A prop_list N/A N/A N/A props __doc__ N/A N/A Core props __doc__ set_component N/A N/A self phase mode N/A add N/A N/A 
        This method is used to add or remove a ficticious phase object to this
        object.

        Parameters
        ----------
        phase : OpenPNM Phase object
            This is the ficticious phase object defining a pure component.

        mode : string
            Indicates whether to 'add' or 'remove' the supplied Phase object
         N/A N/A mode add N/A N/A N/A N/A phase name N/A N/A self phases N/A N/A N/A Exception Phase already present N/A N/A N/A N/A N/A self phases update N/A N/A phase name phase N/A N/A N/A N/A phase phases update N/A N/A self name self N/A N/A N/A N/A phase models add propname pore.temperature model N/A N/A N/A N/A OpenPNM Phases models misc mixture_value N/A N/A N/A N/A phase models add propname pore.pressure model N/A N/A N/A N/A OpenPNM Phases models misc mixture_value N/A N/A N/A N/A phase models reorder N/A pore.temperature pore.pressure 0 1 N/A N/A N/A mode remove N/A N/A N/A N/A phase name N/A N/A self phases N/A N/A N/A N/A N/A self phases pop N/A phase name N/A N/A N/A Exception Phase not found N/A check_mixture_health N/A N/A self N/A N/A N/A 
        Query the properties of the 'virtual phases' that make up a mixture
        to ensure they all add up
         N/A mole_sum N/A N/A sp zeros N/A N/A self Np N/A comp N/A self _phases N/A N/A N/A N/A mole_sum N/A mole_sum N/A comp N/A pore.mole_fraction N/A N/A N/A N/A N/A mole_sum N/A check_physics_health N/A N/A self N/A N/A N/A 
        Perform a check to find pores which have overlapping or undefined Physics
         N/A phys N/A N/A self physics N/A Ptemp N/A N/A sp zeros N/A N/A self Np N/A Ttemp N/A N/A sp zeros N/A N/A self Nt N/A item phys N/A N/A Pind N/A self N/A N/A pore. item N/A Tind N/A self N/A N/A throat. item N/A N/A Ptemp N/A Pind N/A N/A Ptemp N/A Pind 1 N/A N/A Ttemp N/A Tind N/A N/A Ttemp N/A Tind 1 N/A health N/A N/A Tools HealthDict N/A N/A health N/A overlapping_pores N/A N/A N/A N/A N/A sp where N/A Ptemp 1 N/A 0 tolist N/A N/A health N/A undefined_pores N/A N/A N/A N/A N/A sp where N/A Ptemp 0 N/A 0 tolist N/A N/A health N/A overlapping_throats N/A N/A N/A N/A N/A sp where N/A Ttemp 1 N/A 0 tolist N/A N/A health N/A undefined_throats N/A N/A N/A N/A N/A sp where N/A Ttemp 0 N/A 0 tolist N/A health N/A N/A