HDF5 classes from O2scl¶
Class hdf_file¶
- class o2sclpy.hdf_file(link, pointer=0)¶
Python interface for O2scl class
hdf_file
, See https://awsteiner.org/code/o2scl/html/class/hdf_file.html .- __init__(link, pointer=0)¶
Init function for class hdf_file
- __del__()¶
Delete function for class hdf_file
- __copy__()¶
Shallow copy function for class hdf_file
Returns: hdf_file object
- close()¶
- property compr_type¶
Property of type
ctypes.c_int
- copy(verbose, hf2)¶
- file_list(verbose)¶
- Parameters:verbose:
int
- find_object_by_name(name, type, use_regex=False, verbose=0)¶
- Parameters:name: stringtype:
std_string
objectuse_regex =false:bool
verbose =0:int
Returns: a Python int
- find_object_by_pattern(pattern, type, use_regex=False, verbose=0)¶
- Parameters:pattern: stringtype:
std_string
objectuse_regex =false:bool
verbose =0:int
Returns: a Python int
- find_object_by_type(type, name, use_regex=False, verbose=0)¶
- Parameters:type: stringname:
std_string
objectuse_regex =false:bool
verbose =0:int
Returns: a Python int
- get_szt(name)¶
- Parameters:name: stringReturns: a Python int, a Python int
- get_szt_def(name, deft)¶
- Parameters:name: stringdeft:
size_t
Returns: a Python int, a Python int
- get_szt_ten(name, t)¶
- get_szt_vec(name, v)¶
- getc(name)¶
- Parameters:name: stringReturns: a Python int, a Python obj
- getc_def(name, deft)¶
- Parameters:name: stringdeft:
char
Returns: a Python int, a Python obj
- getd(name)¶
- Parameters:name: stringReturns: a Python int, a Python float
- getd_def(name, deft)¶
- Parameters:name: stringdeft:
double
Returns: a Python int, a Python float
- getd_mat_copy(name, m)¶
- getd_ten(name, t)¶
- getd_vec(name, v)¶
- geti(name)¶
- Parameters:name: stringReturns: a Python int, a Python int
- geti_def(name, deft)¶
- Parameters:name: stringdeft:
int
Returns: a Python int, a Python int
- geti_mat_copy(name, m)¶
- geti_ten(name, t)¶
- geti_vec(name, v)¶
- gets(name, s)¶
- gets_def(name, deft, s)¶
- gets_def_fixed(name, deft, s)¶
- gets_fixed(name, s)¶
- gets_var(name, s)¶
- gets_vec_copy(name, s)¶
- has_write_access()¶
- Returns: a Python boolean
- property min_compr_size¶
Property of type
ctypes.c_size_t
- open(fname, write_access=False, err_on_fail=True)¶
- Parameters:fname: stringwrite_access =false:
bool
err_on_fail =true:bool
- open_or_create(fname)¶
- Parameters:fname: string
- set_szt(name, u)¶
- Parameters:name: stringu:
size_t
- set_szt_ten(name, t)¶
- set_szt_vec(name, v)¶
- setc(name, c)¶
- Parameters:name: stringc:
char
- setd(name, d)¶
- Parameters:name: stringd:
double
- setd_mat_copy(name, m)¶
- setd_ten(name, t)¶
- setd_vec(name, v)¶
- seti(name, i)¶
- Parameters:name: stringi:
int
- seti_mat_copy(name, m)¶
- seti_ten(name, t)¶
- seti_vec(name, v)¶
- sets(name, s)¶
- Parameters:name: strings: string
- sets_fixed(name, s)¶
- Parameters:name: strings: string
- sets_vec_copy(name, s)¶
Class acol_manager¶
- class o2sclpy.acol_manager(link, pointer=0)¶
Python interface for O2scl class
acol_manager
, See https://awsteiner.org/code/o2scl/html/class/acol_manager.html .- __init__(link, pointer=0)¶
Init function for class acol_manager
- __del__()¶
Delete function for class acol_manager
- __copy__()¶
Shallow copy function for class acol_manager
Returns: acol_manager object
- property char_obj¶
Property of type
ctypes.c_char
- command_add(new_type)¶
- Parameters:new_type: string
- command_del(ltype)¶
- Parameters:ltype: string
- property double_obj¶
Property of type
ctypes.c_double
- get_color_spec()¶
Get object of type
std::string
- get_command_color()¶
Get object of type
std::string
- get_cont_obj()¶
Get object of type
std::vector
- get_def_args()¶
Get object of type
std::string
- get_default_color()¶
Get object of type
std::string
- get_doublev_obj()¶
Get object of type
std::vector
- get_env_var_name()¶
Get object of type
std::string
- get_exec_color()¶
Get object of type
std::string
- get_help_color()¶
Get object of type
std::string
- get_intv_obj()¶
Get object of type
std::vector
- get_param_color()¶
Get object of type
std::string
- get_pdma_obj()¶
Get object of type
prob_dens_mdim_amr
- get_pdmg_obj()¶
Get object of type
prob_dens_mdim_gaussian
- get_size_tv_obj()¶
Get object of type
std::vector
- get_string_obj()¶
Get object of type
std::string
- get_stringv_obj()¶
Get object of type
std::vector
- get_table_obj()¶
Get object of type
table_units
- get_tensor_grid_obj()¶
Get object of type
tensor_grid
- get_tensor_int_obj()¶
Get object of type
tensor
- get_tensor_obj()¶
Get object of type
tensor
- get_tensor_size_t_obj()¶
Get object of type
tensor
- get_type()¶
Get object of type
std::string
- get_type_color()¶
Get object of type
std::string
- get_ug_obj()¶
Get object of type
uniform_grid
- get_url_color()¶
Get object of type
std::string
- get_vvdouble_obj()¶
Get object of type
std::vector
- get_vvstring_obj()¶
Get object of type
std::vector
- help_found(arg1, arg2)¶
- Parameters:arg1: stringarg2: stringReturns: a Python boolean
- property int_obj¶
Property of type
ctypes.c_int
- parse_vec_string(args)¶
- Parameters:args:
std_vector_string
object
- run_empty()¶
- Returns: a Python int
- set_color_spec(value)¶
Set object of type
std::string
- set_command_color(value)¶
Set object of type
std::string
- set_cont_obj(value)¶
Set object of type
std::vector
- set_def_args(value)¶
Set object of type
std::string
- set_default_color(value)¶
Set object of type
std::string
- set_doublev_obj(value)¶
Set object of type
std::vector
- set_env_var_name(value)¶
Set object of type
std::string
- set_exec_color(value)¶
Set object of type
std::string
- set_help_color(value)¶
Set object of type
std::string
- set_intv_obj(value)¶
Set object of type
std::vector
- set_param_color(value)¶
Set object of type
std::string
- set_pdma_obj(value)¶
Set object of type
prob_dens_mdim_amr
- set_pdmg_obj(value)¶
Set object of type
prob_dens_mdim_gaussian
- set_size_tv_obj(value)¶
Set object of type
std::vector
- set_string_obj(value)¶
Set object of type
std::string
- set_stringv_obj(value)¶
Set object of type
std::vector
- set_table_obj(value)¶
Set object of type
table_units
- set_tensor_grid_obj(value)¶
Set object of type
tensor_grid
- set_tensor_int_obj(value)¶
Set object of type
tensor
- set_tensor_obj(value)¶
Set object of type
tensor
- set_tensor_size_t_obj(value)¶
Set object of type
tensor
- set_type(value)¶
Set object of type
std::string
- set_type_color(value)¶
Set object of type
std::string
- set_ug_obj(value)¶
Set object of type
uniform_grid
- set_url_color(value)¶
Set object of type
std::string
- set_vvdouble_obj(value)¶
Set object of type
std::vector
- set_vvstring_obj(value)¶
Set object of type
std::vector
- property size_t_obj¶
Property of type
ctypes.c_size_t
- validate_interp_type()¶
- Returns: a Python int
- property verbose¶
Property of type
ctypes.c_int
Class cloud_file¶
- class o2sclpy.cloud_file(link, pointer=0)¶
Python interface for O2scl class
cloud_file
, See https://awsteiner.org/code/o2scl/html/class/cloud_file.html .- __init__(link, pointer=0)¶
Init function for class cloud_file
- __del__()¶
Delete function for class cloud_file
- __copy__()¶
Shallow copy function for class cloud_file
Returns: cloud_file object
- property allow_curl¶
Property of type
ctypes.c_bool
- property allow_wget¶
Property of type
ctypes.c_bool
- get_file(file, url, dir='')¶
- Parameters:file: stringurl: stringdir =””: stringReturns: a Python int
- get_file_hash(file, url, hash='', dir='')¶
- Parameters:file: stringurl: stringhash =””: stringdir =””: stringReturns: a Python int
- property hash_type¶
Property of type
ctypes.c_int
- hdf5_open(hf, file, url, dir='')¶
- hdf5_open_hash(hf, file, url, hash='', dir='')¶
- Parameters:hf:
hdf_file
objectfile: stringurl: stringhash =””: stringdir =””: stringReturns: a Python int
- property throw_on_fail¶
Property of type
ctypes.c_bool
- property verbose¶
Property of type
ctypes.c_int
Function hdf_input_table¶
- o2sclpy.hdf_input_table(link, hf, t, name)¶
Function hdf_input_n_table¶
- o2sclpy.hdf_input_n_table(link, hf, t, name)¶
Function hdf_output_table¶
- o2sclpy.hdf_output_table(link, hf, t, name)¶
Function hdf_input_table_units¶
- o2sclpy.hdf_input_table_units(link, hf, t, name)¶
Function hdf_input_n_table_units¶
- o2sclpy.hdf_input_n_table_units(link, hf, t, name)¶
Function hdf_output_table_units¶
- o2sclpy.hdf_output_table_units(link, hf, t, name)¶
Function hdf_input_table3d¶
- o2sclpy.hdf_input_table3d(link, hf, t, name)¶
Function hdf_input_n_table3d¶
- o2sclpy.hdf_input_n_table3d(link, hf, t, name)¶
Function hdf_output_table3d¶
- o2sclpy.hdf_output_table3d(link, hf, t, name)¶
Function hdf_input_uniform_grid¶
- o2sclpy.hdf_input_uniform_grid(link, hf, t, name)¶
Function hdf_input_n_uniform_grid¶
- o2sclpy.hdf_input_n_uniform_grid(link, hf, t, name)¶
Function hdf_output_uniform_grid¶
- o2sclpy.hdf_output_uniform_grid(link, hf, t, name)¶
Function hdf_input_tensor_grid¶
- o2sclpy.hdf_input_tensor_grid(link, hf, t, name)¶
Function hdf_input_n_tensor_grid¶
- o2sclpy.hdf_input_n_tensor_grid(link, hf, t, name)¶
Function hdf_output_tensor_grid¶
- o2sclpy.hdf_output_tensor_grid(link, hf, t, name)¶
Function hdf_input_vector_contour_line¶
- o2sclpy.hdf_input_vector_contour_line(link, hf, v, name)¶
Function hdf_input_n_vector_contour_line¶
- o2sclpy.hdf_input_n_vector_contour_line(link, hf, v, name)¶
Function hdf_output_vector_contour_line¶
- o2sclpy.hdf_output_vector_contour_line(link, hf, v, name)¶
Function value_spec¶
Function vector_spec¶
Function strings_spec¶
Function vector_spec_v¶
- o2sclpy.vector_spec_v(link, spec)¶