Set the wavelength grid to resample to.


int mira_SetResamplingWavelengthsGrid(mrkernelpmr, float start, float step, float stop);


Parameters:

  • pmr: A pointer to the runtime kernel returned by mira_Init.
  • start: The first wavelength in nanometers to resample to.
  • step: The wavelength step in nanometers.
  • stop: The last wavelength in nanometers to resample to.


Return value:

MIRA_OK (0) or an error code.


Description:

mira_SetResamplingWavelengthsGrid will define the wavelengths to resample to, this will be set in a grid from start to stop with a step of step. The stop wavelength is included in the final grid.