Skip to main content

eyepiece

Plotting and animation primitives for astronomical imaging simulations.

What eyepiece is

eyepiece provides ax-first, stateless figure functions for the plots that recur across direct-imaging work: log-scaled and diverging image displays, complex-field panels, corner plots, orbit and sky-track scenes, optical-train schematics, and a multi-sink animation recorder that grabs frames once and writes them to any combination of gif, mp4, and html. Every primitive takes plain arrays in and returns a small result object holding the axes and the artists it drew, so callers can update or extend a figure without re-deriving which line or image object came from where.

Figure style (color, colormaps, and mode) is resolved through hwostyle at call time, not at import time. import eyepiece never activates a style or touches matplotlib's rcParams. Without an active hwostyle mode, primitives fall back to a fixed light-mode palette, so eyepiece also works as a standalone plotting library.

What eyepiece is not

  • Not a simulation library. eyepiece takes arrays and returns figures; it never imports a simulation, orbit, or optics package.
  • Not a style engine. Color, colormap, and mode definitions live in hwostyle; eyepiece only reads them at call time.
  • Not a data pipeline. Aggregating or transforming simulation output before plotting is the caller's job.

Status

eyepiece is in early development. The package currently exposes only its version; the plotting and animation API is under active construction.

Installation

pip install eyepiece

Unit conversions used by a small number of layout helpers (arcsecond and AU extents) are optional and pull in hwoutils:

pip install eyepiece[hwo]

License

MIT

Download files

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

Source Distribution

eyepiece-0.0.1.tar.gz (32.8 kB view details)

Uploaded Source

Built Distribution

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

eyepiece-0.0.1-py3-none-any.whl (32.7 kB view details)

Uploaded Python 3

File details

Details for the file eyepiece-0.0.1.tar.gz.

File metadata

  • Download URL: eyepiece-0.0.1.tar.gz
  • Upload date:
  • Size: 32.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for eyepiece-0.0.1.tar.gz
Algorithm Hash digest
SHA256 75c00a02c0c3ad6cd2af1cc651a1d3378f53f1edf644affa12b3fe3515e40c0a
MD5 50b5540a255490e86a6b150e60c5586f
BLAKE2b-256 a2c34b9d230d5e72873df977acd6d229995da1f3483c1260a6036a6b3301b34b

See more details on using hashes here.

Provenance

The following attestation bundles were made for eyepiece-0.0.1.tar.gz:

Publisher: publish-to-pypi.yml on CoreySpohn/eyepiece

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file eyepiece-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: eyepiece-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 32.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for eyepiece-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 65e25caeb20d336cc0ec318d5a965669ea83b0930e507480a9e7ac4157060967
MD5 496589f1d5257663d405198b7f3294e4
BLAKE2b-256 09f6309550652a5e98e5b48406bac64002fda1152dff893f29a1c4554a0986f6

See more details on using hashes here.

Provenance

The following attestation bundles were made for eyepiece-0.0.1-py3-none-any.whl:

Publisher: publish-to-pypi.yml on CoreySpohn/eyepiece

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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