Generate Spectral Response Function from Full Width at Half Maximum (FWHM)
get.srf.from_fwhm.RdThis function generates a spectral response function based on a Gaussian distribution, which is defined by the center wavelength and standard deviation (sd). A normalization based on the maximum (max) value is applied. The sensors considered in this function include:
Sentinel2a and Sentinel2b: For these sensors, the function uses the spectral response data stored in
ToolsRTM::str.sentinel2aandToolsRTM::str.sentinel2b, respectively. These datasets provide the necessary characteristics to accurately model their spectral responses.PRISMA: The function utilizes the original resampling function for PRISMA, with the spectral response characteristics stored in
ToolsRTM::srf.prisma. This allows for precise calculations based on the unique properties of the PRISMA sensor.Other sensors (e.g., ALI, Hyperion, Landsat4-8, MODIS, Quickbird, RapidEye, WorldView2-4, WorldView2-8) use the Full Width at Half Maximum (FWHM) function for their spectral response calculations, based on their respective characteristics.
Arguments
- sensor
A string specifying the sensor name. Options include: "ALI", "Hyperion", "Landsat4", "Landsat5", "Landsat7", "Landsat8", "MODIS", "Quickbird", "RapidEye", "Sentinel2a", "Sentinel2b", "WorldView2-4", "WorldView2-8".
- save
Logical indicating whether to save SRF file (default is TRUE).
- path.out
A string specifying the output path for the CSV files.
- get.plot
Logical indicating whether to plot the spectral response curves (default is FALSE).