ConeBeamModel.__init__ only provides for direct setting of four parameters):
|
def __init__(self, sinogram_shape, angles, source_detector_dist, source_iso_dist): |
As a result, if additional parameters need to be set (e.g. recon_slice_offset, or delta_voxel), it has to be achieved via calls to set_params. Is it not possible to include **kwargs, which would be passed to **kwargs of the parent class initializer?
Also, with respect to documentation of these additional parameters:
- It would be helpful to document how the default value of
delta_voxel is set (apparently in a way that maintains the same effective magnification at the detector, independent of the value returned by get_magnification).
- The note
One additional parameter for ConeBeamModel that can be set using set_params() is ... could be read to imply that there is only one additional relevant parameter, but this does not seem to be the case.
ConeBeamModel.__init__only provides for direct setting of four parameters):mbirjax/mbirjax/cone_beam.py
Line 51 in 25950c1
As a result, if additional parameters need to be set (e.g.
recon_slice_offset, ordelta_voxel), it has to be achieved via calls toset_params. Is it not possible to include**kwargs, which would be passed to**kwargsof the parent class initializer?Also, with respect to documentation of these additional parameters:
delta_voxelis set (apparently in a way that maintains the same effective magnification at the detector, independent of the value returned byget_magnification).One additional parameter for ConeBeamModel that can be set using set_params() is ...could be read to imply that there is only one additional relevant parameter, but this does not seem to be the case.