Roman-cuts
Lightweight package to create image cutouts from simulations made with RImTimSim
Install
Easy install with PyPI
pip install roman-cuts
Usage
For more details check out the notebook tutorial here.
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), dithered=True)
# or using rowcol pixel coordinates
rowcol = (256, 256)
rcube.make_cutout(rowcol=rowcol, size=(11, 11), dithered=False)
# we can save to disk, default is ASDF
rcube.save_cutout()
Examples
The figure shows a sequence of 21x21 pixel cutouts taken from the FFI simulations centered on the target RA, Decl = (268.5112137932491, -29.24473947250156). This account for dithered observations
The data is saved into a ASDF file as shown below:
Metadata
Release files for roman-cuts 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| roman_cuts-0.3.1.tar.gz | 79.7 kB | Without provenance | Details for roman_cuts-0.3.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| roman_cuts-0.3.1-py3-none-any.whl | Python 3 | none | any | Details for roman_cuts-0.3.1-py3-none-any.whl |
Total release size: 159.3 kB
Release files / roman_cuts-0.3.1.tar.gz
| Download URL | roman_cuts-0.3.1.tar.gz |
|---|---|
| Size | 79.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
317036440c43e3e9317b41275b92db2a022f6e6e360d75275a8aef85986fab62
|
|
BLAKE2b-256 checksum How to use checksums |
6fc58df86e841225306a46ce34e18b3bac2b1b9985a46eb9b63c8456921b5489
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.9.23 Linux/6.11.0-1018-azure
|
Release files / roman_cuts-0.3.1-py3-none-any.whl
| Download URL | roman_cuts-0.3.1-py3-none-any.whl |
|---|---|
| Size | 79.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
50e2f7d2397f97b9b2d569fa8f623f5d50a8843ac133418e5ee5b43bb0ce2d5f
|
|
BLAKE2b-256 checksum How to use checksums |
5f4840d9a6a57c10d885b47710d86740f13111b06a042a2b6ae9cf90082de657
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.9.23 Linux/6.11.0-1018-azure
|
Security for roman-cuts 0.3.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.