Hi,
Could it be possible to add working examples in the documentation about how to deal with data from FITS files ? The examples given with the "templates" module are nice but the imported models have been built in such a way that it works perfectly.
First reason is that I'm an astrophysics student, decent in science but programming is not my thing. It would help me (and all others to come) when it comes to adapting former pipelines to ScopeSim.
Second reason is that I'm working with spectral datacubes that have not been built for ScopeSIM. It's just slices of a same object over 4000 wavelengths, and I'm trying to naively extract the spectra for each pixels as synphot.SourceSpectrum objects, but it's taking a HUGE time (22min) for a very small number of pixels (330x330 px FoV).
I assume this has been considered as it is an extremely common situation, but I can't figure it out from the Documentation. Maybe some examples about how to extract/reshape data so it can be used by ScopeSIM would be helpful to students or newcomers, especially for those who are used to older pipelines.
Thank you very much !
Hi,
Could it be possible to add working examples in the documentation about how to deal with data from FITS files ? The examples given with the "templates" module are nice but the imported models have been built in such a way that it works perfectly.
First reason is that I'm an astrophysics student, decent in science but programming is not my thing. It would help me (and all others to come) when it comes to adapting former pipelines to ScopeSim.
Second reason is that I'm working with spectral datacubes that have not been built for ScopeSIM. It's just slices of a same object over 4000 wavelengths, and I'm trying to naively extract the spectra for each pixels as synphot.SourceSpectrum objects, but it's taking a HUGE time (22min) for a very small number of pixels (330x330 px FoV).
I assume this has been considered as it is an extremely common situation, but I can't figure it out from the Documentation. Maybe some examples about how to extract/reshape data so it can be used by ScopeSIM would be helpful to students or newcomers, especially for those who are used to older pipelines.
Thank you very much !