Skip to main content

Data reduction and analysis of HartRAO 26m telescope drift scans

Project description

DRAN README

DRAN (Data Reduction and ANalysis) is a recently developed software pipeline specifically designed to streamline the reduction and analysis of drift scan data acquired with HartRAO's 26m telescope. DRAN supersedes the older LINES continuum data reduction and analysis program previously employed at HartRAO.

Originally conceived as part of Dr. Pfesesani Van Zyl's Ph.D. project, DRAN is currently maintained by the author, a postdoctoral researcher at SARAO (the South African Radio AStronomy Observatory.

To get started with DRAN and read more on the full documentations of the program you can go to the DRAN READTHEDOCS page.

Acknowledging DRAN

To acknowledge the DRAN software pipeline, please cite van Zyl P. 2023. For a full citation, you can reference the following publication: arXiv:2306.00764 [astro-ph.IM].

Program structure

DRAN offers two user interfaces for flexibility:

  • Command-Line Interface (CLI): Designed for automated and semi-automated processing of drift scan data. The CLI streamlines the reduction and analysis of large batches of drift scan files.

  • Graphical User Interface (GUI): Provides a user-friendly environment ideal for interactive exploration and analysis of individual files. The GUI allows for data inspection, fitting, and basic analysis of time series data produced by the CLI.

Requirements

The list of required Python packages can be found in the included requirements.txt file.

Installation

DRAN is conveniently available for installation through the PYPI package manager using the following command:

  $ pip install dran2

Data files

Input Data Format

DRAN requires data to be provided in the Flexible Image Transport System FITS format, a common standard for scientific data.

File Reading Methods:

DRAN offers two ways to specify input data:

  1. Explicit File Path: Users can provide the complete path to a single FITS file or a directory containing FITS files for batch processing.
Example: 
$ dran-auto -f /path/to/single_file.fits
Example (batch processing): 
$ dran-auto -f /path/to/data_directory/
  1. Interactive Selection (GUI only): The graphical user interface (GUI) allows users to interactively browse and select individual FITS files for processing.

Output Data Format

DRAN stores the processed data in a SQLite database file. This file is automatically saved in the user's current working directory upon completion.

Getting Started with DRAN

Once you've installed DRAN, you can start processing your data. Here's a quick guide to get you started:

  1. Explore available options:

Run the following command to see a list of available options and what they do:

$ dran-auto -h or --help
  1. Process your data:

Use the -f option followed by the path to your data to process a single file or an entire directory:

  • To process a single file:
$ dran-auto -f /path/to/your/file.fits
  • To process all FITS files in a directory (batch processing):
$ dran-auto -f /path/to/your/data/directory/
  • To run the GUI
$ dran-gui 
  1. Additional options:

For more advanced users, the -db, -delete_db, -conv, and -quickview options provide additional functionalities. Refer to the full help menu (dran-auto -h) for detailed explanations.

note: If you have suggestions for new features, feel free to contact the author (details provided below).

Important Considerations:

While DRAN strives to provide good quality fits to your data, it's important to be aware of the following:

  • Automatic Fitting: DRAN performs automated fitting routines. However, it's crucial for users to visually inspect the results to ensure a satisfactory fit.

  • Data Quality: DRAN attempts to fit all data points, including potentially problematic ones. Users should be mindful of potential outliers or noise in their data that might affect the final fit.

Recommendation:

To ensure accurate analysis, we recommend that users review the generated plots located in the "plots" folder. These plots visually represent the fit and can help identify any potential issues with the data or the fitting process.

Get Help and Contribute

Having trouble with DRAN? Have questions about the software or features? We encourage you to:

  • Report Issues: Encounter any bugs or unexpected behavior? Please OPEN AN ISSUE on the GitHub repository.
  • Share your thoughts: We value your feedback! Feel free to use the GitHub issue tracker to suggest improvements or request new features.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

dran2-0.0.9-py3-none-any.whl (149.9 kB view details)

Uploaded Python 3

File details

Details for the file dran2-0.0.9-py3-none-any.whl.

File metadata

  • Download URL: dran2-0.0.9-py3-none-any.whl
  • Upload date:
  • Size: 149.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for dran2-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 862bcee9cca4b4453e43e47549277e917730d1f2af405df5f887f8b5daf3e723
MD5 99966c4cb29a571e6d2b02dfb588a301
BLAKE2b-256 a4c5e6e45ede74cee714fbc95b00052dedbf19eaea667fda23973adc5a6811d8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page