A package to calibrate MWA solar observation
Project description
P-AIRCARS
An automated spectropolarimetric calibration and imaging pipeline designed for solar radio observations using the Murchision Widefield Array (MWA) radio telescope. It performs end-to-end calibration, flagging, and imaging with a focus on dynamic solar data, supporting both spectral and temporal flexibility in imaging products.Background
Solar radio data presents unique challenges due to the high variability and brightness of the Sun, as well as the need for high time-frequency resolution. The P-AIRCARS pipeline addresses these challenges by:
- Automating the calibration of interferometric data, including flux, phase, and polarization calibrations
- Supporting time-sliced and frequency-sliced imaging workflows
- Leveraging Dask for scalable parallel processing
- Providing hooks for integration with contextual data from other wavelegths for enhanced solar analysis
Documentation
P-AIRCARS documentation is available at: paircars.readthedocs.io
Quickstart
P-AIRCARS is distributed on PyPI. To use it:
-
Create conda environment with python 3.10
conda create -n paircars_env python=3.10 conda activate paircars_env
-
Install P-AIRCARS in conda environment
pip install paircars
-
Initiate necessary metadata and prefect server
init-paircars-setup --init --prefect_server
-
Before running the pipeline, setup your data as following:
-- Create a <target_datadir> and put all coarse channel measurement sets of solar scan of a single observation ID (OBSID) inside it.
-- Create a <cal_datadir> and put all coarse channel measurement sets for calibrator observation of a single OBSID inside it.
-
Run P-AIRCARS pipeline
run-mwa-paircars <path of target measurement set directory> <path of target metafits file> --cal_datadir <path of calibrator measurement set directory> --cal_metafits <path of calibrator metafits> --workdir <path of work directory> --outdir <path of output products directory>
N.B.: Keep target measurement sets for a single OBSID and calibrator measurement sets for a single OBSID must be kept in seperate directories. If calibrator is not present, do not provide these information.
That's all. You started P-AIRCARS pipeline for analysing your MWA solar observation 🎉.
-
To see all running P-AIRCARS jobs
show-paircars-status --show
-
To see prefect dashboard (only work if you started prefect server)
run-mwa-mwalogger
-
If you did not start prefect server, see local log of any job using the
run-mwa-mwalogger --jobid <jobid>
-
Output products will be saved in :
<path of output products directory>
Sample dataset
User can download and test entire P-AIRCARS pipeline using the sample dataset available in Zenodo: https://doi.org/10.5281/zenodo.18641232. Do not use this sample dataset for any publication without permission from the developer.
Acknowledgements
P-AIRCARS is developed by Devojyoti Kansabanik (NCRA-TIFR, Pune, India and CPAESS-UCAR, Boulder, USA) and Surajt Mondal (NCRA-TIFR, Pune, India) and an incarnation of AIRCARS. If you use P-AIRCARS for analysing your MWA solar observations, include the following statement in your paper, and cite the following papers:
This MWA solar observations are analysed using P-AIRCARS pipeline.
-
Cite P-AIRCARS software in zenodo: https://doi.org/10.5281/zenodo.18625477
If you use observations before 2015, include this additonal statement and citation:
Flux calibration of the observations are done using the menthod described in the following paper.
P-AIRCARS name is given by Dr. Barnali Das (NCRA-TIFR, Pune, India)
License
This project is licensed under the MIT License.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file paircars-2.1.11.tar.gz.
File metadata
- Download URL: paircars-2.1.11.tar.gz
- Upload date:
- Size: 194.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f22b31fc006cd30316a464826628f2778e99e88c9661df14ec8d7be276d4ced2
|
|
| MD5 |
094fca92d4151ab15033b10820a76dbc
|
|
| BLAKE2b-256 |
e76cc82114627910b427f1e51594032b2148f6b352d0677e2980a1613594d44f
|
File details
Details for the file paircars-2.1.11-py3-none-any.whl.
File metadata
- Download URL: paircars-2.1.11-py3-none-any.whl
- Upload date:
- Size: 224.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
293e487f2544a91fd39a37609964c0051ac4f46c069c1bb9a3dce09fc3d37daa
|
|
| MD5 |
c0c367d18b2369402c19346b2de901bf
|
|
| BLAKE2b-256 |
49bf3abd7948d3ed4e3508fcc3dbdef9380caf9b98c462563629ccd7591a6f68
|