EOS classes

O2sclpy

Class eos_base

class o2sclpy.eos_base(pointer=0)

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

abstract __init__(pointer=0)

Init function for class eos_base

Parameters:
pointer ctypes.c_void_p pointer
__del__()

Delete function for class eos_base

__copy__()

Shallow copy function for class eos_base

Returns: eos_base object

get_def_thermo()

Get object of type o2scl::thermo

set_def_thermo(value)

Set object of type o2scl::thermo

Class eos_leptons

class o2sclpy.eos_leptons(pointer=0)

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

__init__(pointer=0)

Init function for class eos_leptons

Parameters:
pointer ctypes.c_void_p pointer
__del__()

Delete function for class eos_leptons

__copy__()

Shallow copy function for class eos_leptons

Returns: eos_leptons object

default_acc()
property err_nonconv

Property of type ctypes.c_bool

fp_25_acc()
get_e()

Get object of type o2scl::fermion

get_ed()

Get object of type o2scl::part_deriv_press

get_frel()

Get object of type o2scl::fermion_rel

get_mu()

Get object of type o2scl::fermion

get_mud()

Get object of type o2scl::part_deriv_press

get_ph()

Get object of type o2scl::boson

get_phd()

Get object of type o2scl::part_deriv_press

get_th()

Get object of type o2scl::thermo

improved_acc()
property include_deriv

Property of type ctypes.c_bool

property include_muons

Property of type ctypes.c_bool

ld_acc()
pair_density(T)
Parameters:
T: double
Returns: a Python int
pair_density_eq(nq, T)
Parameters:
nq: double
T: double
Returns: a Python int
pair_mu(T)
Parameters:
T: double
Returns: a Python int
pair_mu_eq(T)
Parameters:
T: double
Returns: a Python int
property pde_from_density

Property of type ctypes.c_bool

set_e(value)

Set object of type o2scl::fermion

set_ed(value)

Set object of type o2scl::part_deriv_press

set_frel(value)

Set object of type o2scl::fermion_rel

set_mu(value)

Set object of type o2scl::fermion

set_mud(value)

Set object of type o2scl::part_deriv_press

set_ph(value)

Set object of type o2scl::boson

set_phd(value)

Set object of type o2scl::part_deriv_press

set_th(value)

Set object of type o2scl::thermo

property verbose

Property of type ctypes.c_int

Class eos_had_base

class o2sclpy.eos_had_base(pointer=0)

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

abstract __init__(pointer=0)

Init function for class eos_had_base

Parameters:
pointer ctypes.c_void_p pointer
__del__()

Delete function for class eos_had_base

__copy__()

Shallow copy function for class eos_had_base

Returns: eos_had_base object

calc_dmu_delta(nb, delta)
Parameters:
nb: double
delta: double
Returns: a Python float
calc_e(n, p, th)
Parameters:
n: o2scl::fermion object
p: o2scl::fermion object
th: o2scl::thermo object
Returns: a Python int
calc_ed(nn, np)
Parameters:
nn: double
np: double
Returns: a Python float
calc_edensity_nb(nb, delta)
Parameters:
nb: double
delta: double
Returns: a Python float
calc_mun_e(nn, np)
Parameters:
nn: double
np: double
Returns: a Python float
calc_mup_e(nn, np)
Parameters:
nn: double
np: double
Returns: a Python float
calc_musum_delta(nb, delta)
Parameters:
nb: double
delta: double
Returns: a Python float
calc_nn_p(mun, mup)
Parameters:
mun: double
mup: double
Returns: a Python float
calc_np_p(nn, mup)
Parameters:
nn: double
mup: double
Returns: a Python float
calc_p(n, p, th)
Parameters:
n: o2scl::fermion object
p: o2scl::fermion object
th: o2scl::thermo object
Returns: a Python int
calc_pr(nn, np)
Parameters:
nn: double
np: double
Returns: a Python float
calc_pressure_nb(nb, delta)
Parameters:
nb: double
delta: double
Returns: a Python float
property comp

Property of type ctypes.c_double

property eoa

Property of type ctypes.c_double

property err_nonconv

Property of type ctypes.c_bool

property esym

Property of type ctypes.c_double

f_effm_neut(nb, delta=0.0)
Parameters:
nb: double
delta =0.0: double
Returns: a Python float
f_effm_prot(nb, delta=0.0)
Parameters:
nb: double
delta =0.0: double
Returns: a Python float
f_effm_scalar(nb, delta)
Parameters:
nb: double
delta: double
Returns: a Python float
f_effm_vector(nb, delta)
Parameters:
nb: double
delta: double
Returns: a Python float
f_inv_number_suscept(mun, mup)
Parameters:
mun: double
mup: double
Returns: , a Python float, a Python float, a Python float
f_number_suscept(mun, mup)
Parameters:
mun: double
mup: double
Returns: , a Python float, a Python float, a Python float
fcomp(nb, delta=0.0)
Parameters:
nb: double
delta =0.0: double
Returns: a Python float
fcomp_err(nb, delta)
Parameters:
nb: double
delta: double
Returns: a Python float, a Python float
feoa(nb, delta=0.0)
Parameters:
nb: double
delta =0.0: double
Returns: a Python float
fesym(nb, delta=0.0)
Parameters:
nb: double
delta =0.0: double
Returns: a Python float
fesym_curve(nb, delta=0.0)
Parameters:
nb: double
delta =0.0: double
Returns: a Python float
fesym_diff(nb)
Parameters:
nb: double
Returns: a Python float
fesym_err(nb, delta)
Parameters:
nb: double
delta: double
Returns: a Python float, a Python float
fesym_skew(nb, delta=0.0)
Parameters:
nb: double
delta =0.0: double
Returns: a Python float
fesym_slope(nb, delta=0.0)
Parameters:
nb: double
delta =0.0: double
Returns: a Python float
feta(nb)
Parameters:
nb: double
Returns: a Python float
feta_prime(nb)
Parameters:
nb: double
Returns: a Python float
fkprime(nb, delta=0.0)
Parameters:
nb: double
delta =0.0: double
Returns: a Python float
fmsom(nb, delta=0.0)
Parameters:
nb: double
delta =0.0: double
Returns: a Python float
fn0(delta)
Parameters:
delta: double
Returns: a Python int, a Python float, a Python float
get_def_neutron()

Get object of type o2scl::fermion

get_def_proton()

Get object of type o2scl::fermion

property kprime

Property of type ctypes.c_double

property msom

Property of type ctypes.c_double

property n0

Property of type ctypes.c_double

saturation()
Returns: a Python int
set_def_neutron(value)

Set object of type o2scl::fermion

set_def_proton(value)

Set object of type o2scl::fermion

Class eos_had_eden_base

class o2sclpy.eos_had_eden_base(pointer=0)

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

abstract __init__(pointer=0)

Init function for class eos_had_eden_base

Parameters:
pointer ctypes.c_void_p pointer
__del__()

Delete function for class eos_had_eden_base

__copy__()

Shallow copy function for class eos_had_eden_base

Returns: eos_had_eden_base object

Class eos_had_pres_base

class o2sclpy.eos_had_pres_base(pointer=0)

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

abstract __init__(pointer=0)

Init function for class eos_had_pres_base

Parameters:
pointer ctypes.c_void_p pointer
__del__()

Delete function for class eos_had_pres_base

__copy__()

Shallow copy function for class eos_had_pres_base

Returns: eos_had_pres_base object

Class eos_had_temp_base

class o2sclpy.eos_had_temp_base(pointer=0)

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

abstract __init__(pointer=0)

Init function for class eos_had_temp_base

Parameters:
pointer ctypes.c_void_p pointer
__del__()

Delete function for class eos_had_temp_base

__copy__()

Shallow copy function for class eos_had_temp_base

Returns: eos_had_temp_base object

calc_temp_e(n, p, T, th)
Parameters:
n: fermion object
p: fermion object
T: double
th: thermo object
Returns: a Python int
calc_temp_p(n, p, T, th)
Parameters:
n: fermion object
p: fermion object
T: double
th: thermo object
Returns: a Python int

Class eos_had_temp_eden_base

class o2sclpy.eos_had_temp_eden_base(pointer=0)

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

abstract __init__(pointer=0)

Init function for class eos_had_temp_eden_base

Parameters:
pointer ctypes.c_void_p pointer
__del__()

Delete function for class eos_had_temp_eden_base

__copy__()

Shallow copy function for class eos_had_temp_eden_base

Returns: eos_had_temp_eden_base object

Class eos_had_temp_pres_base

class o2sclpy.eos_had_temp_pres_base(pointer=0)

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

abstract __init__(pointer=0)

Init function for class eos_had_temp_pres_base

Parameters:
pointer ctypes.c_void_p pointer
__del__()

Delete function for class eos_had_temp_pres_base

__copy__()

Shallow copy function for class eos_had_temp_pres_base

Returns: eos_had_temp_pres_base object

Class eos_had_skyrme

class o2sclpy.eos_had_skyrme(pointer=0)

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

__init__(pointer=0)

Init function for class eos_had_skyrme

Parameters:
pointer ctypes.c_void_p pointer
__del__()

Delete function for class eos_had_skyrme

__copy__()

Shallow copy function for class eos_had_skyrme

Returns: eos_had_skyrme object

property W0

Property of type ctypes.c_double

property a

Property of type ctypes.c_double

property alpha

Property of type ctypes.c_double

property b

Property of type ctypes.c_double

property b4

Property of type ctypes.c_double

property b4p

Property of type ctypes.c_double

get_nrfd()

Get object of type o2scl::fermion_deriv_nr

get_reference()

Get byte array object.

property parent_method

Property of type ctypes.c_bool

set_nrfd(value)

Set object of type o2scl::fermion_deriv_nr

set_reference(value)

Set object from byte array

property t0

Property of type ctypes.c_double

property t1

Property of type ctypes.c_double

property t2

Property of type ctypes.c_double

property t3

Property of type ctypes.c_double

property x0

Property of type ctypes.c_double

property x1

Property of type ctypes.c_double

property x2

Property of type ctypes.c_double

property x3

Property of type ctypes.c_double

Class eos_had_apr

class o2sclpy.eos_had_apr(pointer=0)

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

__init__(pointer=0)

Init function for class eos_had_apr

Parameters:
pointer ctypes.c_void_p pointer
__del__()

Delete function for class eos_had_apr

__copy__()

Shallow copy function for class eos_had_apr

Returns: eos_had_apr object

property parent_method

Property of type ctypes.c_bool

property pion

Property of type ctypes.c_int

Class eos_had_rmf

class o2sclpy.eos_had_rmf(pointer=0)

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

__init__(pointer=0)

Init function for class eos_had_rmf

Parameters:
pointer ctypes.c_void_p pointer
__del__()

Delete function for class eos_had_rmf

__copy__()

Shallow copy function for class eos_had_rmf

Returns: eos_had_rmf object

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 a4

Property of type ctypes.c_double

property a5

Property of type ctypes.c_double

property a6

Property of type ctypes.c_double

property b

Property of type ctypes.c_double

property b1

Property of type ctypes.c_double

property b2

Property of type ctypes.c_double

property b3

Property of type ctypes.c_double

property c

Property of type ctypes.c_double

property calc_e_relative

Property of type ctypes.c_bool

property calc_e_steps

Property of type ctypes.c_size_t

property cr

Property of type ctypes.c_double

property cs

Property of type ctypes.c_double

property cw

Property of type ctypes.c_double

get_fields()
Parameters:
Returns: a Python int, a Python float, a Python float, a Python float
property mnuc

Property of type ctypes.c_double

property mr

Property of type ctypes.c_double

property ms

Property of type ctypes.c_double

property mw

Property of type ctypes.c_double

set_fields(sig, ome, rho)
Parameters:
sig: ctypes.c_double
ome: ctypes.c_double
rho: ctypes.c_double
Returns: a Python int, a Python float, a Python float, a Python float
property verbose

Property of type ctypes.c_int

property xi

Property of type ctypes.c_double

property zeta

Property of type ctypes.c_double

property zm_mode

Property of type ctypes.c_bool

Class eos_quark

class o2sclpy.eos_quark(pointer=0)

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

abstract __init__(pointer=0)

Init function for class eos_quark

Parameters:
pointer ctypes.c_void_p pointer
__del__()

Delete function for class eos_quark

__copy__()

Shallow copy function for class eos_quark

Returns: eos_quark object

Class eos_quark_bag

class o2sclpy.eos_quark_bag(pointer=0)

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

__init__(pointer=0)

Init function for class eos_quark_bag

Parameters:
pointer ctypes.c_void_p pointer
__del__()

Delete function for class eos_quark_bag

__copy__()

Shallow copy function for class eos_quark_bag

Returns: eos_quark_bag object

property bag_constant

Property of type ctypes.c_double

Class eos_quark_njl

class o2sclpy.eos_quark_njl(pointer=0)

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

__init__(pointer=0)

Init function for class eos_quark_njl

Parameters:
pointer ctypes.c_void_p pointer
__del__()

Delete function for class eos_quark_njl

__copy__()

Shallow copy function for class eos_quark_njl

Returns: eos_quark_njl object

property B0

Property of type ctypes.c_double

property G

Property of type ctypes.c_double

property K

Property of type ctypes.c_double

property L

Property of type ctypes.c_double

property from_qq

Property of type ctypes.c_bool

property limit

Property of type ctypes.c_double

Class eos_tov

class o2sclpy.eos_tov(pointer=0)

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

abstract __init__(pointer=0)

Init function for class eos_tov

Parameters:
pointer ctypes.c_void_p pointer
__del__()

Delete function for class eos_tov

__copy__()

Shallow copy function for class eos_tov

Returns: eos_tov object

ed_from_nb(nb)
Parameters:
nb: double
Returns: a Python float
ed_from_pr(pr)
Parameters:
pr: double
Returns: a Python float
ed_nb_from_pr(pr)
Parameters:
pr: double
Returns: , a Python float, a Python float
has_baryons()
Returns: a Python boolean
nb_from_ed(ed)
Parameters:
ed: double
Returns: a Python float
nb_from_pr(pr)
Parameters:
pr: double
Returns: a Python float
pr_from_ed(ed)
Parameters:
ed: double
Returns: a Python float
pr_from_nb(nb)
Parameters:
nb: double
Returns: a Python float
property verbose

Property of type ctypes.c_int

Class eos_tov_buchdahl

class o2sclpy.eos_tov_buchdahl(pointer=0)

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

__init__(pointer=0)

Init function for class eos_tov_buchdahl

Parameters:
pointer ctypes.c_void_p pointer
__del__()

Delete function for class eos_tov_buchdahl

__copy__()

Shallow copy function for class eos_tov_buchdahl

Returns: eos_tov_buchdahl object

property G_km_Msun

Property of type ctypes.c_double

property Pstar

Property of type ctypes.c_double

ed_from_r_gm(r, beta)
Parameters:
r: double
beta: double
Returns: a Python float
exp2lam_from_r_gm(r, beta)
Parameters:
r: double
beta: double
Returns: a Python float
exp2phi_from_r_gm(r, beta)
Parameters:
r: double
beta: double
Returns: a Python float
pr_from_r_gm(r, beta)
Parameters:
r: double
beta: double
Returns: a Python float
rad_from_gm(gm)
Parameters:
gm: double
Returns: a Python float
set_baryon_density(nb, ed)
Parameters:
nb: double
ed: double

Class eos_tov_polytrope

class o2sclpy.eos_tov_polytrope(pointer=0)

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

__init__(pointer=0)

Init function for class eos_tov_polytrope

Parameters:
pointer ctypes.c_void_p pointer
__del__()

Delete function for class eos_tov_polytrope

__copy__()

Shallow copy function for class eos_tov_polytrope

Returns: eos_tov_polytrope object

set_coeff_index(coeff, index)
Parameters:
coeff: double
index: double

Class eos_tov_linear

class o2sclpy.eos_tov_linear(pointer=0)

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

__init__(pointer=0)

Init function for class eos_tov_linear

Parameters:
pointer ctypes.c_void_p pointer
__del__()

Delete function for class eos_tov_linear

__copy__()

Shallow copy function for class eos_tov_linear

Returns: eos_tov_linear object

set_cs2_eps0(cs2, eps0)
Parameters:
cs2: double
eps0: double

Class eos_tov_interp

class o2sclpy.eos_tov_interp(pointer=0)

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

__init__(pointer=0)

Init function for class eos_tov_interp

Parameters:
pointer ctypes.c_void_p pointer
__del__()

Delete function for class eos_tov_interp

__copy__()

Shallow copy function for class eos_tov_interp

Returns: eos_tov_interp object

default_low_dens_eos()
property err_nonconv

Property of type ctypes.c_bool

gcp10_low_dens_eos(model='BSk20', external=False)
Parameters:
model =”BSk20”: byte array
external =false: bool
get_full_vece()

Get object of type std::vector

get_full_vecnb()

Get object of type std::vector

get_full_vecp()

Get object of type std::vector

ngl13_low_dens_eos(L, model='PNM', external=False)
Parameters:
L: double
model =”PNM”: byte array
external =false: bool
ngl13_low_dens_eos2(S, L, nt, fname='')
Parameters:
S: double
L: double
nt: double
fname =””: byte array
no_low_dens_eos()
read_table(eos, s_cole, s_colp, s_colnb='')
Parameters:
eos: table_units object
s_cole: byte array
s_colp: byte array
s_colnb =””: byte array
s12_low_dens_eos(model='SLy4', external=False)
Parameters:
model =”SLy4”: byte array
external =false: bool
set_full_vece(value)

Set object of type std::vector

set_full_vecnb(value)

Set object of type std::vector

set_full_vecp(value)

Set object of type std::vector

sho11_low_dens_eos()

Class tov_solve

class o2sclpy.tov_solve(pointer=0)

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

__init__(pointer=0)

Init function for class tov_solve

Parameters:
pointer ctypes.c_void_p pointer
__del__()

Delete function for class tov_solve

__copy__()

Shallow copy function for class tov_solve

Returns: tov_solve object

property ang_vel

Property of type ctypes.c_bool

property baryon_mass

Property of type ctypes.c_double

property bmass

Property of type ctypes.c_double

property buffer_size

Property of type ctypes.c_size_t

property calc_gpot

Property of type ctypes.c_bool

property domega_rat

Property of type ctypes.c_double

property err_nonconv

Property of type ctypes.c_bool

fixed(mass, pmax=1e+20)
Parameters:
mass: double
pmax =1.0e20: double
Returns: a Python int
fixed_pr(pcent, pmax=1e+20)
Parameters:
pcent: double
pmax =1.0e20: double
Returns: a Python int
property fixed_pr_guess

Property of type ctypes.c_double

property gen_rel

Property of type ctypes.c_bool

get_results()
property gpot

Property of type ctypes.c_double

property last_f

Property of type ctypes.c_double

property last_rjw

Property of type ctypes.c_double

property mass

Property of type ctypes.c_double

max()
Returns: a Python int
property max_begin

Property of type ctypes.c_double

property max_end

Property of type ctypes.c_double

property max_inc

Property of type ctypes.c_double

property max_integ_steps

Property of type ctypes.c_size_t

property max_table_size

Property of type ctypes.c_size_t

mvsr()
Returns: a Python int
property pcent_max

Property of type ctypes.c_double

property pmax_default

Property of type ctypes.c_double

property prbegin

Property of type ctypes.c_double

property prend

Property of type ctypes.c_double

property princ

Property of type ctypes.c_double

property rad

Property of type ctypes.c_double

property reformat_results

Property of type ctypes.c_bool

set_eos(eos)
Parameters:
eos: eos_tov object
property step_max

Property of type ctypes.c_double

property step_min

Property of type ctypes.c_double

property step_start

Property of type ctypes.c_double

property verbose

Property of type ctypes.c_int

Class tov_love

class o2sclpy.tov_love(pointer=0)

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

__init__(pointer=0)

Init function for class tov_love

Parameters:
pointer ctypes.c_void_p pointer
__del__()

Delete function for class tov_love

__copy__()

Shallow copy function for class tov_love

Returns: tov_love object

add_disc(rd)
Parameters:
rd: double
property addl_testing

Property of type ctypes.c_bool

calc_H()
Parameters:
Returns: a Python int, a Python float, a Python float, a Python float, a Python float, a Python float
calc_y(tabulate)
Parameters:
tabulate: bool
Returns: a Python int, a Python float, a Python float, a Python float, a Python float, a Python float
clear_discs()
property delta

Property of type ctypes.c_double

property eps

Property of type ctypes.c_double

property err_nonconv

Property of type ctypes.c_bool

get_results()

Get object of type table_units

get_tab(tab)

Object of type table_units

set_results(value)

Set object of type table_units

set_tab(value)

Set object of type table_units

property show_ode

Property of type ctypes.c_int

Class nstar_cold

class o2sclpy.nstar_cold(pointer=0)

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

__init__(pointer=0)

Init function for class nstar_cold

Parameters:
pointer ctypes.c_void_p pointer
__del__()

Delete function for class nstar_cold

__copy__()

Shallow copy function for class nstar_cold

Returns: nstar_cold object

property acausal_ed

Property of type ctypes.c_double

property acausal_nb

Property of type ctypes.c_double

property acausal_pr

Property of type ctypes.c_double

property allow_urca_nb

Property of type ctypes.c_double

calc_eos(np_0=0.0)
Parameters:
np_0 =0.0: double
Returns: a Python int
calc_nstar()
Returns: a Python int
property deny_urca_nb

Property of type ctypes.c_double

property dnb

Property of type ctypes.c_double

property eos_neg

Property of type ctypes.c_bool

property err_nonconv

Property of type ctypes.c_bool

fixed(target_mass)
Parameters:
target_mass: double
Returns: a Python int
get_def_tov()

Get object of type tov_solve

get_eos_results()
get_tov_results()
property include_muons

Property of type ctypes.c_bool

property max_row

Property of type ctypes.c_size_t

property nb_end

Property of type ctypes.c_double

property nb_start

Property of type ctypes.c_double

property pressure_dec_nb

Property of type ctypes.c_double

property remove_rows

Property of type ctypes.c_bool

set_eos(eos)
Parameters:
eos: eos_had_base object
property verbose

Property of type ctypes.c_int

Class nucleus_rmf

class o2sclpy.nucleus_rmf(pointer=0)

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

__init__(pointer=0)

Init function for class nucleus_rmf

Parameters:
pointer ctypes.c_void_p pointer
__del__()

Delete function for class nucleus_rmf

__copy__()

Shallow copy function for class nucleus_rmf

Returns: nucleus_rmf object

property etot

Property of type ctypes.c_double

get_chden()
get_profiles()
property r_charge

Property of type ctypes.c_double

property r_charge_cm

Property of type ctypes.c_double

property rnrms

Property of type ctypes.c_double

property rnrp

Property of type ctypes.c_double

property rprms

Property of type ctypes.c_double

run_nucleus(nucleus_Z, nucleus_N, unocc_Z, unocc_N)
Parameters:
nucleus_Z: int
nucleus_N: int
unocc_Z: int
unocc_N: int
Returns: a Python int
property stens

Property of type ctypes.c_double

Class nucmass_ldrop

class o2sclpy.nucmass_ldrop(pointer=0)

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

__init__(pointer=0)

Init function for class nucmass_ldrop

Parameters:
pointer ctypes.c_void_p pointer
__del__()

Delete function for class nucmass_ldrop

__copy__()

Shallow copy function for class nucmass_ldrop

Returns: nucmass_ldrop object

property Rn

Property of type ctypes.c_double

property Rp

Property of type ctypes.c_double

binding_energy_densmat(Z, N, npout, nnout, neout, T)
Parameters:
Z: double
N: double
npout: double
nnout: double
neout: double
T: double
Returns: a Python float
property bulk

Property of type ctypes.c_double

property coul

Property of type ctypes.c_double

property coul_coeff

Property of type ctypes.c_double

get_def_had_eos()

Get object of type eos_had_skyrme

get_def_neutron()

Get object of type fermion

get_def_proton()

Get object of type fermion

get_th()

Get object of type thermo

property large_vals_unphys

Property of type ctypes.c_bool

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
property n0

Property of type ctypes.c_double

property n1

Property of type ctypes.c_double

property nn

Property of type ctypes.c_double

property np

Property of type ctypes.c_double

set_def_had_eos(value)

Set object of type eos_had_skyrme

set_def_neutron(value)

Set object of type fermion

set_def_proton(value)

Set object of type fermion

set_eos_had_temp_base(uhe)
Parameters:
uhe: eos_had_temp_base object
Returns: a Python int
set_n_and_p(un, up)
Parameters:
un: fermion object
up: fermion object
set_th(value)

Set object of type thermo

property surf

Property of type ctypes.c_double

property surften

Property of type ctypes.c_double

Class nucmass_ldrop_skin

class o2sclpy.nucmass_ldrop_skin(pointer=0)

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

__init__(pointer=0)

Init function for class nucmass_ldrop_skin

Parameters:
pointer ctypes.c_void_p pointer
__del__()

Delete function for class nucmass_ldrop_skin

__copy__()

Shallow copy function for class nucmass_ldrop_skin

Returns: nucmass_ldrop_skin object

property Tchalf

Property of type ctypes.c_double

property a0

Property of type ctypes.c_double

property a2

Property of type ctypes.c_double

property a4

Property of type ctypes.c_double

property doi

Property of type ctypes.c_double

property full_surface

Property of type ctypes.c_bool

property new_skin_mode

Property of type ctypes.c_bool

property pp

Property of type ctypes.c_double

property rel_vacuum

Property of type ctypes.c_bool

property ss

Property of type ctypes.c_double

Class nucmass_ldrop_pair

class o2sclpy.nucmass_ldrop_pair(pointer=0)

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

__init__(pointer=0)

Init function for class nucmass_ldrop_pair

Parameters:
pointer ctypes.c_void_p pointer
__del__()

Delete function for class nucmass_ldrop_pair

__copy__()

Shallow copy function for class nucmass_ldrop_pair

Returns: nucmass_ldrop_pair object

property Epair

Property of type ctypes.c_double

property pair

Property of type ctypes.c_double

Class nucleus_bin

class o2sclpy.nucleus_bin(pointer=0)

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

__init__(pointer=0)

Init function for class nucleus_bin

Parameters:
pointer ctypes.c_void_p pointer
__del__()

Delete function for class nucleus_bin

__copy__()

Shallow copy function for class nucleus_bin

Returns: nucleus_bin object

get_ame03()

Get object of type nucmass_ame

get_ame03round()

Get object of type nucmass_ame

get_ame12()

Get object of type nucmass_ame

get_ame16()

Get object of type nucmass_ame

get_ame20exp()

Get object of type nucmass_ame

get_ame20round()

Get object of type nucmass_ame

get_ame95exp()

Get object of type nucmass_ame

get_ame95rmd()

Get object of type nucmass_ame

get_ddme2()

Get object of type nucmass_gen

get_ddmed()

Get object of type nucmass_gen

get_ddpc1()

Get object of type nucmass_gen

get_dz()

Get object of type nucmass_dz_table

get_hfb14()

Get object of type nucmass_hfb

get_hfb14_v0()

Get object of type nucmass_hfb

get_hfb17()

Get object of type nucmass_hfb_sp

get_hfb2()

Get object of type nucmass_hfb

get_hfb21()

Get object of type nucmass_hfb_sp

get_hfb22()

Get object of type nucmass_hfb_sp

get_hfb23()

Get object of type nucmass_hfb_sp

get_hfb24()

Get object of type nucmass_hfb_sp

get_hfb25()

Get object of type nucmass_hfb_sp

get_hfb26()

Get object of type nucmass_hfb_sp

get_hfb27()

Get object of type nucmass_hfb_sp

get_hfb8()

Get object of type nucmass_hfb

get_kt()

Get object of type nucmass_ktuy

get_kt2()

Get object of type nucmass_ktuy

get_m16()

Get object of type nucmass_mnmsk

get_m95()

Get object of type nucmass_mnmsk

get_nl3s()

Get object of type nucmass_gen

get_sdnp1()

Get object of type nucmass_sdnp

get_sdnp2()

Get object of type nucmass_sdnp

get_sdnp3()

Get object of type nucmass_sdnp

get_skms()

Get object of type nucmass_gen

get_skp()

Get object of type nucmass_gen

get_sly4()

Get object of type nucmass_gen

get_sv_min()

Get object of type nucmass_gen

get_unedf0()

Get object of type nucmass_gen

get_unedf1()

Get object of type nucmass_gen

get_wlw1()

Get object of type nucmass_wlw

get_wlw2()

Get object of type nucmass_wlw

get_wlw3()

Get object of type nucmass_wlw

get_wlw4()

Get object of type nucmass_wlw

get_wlw5()

Get object of type nucmass_wlw

set_ame03(value)

Set object of type nucmass_ame

set_ame03round(value)

Set object of type nucmass_ame

set_ame12(value)

Set object of type nucmass_ame

set_ame16(value)

Set object of type nucmass_ame

set_ame20exp(value)

Set object of type nucmass_ame

set_ame20round(value)

Set object of type nucmass_ame

set_ame95exp(value)

Set object of type nucmass_ame

set_ame95rmd(value)

Set object of type nucmass_ame

set_ddme2(value)

Set object of type nucmass_gen

set_ddmed(value)

Set object of type nucmass_gen

set_ddpc1(value)

Set object of type nucmass_gen

set_dz(value)

Set object of type nucmass_dz_table

set_hfb14(value)

Set object of type nucmass_hfb

set_hfb14_v0(value)

Set object of type nucmass_hfb

set_hfb17(value)

Set object of type nucmass_hfb_sp

set_hfb2(value)

Set object of type nucmass_hfb

set_hfb21(value)

Set object of type nucmass_hfb_sp

set_hfb22(value)

Set object of type nucmass_hfb_sp

set_hfb23(value)

Set object of type nucmass_hfb_sp

set_hfb24(value)

Set object of type nucmass_hfb_sp

set_hfb25(value)

Set object of type nucmass_hfb_sp

set_hfb26(value)

Set object of type nucmass_hfb_sp

set_hfb27(value)

Set object of type nucmass_hfb_sp

set_hfb8(value)

Set object of type nucmass_hfb

set_kt(value)

Set object of type nucmass_ktuy

set_kt2(value)

Set object of type nucmass_ktuy

set_m16(value)

Set object of type nucmass_mnmsk

set_m95(value)

Set object of type nucmass_mnmsk

set_nl3s(value)

Set object of type nucmass_gen

set_sdnp1(value)

Set object of type nucmass_sdnp

set_sdnp2(value)

Set object of type nucmass_sdnp

set_sdnp3(value)

Set object of type nucmass_sdnp

set_skms(value)

Set object of type nucmass_gen

set_skp(value)

Set object of type nucmass_gen

set_sly4(value)

Set object of type nucmass_gen

set_sv_min(value)

Set object of type nucmass_gen

set_unedf0(value)

Set object of type nucmass_gen

set_unedf1(value)

Set object of type nucmass_gen

set_wlw1(value)

Set object of type nucmass_wlw

set_wlw2(value)

Set object of type nucmass_wlw

set_wlw3(value)

Set object of type nucmass_wlw

set_wlw4(value)

Set object of type nucmass_wlw

set_wlw5(value)

Set object of type nucmass_wlw

Function skyrme_load

o2sclpy.skyrme_load(sk, model, external, verbose)
Parameters:
sk: eos_had_skyrme object
model: string
external: bool
verbose: int

Function rmf_load

o2sclpy.rmf_load(rmf, model, external)
Parameters:
rmf: eos_had_rmf object
model: string
external: bool