conflux.bsg.Functions
Functions
|
Get estimate for stable mass number as a function of Z |
|
Return nuclear charge radius in fm according to Elton formula |
|
Turn string of possible spin-parities into |
|
Determine degree of forbiddenness and uniqueness |
|
Rough rebinning to downsample y2 to grid of x1 |
|
Downsample (x2, y2) to (x1, new y) |
Module Contents
- conflux.bsg.Functions.stableA(Z)
Get estimate for stable mass number as a function of Z
- conflux.bsg.Functions.getEltonNuclearRadius(A, natUnits=False)
Return nuclear charge radius in fm according to Elton formula
- Parameters:
A – mass number
natUnits – return result in units where m_e=hbar=c=1 (Default value = False)
- conflux.bsg.Functions.getDJpi(Jpi)
Turn string of possible spin-parities into (double of spin, parity)
- Parameters:
Jpi – string, spin-parities
- conflux.bsg.Functions.determineForbiddenness(mJpi, dJpi)
Determine degree of forbiddenness and uniqueness returns (deltaJ[int], forbiddenness[int], unique[bool])
- Parameters:
mJpi – string, mother spin and parity
dJpi – string, daughter spin and parity
- conflux.bsg.Functions.rebin(x1, x2, y2)
Rough rebinning to downsample y2 to grid of x1
- Parameters:
x1 – array, x values to rebin to
x2 – array, initial x values
y2 – array, initial y values
- conflux.bsg.Functions.downsample(x1, x2, y2, method='linear', fillValue=0.0, axis=0)
Downsample (x2, y2) to (x1, new y)
- Parameters:
x1 – array, target x range
x2 – array, initial x range
y2 – array, initial y range
method – interpolation method (Default value = ‘linear’)
fillValue – default value outside of range (Default value = 0.)