Metadata-Version: 2.1
Name: roman-cuts
Version: 0.1.0
Summary: 
Author: Jorge Martinez-Palomera
Author-email: jorgemarpa@ug.uchile.cl
Requires-Python: >=3.10,<4.0
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: asdf-astropy (>=0.7)
Requires-Dist: astropy (>5,<7)
Requires-Dist: matplotlib (>=3.10.1,<4.0.0)
Requires-Dist: numpy (>1.26,<3.0)
Requires-Dist: pandas (>1.5,<3.0)
Requires-Dist: tqdm (>=4.67.1,<5.0.0)
Description-Content-Type: text/markdown

# Roman-cuts

Lightweight package to create image cutouts from simulations made with `RImTimSim`

## Install

```
pip install roman-cuts
```

## Usage

```python
from roman_cuts import RomanCuts

# make a list of your local FITS files
fl = paths to local FITS files

rcube = RomanCuts(field=3, sca=1, filter="F146", file_list=fl)

# using sky coord coordinates
radec = (268.461687, -29.232092)
rcube.make_cutout(radec=radec, size=(21, 21))
# or using rowcol pixel coordinates

rowcol = (256, 256)
rcube.make_cutout(rowcol=rowcol, size=(11, 11))

# we can save to disk, default is ASDF
rcube.save_cutout()
```
