Editing LongitudinalProfileFromData to allow for monotonically decreasing spectral data (fix for https://github.com/LASY-org/lasy/issues/185) and adding relevant tests to test_laser_profiles. Currently no tests exist for LongitudinalProfileFromData, so adding tests for monotonically increasing/decreasing spectral data. Test for temporal data could be added in future.
Editing LongitudinalProfileFromData to allow for monotonically decreasing spectral data (fix for https://github.com/LASY-org/lasy/issues/185) and adding relevant tests to test_laser_profiles. Currently no tests exist for LongitudinalProfileFromData, so adding tests for monotonically increasing/decreasing spectral data. Test for temporal data could be added in future.