|
pyCloudy
0.9.6
manage Cloudy photoionization code
|
Classes | |
| class | Genetic |
| class | manage3MdB |
| class | ObsfromMdB |
| class | runCloudy |
| class | runCloudyByThread |
| class | writePending |
| class | writeTab |
Functions | |
| def | select_from_priorities (Ps) |
| def | clean_SED (MdB, seds_table, ref, obj_name) |
| def | insert_SED |
| def | print_input |
| def | print_all_refs |
| def | print_all_lines |
| def | print_status_stats |
| def | print_mean_running_time |
| def | print_elapsed_time |
| def | print_ETA |
| def | print_efficiency |
| def | print_infos |
| def | remove_lines (OVN_dic, line_labels) |
| def | remove_models |
Variables | |
| dictionary | status_dic |
| list | save_list_elems = [e[0] for e in pc.config.SAVE_LIST_ELEMS] |
| list | syms = [key for key,value in list(SYM2ELEM.items()) if value==elem ] |
| def pyCloudy.db.use3MdB.clean_SED | ( | MdB, | |
| seds_table, | |||
| ref, | |||
| obj_name | |||
| ) |
| def pyCloudy.db.use3MdB.insert_SED | ( | MdB, | |
| seds_table, | |||
| ref, | |||
| sed_name, | |||
| atm_cmd, | |||
| atm_file, | |||
atm1 = None, |
|||
atm2 = None, |
|||
atm3 = None, |
|||
lumi_unit = '', |
|||
lumi_value = None |
|||
| ) |
| def pyCloudy.db.use3MdB.print_all_lines | ( | MdB = None, |
|
OVN_dic = None, |
|||
limit_ = None |
|||
| ) |
Print all the emission lines. A limit can be given
| def pyCloudy.db.use3MdB.print_all_refs | ( | MdB = None, |
|
OVN_dic = None |
|||
| ) |
Print all the references from the master table, with the number of entries for each.
| def pyCloudy.db.use3MdB.print_efficiency | ( | MdB = None, |
|
OVN_dic = None, |
|||
ref_ = None |
|||
| ) |
| def pyCloudy.db.use3MdB.print_elapsed_time | ( | MdB = None, |
|
OVN_dic = None, |
|||
ref_ = None |
|||
| ) |
Print the time elapsed between the first and the last model run. A reference can be given
| def pyCloudy.db.use3MdB.print_ETA | ( | MdB = None, |
|
OVN_dic = None, |
|||
ref_ = None |
|||
| ) |
| def pyCloudy.db.use3MdB.print_infos | ( | MdB = None, |
|
OVN_dic = None, |
|||
ref_ = None, |
|||
where_ = None, |
|||
Nprocs = 32 |
|||
| ) |
| def pyCloudy.db.use3MdB.print_input | ( | N, | |
MdB = None, |
|||
OVN_dic = None, |
|||
dir = './', |
|||
parameters = None, |
|||
read_tab = False |
|||
| ) |
Procedure that print out the input file corresponding the entry N in the pending (or master) table of OVN_dic It does not write nothing in the database. Take care that some comments may have been added a posteriori to the master table and may break Cloudy.
| def pyCloudy.db.use3MdB.print_mean_running_time | ( | MdB = None, |
|
OVN_dic = None, |
|||
ref_ = None |
|||
| ) |
Print the mean time to run photoionization models. A reference can be given
| def pyCloudy.db.use3MdB.print_status_stats | ( | MdB = None, |
|
OVN_dic = None, |
|||
ref_ = None |
|||
| ) |
Print the number of pending models for each status. A reference can be given.
| def pyCloudy.db.use3MdB.remove_lines | ( | OVN_dic, | |
| line_labels | |||
| ) |
Usage:
remove_lines(OVN_dic, ('FE_6__5177A', 'FE_7__4894A', 'FE_7__5277A'))
remove_lines(OVN_dic, ('H__1__4102A', 'H__1__3970A', 'H__1__3835A', 'H__1_2625M', 'H__1_7458M', 'HE_1__4471A', 'CA_B__4471A'))
| def pyCloudy.db.use3MdB.remove_models | ( | MdB = None, |
|
OVN_dic = None, |
|||
where_ = None |
|||
| ) |
Usage:
remove_models(OVN_dic=OVN_dic, where_='ref = "CALIFA_6" AND com1 = "name = NGC4630"')
remove_models(MdB=MdB, where_='ref = "CALIFA_6" AND com1 = "name = NGC4630"')
| def pyCloudy.db.use3MdB.select_from_priorities | ( | Ps | ) |
| list save_list_elems = [e[0] for e in pc.config.SAVE_LIST_ELEMS] |
| dictionary status_dic |
| list syms = [key for key,value in list(SYM2ELEM.items()) if value==elem ] |