nabu.pipeline.helical.weight_balancer module¶
- class nabu.pipeline.helical.weight_balancer.WeightBalancer(rot_center, angles_rad)[source]¶
Bases:
object
This class contains the method for rebalancing the weight prior to backprojection. The weights of halfomo redundacy data ( the central part) are rebalanced. In a pipeline, the weights rebalanced by the method balance_weight, have to be applied to the ramp-filtered data prior to backprojection. As a matter of fact the method balance_weights could be called as a function, but in order to be conformant to Nabu, we create this class and follow the scheme initialisation + application.
- Parameters:
rot_center (float) – the center of rotation in pixel units
angles_rad – the angles corresponding to the to be rebalanced projections