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:
- 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/
- 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:
- Explore available options:
Run the following command to see a list of available options and what they do:
$ dran-auto -h or --help
- 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
- 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file dran2-0.0.8-py3-none-any.whl
.
File metadata
- Download URL: dran2-0.0.8-py3-none-any.whl
- Upload date:
- Size: 149.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65a55e344e5c6a380dcd4940c1f7e376671f5d86cedbdc9760b955a7fb1b9f44 |
|
MD5 | 9ef3f9a9093f8a6b6487d63b17951fbc |
|
BLAKE2b-256 | d681d3ddb3407c484ad67a9649b378f27a37a4c67ab62c0325b720027628c51f |