Nuclei and nuclear mass classes

O2sclpy

Class nucleus

class o2sclpy.nucleus(link, pointer=0)

Python interface for O2scl class nucleus, See https://awsteiner.org/code/o2scl/html/class/nucleus.html .

__init__(link, pointer=0)

Init function for class nucleus

Parameters:
link linker object
pointer ctypes.c_void_p pointer
__del__()

Delete function for class nucleus

__copy__()

Shallow copy function for class nucleus

Returns: nucleus object

property A

Property of type ctypes.c_int

property N

Property of type ctypes.c_int

property Z

Property of type ctypes.c_int

property be

Property of type ctypes.c_double

property mex

Property of type ctypes.c_double

Class nucmass_info

class o2sclpy.nucmass_info(link, pointer=0)

Python interface for O2scl class nucmass_info, See https://awsteiner.org/code/o2scl/html/class/nucmass_info.html .

__init__(link, pointer=0)

Init function for class nucmass_info

Parameters:
link linker object
pointer ctypes.c_void_p pointer
__del__()

Delete function for class nucmass_info

__copy__()

Shallow copy function for class nucmass_info

Returns: nucmass_info object

Ztoel(Z)
Parameters:
Z: size_t
Returns: Python bytes object
Ztoname(Z)
Parameters:
Z: size_t
Returns: Python bytes object
eltoZ(el)
Parameters:
el: string
Returns: a Python int
int_to_spinp(g)
Parameters:
g: int
Returns: Python bytes object
parse_elstring(ela)
Parameters:
ela: string
Returns: a Python int, a Python int, a Python int, a Python int
spinp_to_int(s)
Parameters:
s: string
Returns: a Python int
tostring(Z, N)
Parameters:
Z: size_t
N: size_t
Returns: Python bytes object

Class nucmass

class o2sclpy.nucmass(link, pointer=0)

Python interface for O2scl class nucmass, See https://awsteiner.org/code/o2scl/html/class/nucmass.html .

abstract __init__(link, pointer=0)

Init function for class nucmass

Parameters:
link linker object
pointer ctypes.c_void_p pointer
__del__()

Delete function for class nucmass

__copy__()

Shallow copy function for class nucmass

Returns: nucmass object

atomic_mass(Z, N)
Parameters:
Z: int
N: int
Returns: a Python float
atomic_mass_d(Z, N)
Parameters:
Z: double
N: double
Returns: a Python float
binding_energy(Z, N)
Parameters:
Z: int
N: int
Returns: a Python float
binding_energy_d(Z, N)
Parameters:
Z: double
N: double
Returns: a Python float
electron_binding(Z)
Parameters:
Z: double
Returns: a Python float
get_nucleus(Z, N, n)
Parameters:
Z: int
N: int
n: nucleus object
Returns: a Python int
is_included(Z, N)
Parameters:
Z: int
N: int
Returns: a Python boolean
property m_amu

Property of type ctypes.c_double

property m_elec

Property of type ctypes.c_double

property m_neut

Property of type ctypes.c_double

property m_prot

Property of type ctypes.c_double

mass_excess(Z, N)
Parameters:
Z: int
N: int
Returns: a Python float
mass_excess_d(Z, N)
Parameters:
Z: double
N: double
Returns: a Python float
neutron_sep(Z, N)
Parameters:
Z: int
N: int
Returns: a Python float
proton_sep(Z, N)
Parameters:
Z: int
N: int
Returns: a Python float
total_mass(Z, N)
Parameters:
Z: int
N: int
Returns: a Python float
total_mass_d(Z, N)
Parameters:
Z: double
N: double
Returns: a Python float
two_neutron_sep(Z, N)
Parameters:
Z: int
N: int
Returns: a Python float
two_proton_sep(Z, N)
Parameters:
Z: int
N: int
Returns: a Python float

Class nucmass_table

class o2sclpy.nucmass_table(link, pointer=0)

Python interface for O2scl class nucmass_table, See https://awsteiner.org/code/o2scl/html/class/nucmass_table.html .

abstract __init__(link, pointer=0)

Init function for class nucmass_table

Parameters:
link linker object
pointer ctypes.c_void_p pointer
__del__()

Delete function for class nucmass_table

__copy__()

Shallow copy function for class nucmass_table

Returns: nucmass_table object

get_nentries()
Returns: a Python int
get_reference()

Get object of type std::string

is_loaded()
Returns: a Python boolean
property n

Property of type ctypes.c_size_t

set_reference(value)

Set object of type std::string

Class nucmass_fit_base

class o2sclpy.nucmass_fit_base(link, pointer=0)

Python interface for O2scl class nucmass_fit_base, See https://awsteiner.org/code/o2scl/html/class/nucmass_fit_base.html .

abstract __init__(link, pointer=0)

Init function for class nucmass_fit_base

Parameters:
link linker object
pointer ctypes.c_void_p pointer
__del__()

Delete function for class nucmass_fit_base

__copy__()

Shallow copy function for class nucmass_fit_base

Returns: nucmass_fit_base object

property nfit

Property of type ctypes.c_size_t

Class nucmass_semi_empirical

class o2sclpy.nucmass_semi_empirical(link, pointer=0)

Python interface for O2scl class nucmass_semi_empirical, See https://awsteiner.org/code/o2scl/html/class/nucmass_semi_empirical.html .

__init__(link, pointer=0)

Init function for class nucmass_semi_empirical

Parameters:
link linker object
pointer ctypes.c_void_p pointer
__del__()

Delete function for class nucmass_semi_empirical

__copy__()

Shallow copy function for class nucmass_semi_empirical

Returns: nucmass_semi_empirical object

property B

Property of type ctypes.c_double

property Ec

Property of type ctypes.c_double

property Epair

Property of type ctypes.c_double

property Ss

Property of type ctypes.c_double

property Sv

Property of type ctypes.c_double

mass_excess(Z, N)
Parameters:
Z: int
N: int
Returns: a Python float
mass_excess_d(Z, N)
Parameters:
Z: double
N: double
Returns: a Python float

Class nucmass_ame

class o2sclpy.nucmass_ame(link, pointer=0)

Python interface for O2scl class nucmass_ame, See https://awsteiner.org/code/o2scl/html/class/nucmass_ame.html .

__init__(link, pointer=0)

Init function for class nucmass_ame

Parameters:
link linker object
pointer ctypes.c_void_p pointer
__del__()

Delete function for class nucmass_ame

__copy__()

Shallow copy function for class nucmass_ame

Returns: nucmass_ame object

Class nucmass_dz_table

class o2sclpy.nucmass_dz_table(link, pointer=0)

Python interface for O2scl class nucmass_dz_table, See https://awsteiner.org/code/o2scl/html/class/nucmass_dz_table.html .

__init__(link, pointer=0)

Init function for class nucmass_dz_table

Parameters:
link linker object
pointer ctypes.c_void_p pointer
__del__()

Delete function for class nucmass_dz_table

__copy__()

Shallow copy function for class nucmass_dz_table

Returns: nucmass_dz_table object

Class nucmass_dz_fit

class o2sclpy.nucmass_dz_fit(link, pointer=0)

Python interface for O2scl class nucmass_dz_fit, See https://awsteiner.org/code/o2scl/html/class/nucmass_dz_fit.html .

__init__(link, pointer=0)

Init function for class nucmass_dz_fit

Parameters:
link linker object
pointer ctypes.c_void_p pointer
__del__()

Delete function for class nucmass_dz_fit

__copy__()

Shallow copy function for class nucmass_dz_fit

Returns: nucmass_dz_fit object

Class nucmass_dz_fit_33

class o2sclpy.nucmass_dz_fit_33(link, pointer=0)

Python interface for O2scl class nucmass_dz_fit_33, See https://awsteiner.org/code/o2scl/html/class/nucmass_dz_fit_33.html .

__init__(link, pointer=0)

Init function for class nucmass_dz_fit_33

Parameters:
link linker object
pointer ctypes.c_void_p pointer
__del__()

Delete function for class nucmass_dz_fit_33

__copy__()

Shallow copy function for class nucmass_dz_fit_33

Returns: nucmass_dz_fit_33 object

Class nucmass_frdm

class o2sclpy.nucmass_frdm(link, pointer=0)

Python interface for O2scl class nucmass_frdm, See https://awsteiner.org/code/o2scl/html/class/nucmass_frdm.html .

__init__(link, pointer=0)

Init function for class nucmass_frdm

Parameters:
link linker object
pointer ctypes.c_void_p pointer
__del__()

Delete function for class nucmass_frdm

__copy__()

Shallow copy function for class nucmass_frdm

Returns: nucmass_frdm object

property C

Property of type ctypes.c_double

property J

Property of type ctypes.c_double

property K

Property of type ctypes.c_double

property L

Property of type ctypes.c_double

property MH

Property of type ctypes.c_double

property Mn

Property of type ctypes.c_double

property Q

Property of type ctypes.c_double

property Rn

Property of type ctypes.c_double

property Rp

Property of type ctypes.c_double

property W

Property of type ctypes.c_double

property a

Property of type ctypes.c_double

property a1

Property of type ctypes.c_double

property a2

Property of type ctypes.c_double

property a3

Property of type ctypes.c_double

property aden

Property of type ctypes.c_double

property ael

Property of type ctypes.c_double

property amu

Property of type ctypes.c_double

property ca

Property of type ctypes.c_double

property e2

Property of type ctypes.c_double

property gamma

Property of type ctypes.c_double

property h

Property of type ctypes.c_double

property nn

Property of type ctypes.c_double

property np

Property of type ctypes.c_double

property r0

Property of type ctypes.c_double

property rmac

Property of type ctypes.c_double

property rp

Property of type ctypes.c_double

Class nucmass_mnmsk

class o2sclpy.nucmass_mnmsk(link, pointer=0)

Python interface for O2scl class nucmass_mnmsk, See https://awsteiner.org/code/o2scl/html/class/nucmass_mnmsk.html .

__init__(link, pointer=0)

Init function for class nucmass_mnmsk

Parameters:
link linker object
pointer ctypes.c_void_p pointer
__del__()

Delete function for class nucmass_mnmsk

__copy__()

Shallow copy function for class nucmass_mnmsk

Returns: nucmass_mnmsk object

Class nucmass_mnmsk_exp

class o2sclpy.nucmass_mnmsk_exp(link, pointer=0)

Python interface for O2scl class nucmass_mnmsk_exp, See https://awsteiner.org/code/o2scl/html/class/nucmass_mnmsk_exp.html .

__init__(link, pointer=0)

Init function for class nucmass_mnmsk_exp

Parameters:
link linker object
pointer ctypes.c_void_p pointer
__del__()

Delete function for class nucmass_mnmsk_exp

__copy__()

Shallow copy function for class nucmass_mnmsk_exp

Returns: nucmass_mnmsk_exp object

Class nucmass_gen

class o2sclpy.nucmass_gen(link, pointer=0)

Python interface for O2scl class nucmass_gen, See https://awsteiner.org/code/o2scl/html/class/nucmass_gen.html .

__init__(link, pointer=0)

Init function for class nucmass_gen

Parameters:
link linker object
pointer ctypes.c_void_p pointer
__del__()

Delete function for class nucmass_gen

__copy__()

Shallow copy function for class nucmass_gen

Returns: nucmass_gen object

Class nucmass_dglg

class o2sclpy.nucmass_dglg(link, pointer=0)

Python interface for O2scl class nucmass_dglg, See https://awsteiner.org/code/o2scl/html/class/nucmass_dglg.html .

__init__(link, pointer=0)

Init function for class nucmass_dglg

Parameters:
link linker object
pointer ctypes.c_void_p pointer
__del__()

Delete function for class nucmass_dglg

__copy__()

Shallow copy function for class nucmass_dglg

Returns: nucmass_dglg object

Class nucmass_hfb

class o2sclpy.nucmass_hfb(link, pointer=0)

Python interface for O2scl class nucmass_hfb, See https://awsteiner.org/code/o2scl/html/class/nucmass_hfb.html .

__init__(link, pointer=0)

Init function for class nucmass_hfb

Parameters:
link linker object
pointer ctypes.c_void_p pointer
__del__()

Delete function for class nucmass_hfb

__copy__()

Shallow copy function for class nucmass_hfb

Returns: nucmass_hfb object

Class nucmass_hfb_sp

class o2sclpy.nucmass_hfb_sp(link, pointer=0)

Python interface for O2scl class nucmass_hfb_sp, See https://awsteiner.org/code/o2scl/html/class/nucmass_hfb_sp.html .

__init__(link, pointer=0)

Init function for class nucmass_hfb_sp

Parameters:
link linker object
pointer ctypes.c_void_p pointer
__del__()

Delete function for class nucmass_hfb_sp

__copy__()

Shallow copy function for class nucmass_hfb_sp

Returns: nucmass_hfb_sp object

Class nucmass_ktuy

class o2sclpy.nucmass_ktuy(link, pointer=0)

Python interface for O2scl class nucmass_ktuy, See https://awsteiner.org/code/o2scl/html/class/nucmass_ktuy.html .

__init__(link, pointer=0)

Init function for class nucmass_ktuy

Parameters:
link linker object
pointer ctypes.c_void_p pointer
__del__()

Delete function for class nucmass_ktuy

__copy__()

Shallow copy function for class nucmass_ktuy

Returns: nucmass_ktuy object

Class nucmass_sdnp

class o2sclpy.nucmass_sdnp(link, pointer=0)

Python interface for O2scl class nucmass_sdnp, See https://awsteiner.org/code/o2scl/html/class/nucmass_sdnp.html .

__init__(link, pointer=0)

Init function for class nucmass_sdnp

Parameters:
link linker object
pointer ctypes.c_void_p pointer
__del__()

Delete function for class nucmass_sdnp

__copy__()

Shallow copy function for class nucmass_sdnp

Returns: nucmass_sdnp object

Class nucmass_wlw

class o2sclpy.nucmass_wlw(link, pointer=0)

Python interface for O2scl class nucmass_wlw, See https://awsteiner.org/code/o2scl/html/class/nucmass_wlw.html .

__init__(link, pointer=0)

Init function for class nucmass_wlw

Parameters:
link linker object
pointer ctypes.c_void_p pointer
__del__()

Delete function for class nucmass_wlw

__copy__()

Shallow copy function for class nucmass_wlw

Returns: nucmass_wlw object

Function ame_load

o2sclpy.ame_load(link, ame, name, exp_only)
Parameters:
link linker object
ame: nucmass_ame object
name: string
exp_only: bool

Function ame_load_ext

o2sclpy.ame_load_ext(link, ame, file_name, table_name, exp_only)
Parameters:
link linker object
ame: nucmass_ame object
file_name: string
table_name: string
exp_only: bool

Function mnmsk_load

o2sclpy.mnmsk_load(link, mnmsk, model, filename)
Parameters:
link linker object
mnmsk: nucmass_mnmsk object
model: string
filename: string

Function hfb_load

o2sclpy.hfb_load(link, hfb, model, filename)
Parameters:
link linker object
hfb: nucmass_hfb object
model: size_t
filename: string

Function hfb_sp_load

o2sclpy.hfb_sp_load(link, hfb, model, filename)
Parameters:
link linker object
hfb: nucmass_hfb_sp object
model: size_t
filename: string