API reference¶
Subpackages¶
- nabu.app package
- Submodules
- nabu.app.bootstrap module
- nabu.app.bootstrap_stitching module
- nabu.app.cast_volume module
- nabu.app.cli_configs module
- nabu.app.compare_volumes module
- nabu.app.composite_cor module
- nabu.app.correct_rot module
- nabu.app.create_distortion_map_from_poly module
- nabu.app.diag_to_pix module
- nabu.app.diag_to_rot module
- nabu.app.double_flatfield module
- nabu.app.generate_header module
- nabu.app.histogram module
- nabu.app.multicor module
- nabu.app.nx_z_splitter module
- nabu.app.parse_reconstruction_log module
- nabu.app.prepare_weights_double module
- nabu.app.reconstruct module
- nabu.app.reconstruct_helical module
- nabu.app.reduce_dark_flat module
- nabu.app.rotate module
- nabu.app.shrink_dataset module
- nabu.app.stitching module
- nabu.app.utils module
- nabu.app.validator module
- Module contents
- Submodules
- nabu.cuda package
- Submodules
- nabu.cuda.convolution module
- nabu.cuda.fft module
- nabu.cuda.kernel module
- nabu.cuda.medfilt module
- nabu.cuda.padding module
- nabu.cuda.processing module
- nabu.cuda.utils module
get_cuda_context()
count_cuda_devices()
get_gpu_memory()
is_gpu_usable()
detect_cuda_gpus()
collect_cuda_gpus()
get_nvcc_version()
check_textures_availability()
cuarray_format_to_dtype()
cuarray_shape_dtype()
get_shape_dtype()
copy_array()
copy_big_gpuarray()
replace_array_memory()
pycuda_to_cupy()
cupy_to_pycuda()
- Module contents
- Submodules
- nabu.estimation package
- nabu.io package
- nabu.misc package
- Submodules
- nabu.misc.binning module
- nabu.misc.fftshift module
- nabu.misc.filters module
- nabu.misc.fourier_filters module
- nabu.misc.histogram module
- nabu.misc.histogram_cuda module
- nabu.misc.kernel_base module
- nabu.misc.padding module
- nabu.misc.padding_base module
- nabu.misc.processing_base module
- nabu.misc.rotation module
- nabu.misc.rotation_cuda module
- nabu.misc.transpose module
- nabu.misc.unsharp module
- nabu.misc.unsharp_cuda module
- nabu.misc.unsharp_opencl module
- nabu.misc.utils module
- Module contents
- Submodules
- nabu.opencl package
- nabu.pipeline package
- Subpackages
- Submodules
- nabu.pipeline.config module
- nabu.pipeline.config_validators module
raise_error()
validator()
convert_to_int()
convert_to_float()
convert_to_bool()
str2bool()
convert_to_bool_noerr()
name_range_checker()
optional_string_validator()
file_name_validator()
file_location_validator()
optional_file_location_validator()
optional_values_file_validator()
directory_location_validator()
optional_directory_location_validator()
dataset_location_validator()
directory_writeable_validator()
optional_output_directory_validator()
optional_output_file_path_validator()
integer_validator()
nonnegative_integer_validator()
positive_integer_validator()
optional_positive_integer_validator()
nonzero_integer_validator()
binning_validator()
projections_subsampling_validator()
optional_file_name_validator()
boolean_validator()
boolean_or_auto_validator()
float_validator()
optional_float_validator()
optional_nonzero_float_validator()
optional_tuple_of_floats_validator()
cor_validator()
tilt_validator()
slice_num_validator()
generic_options_validator()
cor_options_validator()
cor_slice_validator()
flatfield_enabled_validator()
phase_method_validator()
detector_distortion_correction_validator()
unsharp_method_validator()
padding_mode_validator()
reconstruction_method_validator()
fbp_filter_name_validator()
reconstruction_implementation_validator()
optimization_algorithm_name_validator()
output_file_format_validator()
distribution_method_validator()
sino_normalization_validator()
sino_deringer_methods()
list_of_int_validator()
list_of_shift_validator()
list_of_tomoscan_identifier()
resources_validator()
walltime_validator()
nonempty_string_validator()
logging_validator()
exclude_projections_validator()
no_validator()
- nabu.pipeline.datadump module
- nabu.pipeline.dataset_validator module
- nabu.pipeline.detector_distortion_provider module
- nabu.pipeline.estimators module
- nabu.pipeline.params module
- nabu.pipeline.processconfig module
- nabu.pipeline.reader module
- nabu.pipeline.utils module
- nabu.pipeline.writer module
- Module contents
- nabu.preproc package
- Submodules
- nabu.preproc.alignment module
- nabu.preproc.ccd module
- nabu.preproc.ccd_cuda module
- nabu.preproc.ctf module
- nabu.preproc.ctf_cuda module
- nabu.preproc.distortion module
- nabu.preproc.double_flatfield module
- nabu.preproc.double_flatfield_cuda module
- nabu.preproc.double_flatfield_variable_region module
- nabu.preproc.flatfield module
- nabu.preproc.flatfield_cuda module
- nabu.preproc.flatfield_variable_region module
- nabu.preproc.phase module
- nabu.preproc.phase_cuda module
- nabu.preproc.shift module
- nabu.preproc.shift_cuda module
- Module contents
- Submodules
- nabu.processing package
- Submodules
- nabu.processing.azim module
- nabu.processing.convolution_cuda module
- nabu.processing.fft_base module
- nabu.processing.fft_cuda module
- nabu.processing.fft_opencl module
- nabu.processing.fftshift module
- nabu.processing.histogram module
- nabu.processing.histogram_cuda module
- nabu.processing.kernel_base module
- nabu.processing.medfilt_cuda module
- nabu.processing.muladd module
- nabu.processing.muladd_cuda module
- nabu.processing.padding_base module
- nabu.processing.padding_cuda module
- nabu.processing.padding_opencl module
- nabu.processing.processing_base module
- nabu.processing.roll_opencl module
- nabu.processing.rotation module
- nabu.processing.rotation_cuda module
- nabu.processing.transpose module
- nabu.processing.unsharp module
- nabu.processing.unsharp_cuda module
- nabu.processing.unsharp_opencl module
- Module contents
- Submodules
- nabu.reconstruction package
- Submodules
- nabu.reconstruction.cone module
- nabu.reconstruction.fbp module
- nabu.reconstruction.fbp_base module
- nabu.reconstruction.fbp_opencl module
- nabu.reconstruction.filtering module
- nabu.reconstruction.filtering_cuda module
- nabu.reconstruction.filtering_opencl module
- nabu.reconstruction.hbp module
- nabu.reconstruction.mlem module
- nabu.reconstruction.projection module
- nabu.reconstruction.reconstructor module
- nabu.reconstruction.reconstructor_cuda module
- nabu.reconstruction.rings module
- nabu.reconstruction.rings_cuda module
- nabu.reconstruction.sinogram module
- nabu.reconstruction.sinogram_cuda module
- nabu.reconstruction.sinogram_opencl module
- Module contents
- Submodules
- nabu.resources package
- nabu.stitching package
- Subpackages
- Submodules
- nabu.stitching.alignment module
- nabu.stitching.config module
str_to_shifts()
NormalizationBySample
SlurmConfig
StitchingConfiguration
SingleAxisConfigMetaClass
SingleAxisStitchingConfiguration
PreProcessedSingleAxisStitchingConfiguration
PostProcessedSingleAxisStitchingConfiguration
identifiers_as_str_to_instances()
dict_to_config_obj()
get_default_stitching_config()
PreProcessedYStitchingConfiguration
PreProcessedZStitchingConfiguration
PostProcessedZStitchingConfiguration
- nabu.stitching.definitions module
- nabu.stitching.frame_composition module
- nabu.stitching.overlap module
- nabu.stitching.sample_normalization module
- nabu.stitching.single_axis_stitching module
- nabu.stitching.slurm_utils module
- nabu.stitching.stitcher_2D module
- nabu.stitching.y_stitching module
- nabu.stitching.z_stitching module
- Module contents
- nabu.thirdparty package
Submodules¶
- nabu.tests module
- nabu.testutils module
- nabu.utils module
nextpow2()
previouspow2()
updiv()
convert_index()
get_folder_path()
get_cuda_srcfile()
get_opencl_srcfile()
get_resource_file()
indices_to_slices()
merge_slices()
compacted_views()
get_size_from_sliced_dimension()
get_shape_from_sliced_dims()
get_available_threads()
list_match_queries()
is_writeable()
is_int()
is_scalar()
safe_format()
get_ftype()
get_2D_3D_shape()
get_subregion()
get_3D_subregion()
to_3D_array()
view_as_images_stack()
rescale_integers()
merged_shape()
is_device_backend()
get_decay()
generate_powers()
calc_padding_lengths1D()
calc_padding_lengths()
partition_dict()
first_dict_item()
subsample_dict()
compare_dicts()
remove_items_from_list()
restore_items_in_list()
check_supported()
check_supported_enum()
check_shape()
copy_dict_items()
recursive_copy_dict()
subdivide_into_overlapping_segment()
get_num_threads()
DictToObj
remove_parenthesis_or_brackets()
filter_str_def()
convert_str_to_tuple()
concatenate_dict()
BaseClassError
MissingComponentError()
generate_coords()
clip_circle()
extend_image_onepixel()
median2()
measure_time()
wip()
warning()
deprecated()
deprecated_class()
deprecation_warning()
docstring()