This implements general classes for holding datacubes and row-stacked spectra. This is the first step along the way of generalizing the DAP for use with datacubes from other surveys/instruments. Other changes include:
For instantiating a MaNGADataCube, changed from using a yanny par file to a configuration (ini) file. Included code that can write these files using data from the DRPall or DRPComplete files.
Included a script that will download data into a new mangadap/data/remote directory for testing. The directory is not included in the repo and has been added to .gitignore to prevent it from being accidentally added.
Included a number of tests that use the new remote data. These will be skipped if the remote data is not available.
Significant improvements and testing of mangadap.util.covariance. Ensuring that the correlation matrices provided by the DRP can be read by MaNGADataCube and are effectively identical to the calculation performed by MaNGARSS.
This implements general classes for holding datacubes and row-stacked spectra. This is the first step along the way of generalizing the DAP for use with datacubes from other surveys/instruments. Other changes include:
mangadap/data/remote
directory for testing. The directory is not included in the repo and has been added to .gitignore to prevent it from being accidentally added.mangadap.util.covariance
. Ensuring that the correlation matrices provided by the DRP can be read byMaNGADataCube
and are effectively identical to the calculation performed byMaNGARSS
.