Metadata-Version: 2.1
Name: ratansunpy
Version: 0.2.7
Summary: RATAN-600 radioastronomical solar data and methods Python library
Home-page: https://github.com/SpbfSAO/RATANSunPy
License: MIT
Keywords: solar physics,radioastronomy,physics,data proccessing,ratan-600
Author: Igor Lysov
Author-email: iilysov.sci@gmail.com
Requires-Python: >=3.10,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: PyWavelets (==1.7.0)
Requires-Dist: astropy (>=6.1.3,<7.0.0)
Requires-Dist: et-xmlfile (>=1.1.0,<2.0.0)
Requires-Dist: matplotlib (>=3.7.0,<4.0.0)
Requires-Dist: numpy (>=1.26.0,<2.0.0)
Requires-Dist: openpyxl (>=3.1.5,<4.0.0)
Requires-Dist: pandas (>=2.2.2,<3.0.0)
Requires-Dist: python-dateutil (>=2.8.2,<3.0.0)
Requires-Dist: requests (>=2.32.3,<3.0.0)
Requires-Dist: scipy (>=1.13.1,<2.0.0)
Requires-Dist: tqdm (>=4.67.1,<5.0.0)
Project-URL: Documentation, https://SpbfSAO.github.io/RATANSunPy/
Project-URL: Repository, https://github.com/SpbfSAO/RATANSunPy
Description-Content-Type: text/markdown

# ``RATANSunPy``
``RATANSunPy`` 

RATANSunPy is a Python package developed for accessing, visualizing, and analyzing
multi-band radio observations of the Sun from the RATAN-600 complex. These data are 
valuable for diagnosing solar plasma conditions and predicting solar activity. 
However, working with these data requires extensive processing and a thorough 
understanding of the RATAN-600 system. The package offers comprehensive data 
processing functionalities, including direct access to raw data, essential 
processing steps such as calibration and quiet Sun normalization, and tools for 
analyzing solar activity. This includes automatic detection of local sources,
identifying them with NOAA active regions, and further determining parameters for 
local sources and active regions.

![ratansunpy workflow](images/ratansunpy_workflow.png)

## Installation

To install RATANSunPy, run the following command:
```bash
pip install ratansunpy
```

## Usage
 
For more detailed information about the package and its functionalities, please refer to the [official documentation](https://spbfsao.github.io/RATANSunPy/).
The best place to start is the in [example gallery](https://github.com/SpbfSAO/RATANSunPy/tree/main/notebooks)  
also includes a collection of shorter and more specific examples of using ratansunpy, or you can look at example usages in [colab notebook](https://colab.research.google.com/drive/1JCaW_Kj-1Al-sDoNhJRawlSit5gietKm?usp=sharing) if you want to try it yourself. 

<p align="center">
  <img src="images/raw_ratan_scan.png" alt="ratan fits data" style="width:65%;"/>
</p>

## Related works

Articles:
- RatanSunPy: A robust preprocessing pipeline for RATAN-600 solar radio observations data: https://arxiv.org/abs/2412.08230
- The Ratan Active Region Patches (RARPs) Database: A New Database of Solar Active Region Radio Signatures from the RATAN-600 Telescope: https://arxiv.org/abs/2512.05702

Conference paper:
- https://link.springer.com/chapter/10.1007/978-3-032-07690-8_7

## Contributing

Contributions are welcome! If you have suggestions for improvements or bug fixes, 
please feel free to open an issue or submit a pull request.


