HDF Reader Module#

class nexus.hdfreader.HDFglobals(*vars, **kwargs)[source]#

Bases: DevBase

Methods

append(value)

class_error(message[, header, exit, trace, ...])

Report an error relating to a class.

error(message[, header, exit, trace])

Report an error inside a class.

first()

keys()

list(*keys)

open_log(filepath)

save([fpath])

sorted_keys()

warn(msg[, indent])

Warning from inside a Nexus class.

add

add_optional

check_required

check_types

check_types_optional

class_get

class_has

class_items

class_keys

class_log

class_set

class_set_optional

class_set_single

class_warn

clear

close_log

copy

copy_from

copy_to

data_repr

delete

delete_optional

delete_required

dict

extract

extract_optional

get

get_optional

get_path

get_required

inverse

items

last

list_optional

load

log

move_from

move_from_optional

move_to

move_to_optional

not_implemented

obj

path_exists

random_key

select_random

serial

set

set_optional

set_path

shallow_copy

to_dict

to_obj

transfer_from

transfer_to

tree

tuple

values

write

view = False#
class nexus.hdfreader.HDFgroup[source]#

Bases: DevBase

Methods

append(value)

class_error(message[, header, exit, trace, ...])

Report an error relating to a class.

error(message[, header, exit, trace])

Report an error inside a class.

first()

keys()

list(*keys)

open_log(filepath)

read_arrays()

save([fpath])

sorted_keys()

warn(msg[, indent])

Warning from inside a Nexus class.

accumulate

add

add_optional

check_required

check_types

check_types_optional

class_get

class_has

class_items

class_keys

class_log

class_set

class_set_optional

class_set_single

class_warn

clear

close_log

copy

copy_from

copy_to

data_repr

delete

delete_optional

delete_required

dict

extract

extract_optional

get

get_keys

get_optional

get_path

get_required

inverse

items

last

list_optional

load

log

minsize

move_from

move_from_optional

move_to

move_to_optional

normalize

not_implemented

obj

path_exists

random_key

select_random

serial

set

set_optional

set_path

shallow_copy

sum

to_dict

to_obj

transfer_from

transfer_to

tree

tuple

values

write

zero

read_arrays()[source]#
get_keys()[source]#
zero(*names)[source]#
minsize(other, *names)[source]#
accumulate(other, *names)[source]#
normalize(normalization, *names)[source]#
sum(*names)[source]#
class nexus.hdfreader.HDFreader(fpath, verbose=False, view=False)[source]#

Bases: DevBase

Methods

append(value)

class_error(message[, header, exit, trace, ...])

Report an error relating to a class.

error(message[, header, exit, trace])

Report an error inside a class.

first()

keys()

list(*keys)

open_log(filepath)

save([fpath])

sorted_keys()

warn(msg[, indent])

Warning from inside a Nexus class.

add

add_dataset

add_group

add_optional

check_required

check_types

check_types_optional

class_get

class_has

class_items

class_keys

class_log

class_set

class_set_optional

class_set_single

class_warn

clear

close_log

copy

copy_from

copy_to

data_repr

decrement_level

delete

delete_optional

delete_required

dict

extract

extract_optional

get

get_optional

get_path

get_required

increment_level

inverse

items

last

list_optional

load

log

move_from

move_from_optional

move_to

move_to_optional

not_implemented

obj

path_exists

random_key

select_random

serial

set

set_optional

set_path

shallow_copy

to_dict

to_obj

transfer_from

transfer_to

tree

tuple

values

write

increment_level()[source]#
decrement_level()[source]#
add_dataset(cur, k, v)[source]#
add_group(hcur, cur, k, v)[source]#
nexus.hdfreader.read_hdf(fpath, verbose=False, view=False)[source]#