Esempio n. 1
0
 def __init__(self, min_gf=0, max_J2l=99999, max_vl=99999, max_v2l=99999):
     DataFile.__init__(self)
     self.lines = []
     self.min_gf = min_gf
     self.max_J2l = max_J2l
     self.max_vl = max_vl
     self.max_v2l = max_v2l
Esempio n. 2
0
 def __init__(self):
     DataFile.__init__(self)
     self.titrav = None
     self.ecrit = None
     self.pas = None
     self.echx = None
     self.echy = None
     self.fwhm = None
     self.ivtot = None
     self.vvt = None
     self.tolv = None
     self.teff = None
     self.glog = None
     self.asalog = None
     self.nhe = None
     self.inum = None
     self.ptdisk = None
     self.mu = None
     self.afstar = None
     self.xxcor = None
     self.flprefix = None
     self.llzero = None
     self.llfin = None
     self.aint = None
     self.filetohy = None
Esempio n. 3
0
    def __init__(self):
        DataFile.__init__(self)

        # Array of Molecule objects
        self.molecules = []

        # Literal in second row of file, sortta used as a file title/description
        self.titm = ""
Esempio n. 4
0
    def __init__(self, flag_parse_atoms=True, flag_parse_molecules=True):
        DataFile.__init__(self)

        # Configuration
        self.flag_parse_atoms = flag_parse_atoms
        self.flag_parse_molecules = flag_parse_molecules

        self.speciess = {}
Esempio n. 5
0
 def __init__(self):
     DataFile.__init__(self)
     # list of atomic symbols
     self.ele = []
     # corresponding abundances
     self.abol = []
     # notes per element, ignored by pfant
     self.notes_per_ele = []
     # overall
     self.notes = ""
Esempio n. 6
0
    def __init__(self):
        DataFile.__init__(self)
        self.titre = None

        # second row
        self.ntot = None
        self.zut1 = None
        self.zut2 = None
        self.zut3 = None

        # will be NumPy matrix [jmax]x[modeles_ntot]
        self.th = None
        self.lambdh = None
        self.jmax = None
Esempio n. 7
0
    def __init__(self):
        DataFile.__init__(self)

        # # Global properties of the opacity model file
        # the 4-byte standard model code 'MRXF'
        self.mcode = None
        # number of depth points (=56)
        self.ndp = None
        # standard wavelength for the continuous optical depth (tau)
        # scale and for the total standard opacity (ops)
        self.swave = None
        # number of wavelengths for which continuous absorption and
        # scattering opacities are given. These are chosen so that
        # linear interpolation should suffice for any wavelength
        # (=1071)
        self.nwav = None
        # wav(j): wavelengths for which opacities are given
        self.wav = None

        # # Model structure
        # rad(k): radius, normalized on the outermost point, k=1. For use with
        # spherical radiative transfer. For plane-parallel models rad == 1.0.
        self.rad = None
        # tau(k): continuumm optical depth at the standard wavelength swave
        self.tau = None
        # t(k): temperature (K)
        self.t = None
        # pe(k): electron pressure (dyn/cm2)
        self.pe = None
        # pg(k)  = total gas pressure (dyn/cm2)
        self.pg = None
        # rho(k) = densigy (g/cm3)
        self.rho = None
        # xi(k)  = microturbulence parameter (km/s)
        self.xi = None
        # ops(k) = continuumm opacity at the standard wavelength (cm2/g)
        self.ops = None

        # # Wavelength-dependent opacities
        # abs(j,k) = specific continuous absorption opacity (cm2/g)
        self.abs = None
        # sca(j,k) = specific continuous scattering opacity (cm2/g)
        self.sca = None

        # logarithmic number abundances of the 92 first chemical
        # elements on a scale where the hydrogen abundance=12.00
        self.abund = None
Esempio n. 8
0
    def __init__(self):
        DataFile.__init__(self)
        # atom-related
        self.nmetal = None
        self.nimax = None
        self.elems = None
        self.nelemx = None
        self.ip = None
        self.ig0 = None
        self.ig1 = None
        self.cclog = None

        # molecule-related
        self.nmol = None
        self.mol = None
        self.c = None
        self.mmax = None
        self.nelem = None
        self.natom = None
        self.eps = None
        self.switer = None

        # inovation
        self.title = None
Esempio n. 9
0
 def __init__(self):
     DataFile.__init__(self)
Esempio n. 10
0
    def __init__(self):
        DataFile.__init__(self)

        # list of Atom objects
        self.atoms = []
Esempio n. 11
0
 def __init__(self):
   DataFile.__init__(self)
   self.records = None
Esempio n. 12
0
    def __init__(self):
        DataFile.__init__(self)

        # list of KuruczMolLine objects
        self.lines = []
Esempio n. 13
0
    def __init__(self):
        DataFile.__init__(self)

        # List of HmapRow objects
        self.rows = []
Esempio n. 14
0
    def __init__(self):
        DataFile.__init__(self)

        self.fcfs = OrderedDict()
Esempio n. 15
0
    def __init__(self):
        DataFile.__init__(self)

        self.states = [TRAPRBInputState(), TRAPRBInputState()]
Esempio n. 16
0
    def __init__(self):
        DataFile.__init__(self)

        self.molecules = defaultdict(lambda: PlezSpecies())
        self.atoms = defaultdict(lambda: PlezSpecies())