rhdtownsend / msg

Multidimensional Spectral Grids
GNU General Public License v3.0
11 stars 3 forks source link

Allow partial reads of individual specint_t's #8

Open rhdtownsend opened 2 years ago

rhdtownsend commented 2 years ago

Currently, when loading a specint_t from file, the whole spectrum is read. This is wasteful if the user only wants a subset of the spectrum, and/or is using passbands that cover only part of the spectrum. Allowing for partial reads would alleviate this inefficiency.