savu.data.data_structures.data_types.data_plus_darks_and_flats moduleΒΆ

class DataWithDarksAndFlats(data_obj, proj_dim, image_key)[source]
dark_image_key_data()[source]

Get the dark data.

dark_mean()[source]

Get the averaged dark projection data.

flat_image_key_data()[source]

Get the flat data.

flat_mean()[source]

Get the averaged flat projection data.

get_dark_flat_slice_list()[source]
get_image_key()[source]
get_index(key, full=False)[source]

Get the projection index of a specific image key value.

Params int key

the image key value

get_shape()[source]

Get full stitched shape of a stack of files

set_dark_scale(dscale)[source]
set_flat_scale(fscale)[source]
update_dark(data)[source]
update_flat(data)[source]
class ImageKey(data_obj, image_key, proj_dim, ignore=None)[source]

This class is used to get data from a dataset with an image key.

clone_data_args(args, kwargs, extras)[source]

List the arguments required to clone this datatype

dark()[source]

Get the dark data.

flat()[source]

Get the flat data.

map_input_args(args, kwargs, cls, extras)[source]

List all information required to keep this data set after a plugin has completed (may require conversion to another type)

class NoImageKey(data_obj, image_key, proj_dim, dark=None, flat=None)[source]

This class is used to get data from a dataset with separate darks and flats.

clone_data_args(args, kwargs, extras)[source]

Gather all information required to keep this dataset after a plugin has completed (may require a conversion to a different data_type.

dark()[source]

Get the dark data.

flat()[source]

Get the flat data.

get_shape()[source]

Get full stitched shape of a stack of files