nabu.pipeline.fullfield.chunked_cuda module

class nabu.pipeline.fullfield.chunked_cuda.CudaChunkedPipeline(process_config, chunk_shape, logger=None, extra_options=None, margin=None, use_grouped_mode=False, cuda_options=None)[source]

Bases: ChunkedPipeline

Cuda backend of ChunkedPipeline

Initialize a “Chunked” pipeline.

Parameters:
  • processing_config (ProcessConfig) – Process configuration.

  • chunk_shape (tuple) – Shape of the chunk of data to process, in the form (n_angles, n_z, n_x). It has to account for possible cropping of the data, eg. [:, start_z:end_z, start_x:end_x] where start_xz and/or end_xz can be other than None.

  • margin (tuple, optional) – Margin to use, in the form ((up, down), (left, right)). It is used for example when performing phase retrieval or a convolution-like operation: some extra data is kept to avoid boundaries issues. These boundaries are then discarded: the data volume is eventually cropped as data[U:D, L:R] where ((U, D), (L, R)) = margin If not provided, no margin is applied.

  • logger (nabu.app.logger.Logger, optional) – Logger class

  • extra_options (dict, optional) – Advanced extra options.

Notes

Using margin results in a lesser number of reconstructed slices. More specifically, if margin = (V, H), then there will be delta_z - 2*V reconstructed slices (if the sub-region is in the middle of the volume) or delta_z - V reconstructed slices (if the sub-region is on top or bottom of the volume).

backend = 'cuda'
FlatFieldClass

alias of CudaFlatFieldDataUrls

DoubleFlatFieldClass

alias of CudaDoubleFlatField

CCDCorrectionClass

alias of CudaCCDFilter

PaganinPhaseRetrievalClass

alias of CudaPaganinPhaseRetrieval

CTFPhaseRetrievalClass

alias of CudaCTFPhaseRetrieval

UnsharpMaskClass

alias of CudaUnsharpMask

ImageRotationClass

alias of CudaRotation

VerticalShiftClass

alias of CudaVerticalShift

MunchDeringerClass

alias of CudaMunchDeringer

SinoMeanDeringerClass

alias of CudaSinoMeanDeringer

VoDeringerClass

alias of CudaVoDeringer

MLogClass

alias of CudaLog

SinoBuilderClass

alias of CudaSinoBuilder

SinoNormalizationClass

alias of CudaSinoNormalization

SinoFilterClass

alias of CudaSinoFilter

FBPClass

alias of CudaBackprojector

ConebeamClass = None
HistogramClass

alias of CudaPartialHistogram