https://github.com/zonca/cofe-python-analysis-tools
python tools for cofe data analysis including demodulation, pointing mapmaking etc
https://github.com/zonca/cofe-python-analysis-tools
Last synced: 10 months ago
JSON representation
python tools for cofe data analysis including demodulation, pointing mapmaking etc
- Host: GitHub
- URL: https://github.com/zonca/cofe-python-analysis-tools
- Owner: zonca
- Created: 2015-01-21T22:22:11.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-10-03T20:29:13.000Z (about 10 years ago)
- Last Synced: 2025-01-13T10:30:53.322Z (12 months ago)
- Language: Python
- Size: 1.81 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
cofe-python-analysis-tools
==========================
python tools for cofe data analysis including demodulation, pointing mapmaking etc
repository:
https://github.com/ucsbdeepspace/cofe-python-analysis-tools/
## How to run map-making on COFE
* Raw files produced by Peter in .pkl format contains data, timing information and pointing in local coordinates (azimuth, elevation)
* First we need to compute the Equatorial pointing, in the same process we also extract the data for 1 channel we want to use for mapmaking (hardwritten in the script), this is achieved using `compute_pointing.py` in `utils_zonca/pointing`:
python compute_pointing.py input_file_oneperday.pkl
This produces one `.h5` file with the same name and in the same path as the original `.pkl` file.
* Next we want to concatenate all files to be used for the same mapmaking run:
python concatenate_h5.py file1.h5 file2.h5 file3.h5
The script produces a single `HDF5` file: `concatenated.h5`, in the same folder, to be renamed.
* The `HDF5` file is ready for mapmaking, download `dst` (), follow instructions in `README.md` to build it, then prepare a configuration file based on `roof_512.cfg` by changing the file path.
Run destriping with:
mpirun -np 3 python dst.py yourconfig.cfg
Finally convert the output maps to `FITS` with:
python plotmaps.py dstoutputfolder