Mantid
|
Class provides commont interface for various classes performing rebinning operations;. More...
#include <IDynamicRebinning.h>
Public Member Functions | |
virtual uint64_t | finalize_rebinning ()=0 |
Calculates signals and errors of the MD image, obtained as the result of one or more rebin_dataset operations and (in some implementations) the locations of the points in the final MDDatapoints array. More... | |
virtual unsigned int | getNumDataChunks () const =0 |
returns the estimate for number of data chunks may be used to rebin the dataset Used by algorithms to estimate the time to complete the rebinning More... | |
virtual uint64_t | getNumPreselectedPixels () const =0 |
function returns the number of pixels which can contribute into a cut (Number of pixels in selected cells – become valid after preselection is done and precelected cells buffer is valid More... | |
virtual size_t | preselect_cells ()=0 |
Function identifies the indexes of the sells of the source image that can contribute into the target image returns number of selected cells and the number of pixels (datapoints, events) contained in these cells which can contribute into the cut. More... | |
virtual bool | rebin_data_chunk ()=0 |
function takes input multidimensional data points (pixels, events) stored in the source data buffer and rebins these data (adds them) to MD image of the taget workspace; Alternative (USA)vdescription: Identifies the locations of the datapoints in the multidimensional grid of the target workspace and calculates the statistical properties of these points More... | |
virtual bool | rebin_data_chunk_keep_pixels ()=0 |
The same as rebin_data_chunk but retains the datapoints (pixels) contributed in the image. More... | |
virtual | ~IDynamicRebinning ()=default |
destructor More... | |
Static Protected Attributes | |
static Mantid::Kernel::Logger | bin_log |
logger -> to provide logging, for MD dataset file operations More... | |
Class provides commont interface for various classes performing rebinning operations;.
A rebinning class is selected from availible classes which do rebinning operations on user request and the ability to do the job.
TODO: A factory should analyse the demands for the job and user requests and return the method best suitable for the operations but the common interface for the rebinning can be identified and is described here.
Definition at line 28 of file IDynamicRebinning.h.
|
virtualdefault |
destructor
|
pure virtual |
Calculates signals and errors of the MD image, obtained as the result of one or more rebin_dataset operations and (in some implementations) the locations of the points in the final MDDatapoints array.
Returns the number of points (events, pixels) contributed into the image;
|
pure virtual |
returns the estimate for number of data chunks may be used to rebin the dataset Used by algorithms to estimate the time to complete the rebinning
|
pure virtual |
function returns the number of pixels which can contribute into a cut (Number of pixels in selected cells – become valid after preselection is done and precelected cells buffer is valid
|
pure virtual |
Function identifies the indexes of the sells of the source image that can contribute into the target image returns number of selected cells and the number of pixels (datapoints, events) contained in these cells which can contribute into the cut.
|
pure virtual |
function takes input multidimensional data points (pixels, events) stored in the source data buffer and rebins these data (adds them) to MD image of the taget workspace; Alternative (USA)vdescription: Identifies the locations of the datapoints in the multidimensional grid of the target workspace and calculates the statistical properties of these points
Outputs: Returns true if more data availible and need to be rebinned;
|
pure virtual |
The same as rebin_data_chunk but retains the datapoints (pixels) contributed in the image.
This allows to save the image and further rebinning on basis of new MD workspace instead of the old one;
|
staticprotected |
logger -> to provide logging, for MD dataset file operations
Definition at line 75 of file IDynamicRebinning.h.