def __init__( self, dw_core, scattering_xs = 0., absorption_xs = 0., ): base.__init__(self, dispersion=None) self.dw_core = dw_core self.scattering_xs = scattering_xs self.absorption_xs = absorption_xs return
def __init__(self, dispersion, max_omega=55 * meV): # Ei = 70*meV, max_omega = 55 *meV, max_Q = 12 / angstrom, # nMCsteps_to_calc_RARV = 10000, # seed = None): base.__init__(self, dispersion) # self.Ei = Ei self.max_omega = max_omega # self.max_Q = max_Q # self.nMCsteps_to_calc_RARV = nMCsteps_to_calc_RARV # self.seed = seed return
def __init__( self, dw_core, scattering_xs=0., absorption_xs=0., ): base.__init__(self, dispersion=None) self.dw_core = dw_core self.scattering_xs = scattering_xs self.absorption_xs = absorption_xs return
def __init__(self, dispersion, max_omega = 55*meV ): # Ei = 70*meV, max_omega = 55 *meV, max_Q = 12 / angstrom, # nMCsteps_to_calc_RARV = 10000, # seed = None): base.__init__(self, dispersion) # self.Ei = Ei self.max_omega = max_omega # self.max_Q = max_Q # self.nMCsteps_to_calc_RARV = nMCsteps_to_calc_RARV # self.seed = seed return
def __init__( self, dos, average_mass = 0., scattering_xs = 0., absorption_xs = 0. ): """ average_mass, scattering_xs, absorption_xs: if 0, will compute from unitcell otherwise, must have appropriate units attached """ base.__init__(self, dispersion=None) self.dos = dos self.average_mass = average_mass self.scattering_xs = scattering_xs self.absorption_xs = absorption_xs return
def __init__( self, dos=None, Qmax=None, scattering_xs = None, absorption_xs = None, average_mass = None, Nmax = None, ): base.__init__(self, dispersion=None) self.dos = dos self.Qmax = Qmax self.average_mass = average_mass self.scattering_xs = scattering_xs self.absorption_xs = absorption_xs self.Nmax = Nmax or 8 return
def __init__(self, dispersion): base.__init__(self, dispersion) return