Published June 11, 2026 | Version V1.0

SalalJitendra/SPICE: Initial release

Authors/Creators

  • 1. NCRA-TIFR

Description

SPICE - Scintillation Pipeline for Interferometric Candidate Extraction - an automated CASA‑based pipeline developed to identify pulsar candidates in Giant Metrewave Radio Telescope (GMRT) data through their diffractive interstellar scintillation (DISS) signatures.

Technical info

Pulsars are point-like sources that exhibit high modulation in flux across time and frequency due to the ionized interstellar medium. SPICE automates the transition from raw interferometric data to scintillation parameters, allowing for scintillating candidate extraction.
 
Core Features
  • End-to-End Automation: Converts raw GMRT data (.lta, .fits) into calibrated Measurement Sets (MS).
  • Precision Flagging: Multi-stage flagging (time, channel, and baseline) to mitigate terrestrial RFI.
  • Blind Source Extraction: Integrated with PyBDSF to identify high-SNR point sources in continuum images.
  • Scintillation Modeling: Generates dynamic spectra from calibrated visibilities, computes 2D autocorrelations to determine scintillation bandwidth and timescale, and performs 2D Gaussian fitting to extract DISS parameters and modulation indices.
  • Diagnostic Visualization: Generates plots for every candidate, showing dynamic spectra alongside their autocorrelation function (ACF) fits.
Pipeline Architecture
The pipeline is modularized into three core components:
  1. Flagging.py: RFI mitigation and baseline quality control.
  2. Scintillation.py: Dynamic spectra extraction and 2D Gaussian modeling.
  3. SPICE.py: The main pipeline that manages calibration, imaging, and candidate logging.
Installation and Requirements
  • Prerequisites: CASA (Common Astronomy Software Applications) Version 6.2 or higher is recommended, using Python 3.10.12 within the CASA environment.
  • Dependencies: Install the required Python libraries via pip using: pip install -r requirements.txt
Quick Start Guide
  1. Prepare your environment: Ensure your observation folder contains the raw data (.lta, .fits, or .ms).
  2. Calibrator List: Place a file named cals.list in the parent directory containing the names of known GMRT/VLA calibrators used.
  3. Run the pipeline: Open your terminal and execute the main script:
    python SPICE.py --target_dir ./path/to/observation_folder
Optional Arguments:
  • --flux_cal: Manually specify the scan number for the flux calibrator (e.g., --flux_cal 4).
  • --refant: Manually specify the reference antenna (e.g., --refant C02).
Pipeline Outputs
SPICE generates structured data and visual diagnostics to help you quickly verify pulsar candidates:
  1. Tabular Data and Logs: "scintillation_log.csv" (primary science output catalog containing RA, DEC, SNR, scintillation bandwidth, and timescale), "pulsar_summary.txt" (high-level tracking summary), and "pipeline_log.txt" (technical logs).
  2. Diagnostic Plots: "source_X.jpg" files for every identified candidate showing raw/fitted dynamic spectra, 2D ACF, and 1D slices with Gaussian fits.
Contributing and Research
This pipeline was developed as part of a PhD thesis to streamline the identification of pulsars via their diffractive interstellar scintillation signatures. If you use SPICE in your research, please cite this repository. For bugs or feature requests, please open an issue in the GitHub tracker.
 

Files

G2-SL/SPICE-V1.0.zip

Files (623.3 kB)

Name Size Download all
md5:7e3435a3964b5419617818bc3e082d02
623.3 kB Preview Download

Additional details

Related works

Is supplement to
Software: https://github.com/G2-SL/SPICE/tree/V1.0 (URL)

Software