Metadata-Version: 2.1
Name: finalflash
Version: 0.3.7
Summary: A tool for uGMRT primary beam correction
Home-page: https://github.com/arpan-52/Finalflash
Author: Arpan Pal
Author-email: arpan522000@gmail.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy
Requires-Dist: astropy

# Finalflash

**Finalflash** is a tool for correcting radio interferometric images using the uGMRT primary beam model. Inspired by Vegeta’s ultimate attack in Dragon Ball Z, this tool provides accurate corrections for uGMRT FITS images.


<p align="center">
  <img src="https://github.com/arpan-52/Finalflash/blob/main/vegeta.gif" alt="FinalFlash Animation" width="500"/>
  <br/>
  <i>Vegeta's Final Flash</i>
</p>



## Installation

Install Finalflash via pip:

```bash

pip3 install finalflash
```
## Usage

```bash

finalflash <input.fits> <output.fits> [--beam threshold --jvla]
```
## Version History

version 0.3.4. - Heavily tested for single-frequency FITS file corrections.

version 0.3.5. - Experimental version for both single and frequency-cube corrections. 

version 0.3.6. - Cube correction with proper header retention for both cubes and single frequency fits images.

version 0.3.7  - Manual beam threshold and support for JVLA beams.

## Citation

If **Finalflash** saves your analysis from the chaos of uncorrected primary beams and handling CASA tasks, give it a little love in your acknowledgements! Add this line in the acknowledgement section:

*"Primary beam corrections were performed using Finalflash, hosted at [https://github.com/arpan-52/Finalflash](https://github.com/arpan-52/Finalflash)."*  

Until it makes its debut on ASCL or I finally write my holography paper, your acknowledgement would be *super* appreciated. As some random user in the internet mentioned:
"Science without ethics is like a spaceship without fuel—sure, it looks good, but it’s going nowhere."


