Return a dictionary of EmisGrid objects referred to by their atom string (e.g. 'O3').
Usage:
emisgrids = pn.getEmisGridDict(['C', 'N', 'O'], [2, 3], save=True)
emisgrids = pn.getEmisGridDict(atom_list=['N2', 'O2', 'O3'], pypic_path='/tmp/pypics/',
den_max = 1e6)
emisgrids = pn.getEmisGridDict(atomDict=diags.atomDict)
Parameters:
- elem_list list of elements
- spec_list list of spectrum values (integers)
- atom_list list of atoms (e.g. ['N2', 'O3'])
- restore Boolean. If True (default), the program will search for a previously computed grid.
If not found, it will compute the EmisGrid (unless computeIfAbsent is set to False)
- pypic_path directory where to look for the pypic emissivity files. It defaults to pn.config.pypic_path,
which is defined when the PyNeb session begins and corresponds to $HOME/.pypics if
the ENVIRONMENT variable HOME is accessible or to /tmp/pypics otherwise
- n_tem, n_den number of points in the Te and Ne samples resp.
- tem_min, tem_max, den_min, den_max limits for Te and Ne
- save Boolean. If True (default), the emissivity grid will be saved. It has no effect if the
EmisGrid has just been restored.
- atomDict dictionary of Atom objects
- computeIfAbsent If the file to restore is absent and this parameter is True (default), the
EmisGrid is computed