Skip to content

Parameters of ConeBeamModel.__init__ #84

Description

@bwohlberg

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions