sbird / fake_spectra

A code for generating fake spectra from a cosmological simulation
MIT License
12 stars 13 forks source link

Chaning the resoluton when reloading the saved spectra #32

Closed qezlou closed 4 years ago

qezlou commented 4 years ago

In case we want to change the pixel resolution after loading the saved spectra files, self.nbins has already been recorded on those (with the previous resolution ), and therefore will not raise any AtributeError by itself. We should check whether it matches with the new resolution.

sbird commented 4 years ago

Please fix test error

qezlou commented 4 years ago

Please fix test error

I just did :))

sbird commented 4 years ago

Merged, thanks!