sbird / fake_spectra

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

Read BigFiles with GriddedSpectra #1

Closed andreufont closed 7 years ago

andreufont commented 7 years ago

Keir has some code to measure P3D from simulated spectra, but it runs on HDF5 files only. In order to use it on BigFiles, I believe I just need to modify the constructor of GriddedSpectra to use AbstractSnapshotFactory like RandSpectra does. I will work on it and submit a pull request.

sbird commented 7 years ago

Thanks - that's right, I missed GriddedSpectra when doing the conversion. I'll let you work on it so you get to know the code better, but let me know if you want me to do it instead.

sbird commented 7 years ago

Fixed with pull 1