Skip to content

Conversation

@earth-chris
Copy link
Owner

this refactor ports a class to endmembers.Spectra to simplify spectral library operations under a consistent structure. It leverages the new Sensor class for defining standard instrument specifications.

This will facilitate more straightforward class extensions, like spectral resampling, and joining multiple spectral libraries together. It can also include the pandas metadata as specified by ViperTools, which will also allow for simpler random spectral sampling.

To-do tomorrow:

  • add spectral resampling method (to_sensor())
  • add random spectral sampling method (sample())

@earth-chris earth-chris self-assigned this Sep 30, 2025
@earth-chris earth-chris added the enhancement New feature or request label Sep 30, 2025
@earth-chris earth-chris merged commit a530972 into main Sep 30, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants