tomoscan.framereducer.reducedframesinfos.ReducedFramesInfos#

class tomoscan.framereducer.reducedframesinfos.ReducedFramesInfos#

Bases: object

contains reduced frames metadata as count_time and machine_current

__init__()#

Methods

__init__()

clear()

load_from_dict(my_dict)

pop_info_keys(my_dict)

split_data_and_metadata(my_dict)

to_dict()

rtype:

dict

Attributes

COUNT_TIME_KEY

LR_FLIP

Save the information if the original raw frame was left-right flipped.

MACHINE_ELECT_CURRENT_KEY

UD_FLIP

Save the information if the original raw frame was up-down flipped.

count_time

frame exposure time in second

lr_flip

rtype:

Optional[bool]

machine_current

machine electric current in Ampere

machine_electric_current

rtype:

list

ud_flip

rtype:

Optional[bool]

LR_FLIP = 'lr_flip'#

Save the information if the original raw frame was left-right flipped. Warning: tomoscan will only propagate this information but won’t flip reduced frames saved

UD_FLIP = 'ud_flip'#

Save the information if the original raw frame was up-down flipped. Warning: tomoscan will only propagate this information but won’t flip reduced frames saved

property count_time: list#

frame exposure time in second

Return type:

list

property machine_current: list#

machine electric current in Ampere

Return type:

list