NormalizationParameters¶
-
class
ompy.
NormalizationParameters
(name, _Model__isfrozen=False, D0=None, Gg=None, Sn=None, Jtarget=None, Emin=0.0, _Emax=None, steps=101, spincutModel=None, spincutPars=None)[source]¶ Bases:
ompy.Model
Storage for normalization parameters + some convenience functions
Attributes Summary
Average s-wave resonance spacing D0 [eV]
Max energy to integrate <Γγ> to
Min energy to integrate <Γγ> from
Total average radiative width [meV]
“Target” (A-1 nucleus) ground state spin
Neutron separation energy [MeV]
Spincut model
Parameters necessary for the spin cut model
Number of steps in energy grid
Methods Summary
E_grid
([retstep])Wrapps np.linspace creates linearly spaced array from Emin to Emax
asdict
()wrapper for dataclasses.asdict()
Returns a list of the names of the paramters
is_changed
([include, exclude])Verify that defaults arguments have been changed
load
(path)Loads own parameters from path
save
(path)Save the model parameters to path
Attributes Documentation
-
D0
= None¶ Average s-wave resonance spacing D0 [eV]
-
Emin
= 0.0¶ Min energy to integrate <Γγ> from
-
Gg
= None¶ Total average radiative width [meV]
-
Jtarget
= None¶ “Target” (A-1 nucleus) ground state spin
-
Sn
= None¶ Neutron separation energy [MeV]
-
spincutModel
= None¶ Spincut model
-
spincutPars
= None¶ Parameters necessary for the spin cut model
-
steps
= 101¶ Number of steps in energy grid
Methods Documentation
-
is_changed
(include=[], exclude=[])¶ Verify that defaults arguments have been changed
- Parameters
- Raises
ValueError – If parameters are still the default values
- Return type
None
-
load
(path)¶ Loads own parameters from path
-
save
(path)¶ Save the model parameters to path
- Parameters
path (Union[str, Path]) – The path
- Return type
None
-
D0
= None Average s-wave resonance spacing D0 [eV]
-
E_grid
(retstep=True)[source] Wrapps np.linspace creates linearly spaced array from Emin to Emax
-
property
Emax
Max energy to integrate <Γγ> to
- Return type
-
Emin
= 0.0 Min energy to integrate <Γγ> from
-
Gg
= None Total average radiative width [meV]
-
Jtarget
= None “Target” (A-1 nucleus) ground state spin
-
Sn
= None Neutron separation energy [MeV]
-
spincutModel
= None Spincut model
-
spincutPars
= None Parameters necessary for the spin cut model
-
steps
= 101 Number of steps in energy grid
-