System Module

Mostly for internal use, however it is useful for printing system parameters in a human readable format.

from wind_ae.wrapper.relax_wrapper import wind_simulation as wind_sim

sim = wind_sim()
sim.load_planet('planet.csv')
sim.system.print_system()
class wind_ae.wrapper.wrapper_utils.system.system(Mp, Rp, Mstar, semimajor, Ftot, Lstar, name='My Planet')

Bases: object

Object containing information about the planetary system

system_tuple()

Return variable values that describe the planetary system. Currently not including the given (unphysical) name of system in return.

print_system(norm='Jupiter')

Prints system variables in table.

Parameters:

norm (str) – The normalization scheme to use (‘Jupiter’ or ‘Earth’).

value(var=None)
assign(var, value)
Description:

Assigns a new value to the given variable. Recognized variables: Mp, Rp, Mstar, semimajor, Ftot, name

Parameters:
  • var – name of variable to set

  • value – numerical value to set variable to (in cgs)

deepcopy()