model¶
- kgpy.ctis.inversion.mart.forward.model(cube, projection_azimuth, spectral_order, projection_shape=None, cube_spatial_offset=(0, 0), projection_spatial_offset=(0, 0), x_axis=-3, y_axis=-2, w_axis=-1, rotation_kwargs=None)¶
Model is a basic forward model of CT imaging spectrograph. :type cube:
numpy.ndarray:param cube: ‘slabs’ which is a np.ndarray which have at least an x, y, and wavelength axis. :type projection_azimuth:astropy.units.quantity.Quantity:param projection_azimuth: scalar angle describing dispersion direction in the data array. :type spectral_order:int:param spectral_order: number of indices the array shifted per wavelength bin. :type projection_shape:typing.Optional[typing.Tuple[int,...]] :param projection_shape: Desired shape of output array, as tuple of integers :type projection_spatial_offset:typing.Tuple[int,int] :param projection_spatial_offset: :type cube_spatial_offset:typing.Tuple[int,int] :param cube_spatial_offset: :type x_axis:int:param x_axis: axis of the data slabs representing x-axis :type y_axis:int:param y_axis: axis of the data slabs representing y-axis :type w_axis:int:param w_axis: axis of the data slabs representing wavelength axis :type rotation_kwargs:typing.Optional[typing.Dict] :param rotation_kwargs: kwargs for scipy.ndimage.rotate to be used during rotation portion of forward model :rtype:numpy.ndarray:return: list of arrays to which the forward model has been applied- Parameters:
- Return type: