pyCloudy
0.9.6
manage Cloudy photoionization code
|
Inherits object.
Public Member Functions | |
def | __init__ |
def | init_all (self) |
def | insert_in_dic (self, key, value) |
def | set_ref |
def | set_dir |
def | set_user |
def | set_radius |
def | set_star |
def | set_cste_density |
def | set_ff |
def | set_dlaw |
def | set_abund |
def | set_dust |
def | set_iterate |
def | set_stop |
def | set_distance |
def | set_file |
def | set_status |
def | set_priority |
def | set_geometry |
def | set_cloudy_others |
def | set_N_Mass_cut |
def | set_N_Hb_cut |
def | set_GuessMassFrac |
def | set_comments |
def | set_C_version |
def | insert_model |
Public Attributes | |
log_ | |
MdB | |
OVN_dic | |
table | |
fields | |
calling | |
last_N | |
def __init__ | ( | self, | |
MdB = None , |
|||
OVN_dic = None |
|||
) |
def init_all | ( | self | ) |
def insert_in_dic | ( | self, | |
key, | |||
value | |||
) |
def insert_model | ( | self, | |
verbose_only = False , |
|||
status = None |
|||
) |
def set_abund | ( | self, | |
predef = None , |
|||
elem = None , |
|||
value = None , |
|||
nograins = True , |
|||
ab_dict = None |
|||
) |
Define the elemental abundance(s) Usage: set_abund(ab_dict = {'He' : -0.92, 'C' : -4.65} Parameters: ab_dict: dictionary of abundances. Keys are element symbols, values are abundances in log
def set_C_version | ( | self, | |
version = None |
|||
) |
def set_cloudy_others | ( | self, | |
others = None , |
|||
i_other = 0 |
|||
) |
def set_comments | ( | self, | |
comments = None , |
|||
i_com = 0 |
|||
) |
def set_cste_density | ( | self, | |
dens = None , |
|||
ff = None |
|||
) |
def set_dir | ( | self, | |
dir_ = '.' |
|||
) |
def set_distance | ( | self, | |
distance = None |
|||
) |
distance in kpc
def set_dlaw | ( | self, | |
dlaw_params = None , |
|||
i_param = 0 |
|||
) |
Define the user-define density law. Parameters: - dlaw_params may be of type: 1.4, (1, 2, 4.5) or [1,2,3] - i_param: indice of the parameter to set (from 0 to 8). Unused if dlaw_params is a list or a tuple
def set_dust | ( | self, | |
dust_type = None , |
|||
dust_value = None , |
|||
i_dust = 0 |
|||
) |
def set_ff | ( | self, | |
ff = None |
|||
) |
def set_file | ( | self, | |
name = None |
|||
) |
def set_geometry | ( | self, | |
geometry = None |
|||
) |
def set_GuessMassFrac | ( | self, | |
massFrac = None |
|||
) |
def set_iterate | ( | self, | |
n_iter = None |
|||
) |
def set_N_Hb_cut | ( | self, | |
N = None |
|||
) |
def set_N_Mass_cut | ( | self, | |
N = None |
|||
) |
def set_priority | ( | self, | |
priority = 10 |
|||
) |
def set_radius | ( | self, | |
r_in = None |
|||
) |
param: r_in [float] (log cm)
def set_ref | ( | self, | |
ref = None |
|||
) |
param: ref [string]
def set_star | ( | self, | |
SED_shape = None , |
|||
atm1 = None , |
|||
atm2 = None , |
|||
atm3 = None , |
|||
lumi_unit = None , |
|||
lumi_value = None , |
|||
i_star = 0 , |
|||
atm_file = None |
|||
) |
def set_status | ( | self, | |
status = 0 |
|||
) |
def set_stop | ( | self, | |
stopping_crit = None , |
|||
i_stop = 0 |
|||
) |
def set_user | ( | self, | |
user = None |
|||
) |
param: user [string]
calling |
fields |
last_N |
log_ |
MdB |
OVN_dic |
table |