Skip to main content

crispy: A Python Package for Using Imaging Spectropolatimetric Data in Solar Physics

Author: John A. Armstrong, Univeristy of Glasgow

The following repository contains the source code for the crispy Python package, aptly named due to my working with the CRisp Imagining SpectroPolarimeter (CRISP) instrument mounted at the Swedish 1-m Solar Telescope (SST) in La Palma, Spain. (However, the code with work any imaging spectropolarimetric data regardless of instrument so long as it follows normal FITS standards or a custom zarr standard I have grown accustomed to using, see the docs for more details).

Why does this exist?

crispy started its life as the base code for data viewing/augmentation/analysis for my PhD as the tools for data exploration and exploitation of this kind of solar physics data did not previously exist.

What is imaging spectropolarimetric data?

The type of data that crispy is built to deal with is optical imaging spectropolarimetry data. This kind of data consists of measurements of a number of Stokes profiles at specific narrowband wavelength points over an extended field-of-view over a given length of time. What this means is that we have five-dimensional data structures ordered (t, stokes, λ, y, x). This kind of data is very powerful for exploring the lower solar atmopshere due to having relatively high spectral, polarimetric and spatial resolutions. The time resolution can be not shabby too.

How do I get this moderately cool Python package?

crispy can be found on PyPI using:

pip install sst-crispy

or can be installed from source using:

git clone https://github.com/bionic-toucan/crispy
cd crispy
python setup.py install --user

Acknowledgements

I would like to thank Chris Osborne (https://github.com/Goobley) for the improved rotation algorithm used for data rotated in the images plane to coincide with the helioprojective plane and also for listening to me complaining all the time and telling me about the wonders of properties.

Release files for sst-crispy 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sst-crispy 1.0.2
File Size Uploaded
sst-crispy-1.0.2.tar.gz 48.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sst-crispy 1.0.2
File Interpreter ABI Platform
sst_crispy-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 98.1 kB

Release files / sst-crispy-1.0.2.tar.gz

Download URL sst-crispy-1.0.2.tar.gz
Size 48.1 kB
Tags Source
SHA-256 checksum
How to use checksums
ff27e86850965897c247c02204832da37ec42da939440f7d18a77eb6f2d0f5e2
BLAKE2b-256 checksum
How to use checksums
e7c3dfdf655d8165ad9c30971e5c2b806f0e2ba61185117f2b8ec0a8ce772f8c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

Release files / sst_crispy-1.0.2-py3-none-any.whl

Download URL sst_crispy-1.0.2-py3-none-any.whl
Size 50.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5314ffdd6a14869f195d8ea422c37cb6c2771cf1492a932b471db1cf19277a41
BLAKE2b-256 checksum
How to use checksums
f71f93c66e2ef050edcf889147c322080722623f1b7e68e78e460bed029784e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

1.0.1

1 release file

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page