pyCloudy  0.8.33
manage Cloudy photoionization code
pyCloudy::test::test2 Namespace Reference

Functions

def make_model

Variables

string dir_ = './'
string model_name = 'model_2'
list tab_dens = [3, 4, 5, 6]
list tab_ab_O = [-3.1, -3.25, -3.4, -3.55, -3.7]
int n_proc = 3
tuple Ms = pc.load_models('{0}{1}'.format(dir_, model_name), read_grains = False)
list rO3 = [np.log10(M.get_emis_vol('O__3__5007A')/M.get_emis_vol('TOTL__4363A')) for M in Ms]
list rO2 = [np.log10(M.get_emis_vol('O_II__3726A')/M.get_emis_vol('O_II__3729A')) for M in Ms]
list col = [M.abund['O'] for M in Ms]
list size = [np.log10(M.nH[0])*20 for M in Ms]
tuple cb = plt.colorbar()

Function Documentation

def pyCloudy::test::test2::make_model (   dir_,
  model_name,
  dens,
  ab_O 
)

Variable Documentation

tuple cb = plt.colorbar()
list col = [M.abund['O'] for M in Ms]
string dir_ = './'
string model_name = 'model_2'
tuple Ms = pc.load_models('{0}{1}'.format(dir_, model_name), read_grains = False)
int n_proc = 3
list rO2 = [np.log10(M.get_emis_vol('O_II__3726A')/M.get_emis_vol('O_II__3729A')) for M in Ms]
list rO3 = [np.log10(M.get_emis_vol('O__3__5007A')/M.get_emis_vol('TOTL__4363A')) for M in Ms]
list size = [np.log10(M.nH[0])*20 for M in Ms]
list tab_ab_O = [-3.1, -3.25, -3.4, -3.55, -3.7]
list tab_dens = [3, 4, 5, 6]