PHOEBE 2.1 Documentation

2.1 Docs



Prev: phoebe.atmospheres package Next: phoebe.dynamics package
.

phoebe.constraints package

Submodules

phoebe.constraints.builtin module

phoebe.constraints.builtin.rochepotential2rpole(*args, **kwargs)[source]
phoebe.constraints.builtin.rocherpole2potential(*args, **kwargs)[source]
phoebe.constraints.builtin.rotstarpotential2rpole(*args, **kwargs)[source]
phoebe.constraints.builtin.rotstarrpole2potential(*args, **kwargs)[source]
phoebe.constraints.builtin.rochecriticalL12potential(*args, **kwargs)[source]
phoebe.constraints.builtin.rochecriticalL12rpole(q, e, F, sma, compno, **kwargs)[source]
phoebe.constraints.builtin.esinw2per0(ecc, esinw)[source]
phoebe.constraints.builtin.ecosw2per0(ecc, ecosw)[source]
phoebe.constraints.builtin.t0_perpass_to_supconj(t0_perpass, period, ecc, per0)[source]
phoebe.constraints.builtin.t0_supconj_to_perpass(t0_supconj, period, ecc, per0)[source]
phoebe.constraints.builtin.t0_ref_to_supconj(t0_ref, period, ecc, per0)[source]
phoebe.constraints.builtin.t0_supconj_to_ref(t0_supconj, period, ecc, per0)[source]

phoebe.constraints.expression module

class phoebe.constraints.expression.ConstraintVar(bundle, twig)[source]

Bases: object

update_user_label()[source]

finds this parameter and gets the least_unique_twig from the bundle

is_param

is this variable a parameter of the system (vs a constant or method of an object)

get_parameter()[source]

get the parameter object from the system for this var

needs to be backend safe (not passing or storing bundle)

get_quantity(units=None, t=None)[source]
get_value(units=None, t=None)[source]

get the value (either of the constant or from the parameter) for this var

needs to be backend safe (not passing or storing bundle)

unique_label

unique_label corresponding to parameter.get_unique_label call get_parameter(system) to retrieve the parameter itself

needs to be backend safe (not passing or storing bundle)

user_label

label as the user provided it

needs to be backend safe (not passing or storing bundle)

curly_label

label with {} brackets - used for the user’s view of the equation

needs to be backend safe (not passing or storing bundle)

safe_label

label that is safe to be passed through sympy - with escapes from any mathetmatical symbols

needs to be backend safe (not passing or storing bundle)

Module contents

Prev: phoebe.atmospheres package Next: phoebe.dynamics package
.
Last update: 10/29/2018 9:20 a.m. (CET)