Skip to main content

No project description provided

Project description

Roman-cuts

Lightweight package to create image cutouts from simulations made with RImTimSim

Install

pip install roman-cuts

Usage

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()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

roman_cuts-0.1.0.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

roman_cuts-0.1.0-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file roman_cuts-0.1.0.tar.gz.

File metadata

  • Download URL: roman_cuts-0.1.0.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.14 Darwin/23.6.0

File hashes

Hashes for roman_cuts-0.1.0.tar.gz
Algorithm Hash digest
SHA256 fb1d1a9e68102ed4ab7d2881b215b54970d0d5853fb39a8b9b6c3b74d86b93ed
MD5 d9c5862d94a510d85bfe0d5e41d69beb
BLAKE2b-256 a7a5996efd41b1ad82a6a3914152b23eb676a1d5b58f92399921cbc841c80021

See more details on using hashes here.

File details

Details for the file roman_cuts-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: roman_cuts-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.14 Darwin/23.6.0

File hashes

Hashes for roman_cuts-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2a2a54ee76687b785e130caeeaaec1b084af40e65230b06787ac565ec6c16bff
MD5 1b1a2dabfe341640ae93033f370fa188
BLAKE2b-256 c420017f4f136ed9f57b6be7fbd2607142fb65a355a742334db5a7e160b3d255

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page