Utilities for reading HiST data, etc.
Project description
HiST Utils
HiST project raw video data reading utilities.
Install
python -m pip install -e .
User Programs/Scripts
These functions are primarily made to be used from the Terminal by a human, they implement a complete program using the module functions.
RunSimulPlay
Simultaneous video playback of two or more cameras.
- -i input file list (.h5)
- -t Time range start/stop
- -o Output directory for plots (optional, slow)
Example
$ python RunSimulFrame.py -i ~/data/cmos2013-01-14T1-15.h5 ~/data/ccd2013-01-14T1-15.h5
using the data from January 13, 2013 experiment during active plasma time.
ConvertDMC2h5.py
Typically used by our staff internally to convert our binary .DMCdata files to human- and fast processing- friendly HDF5 files.
Example
python ConvertDMC2h5.py -p 512 512 -b 1 1 -k 0.0188679245283019 -o testframes_cam0.h5 ~/data/2013-04-14T07-00-CamSer7196_frames_363000-1-369200.DMCdata -s 2013-04-14T06:59:55Z -t 2013-04-14T08:54:10Z 2013-04-14T08:54:10.05Z
python ConvertDMC2h5.py -p 512 512 -b 1 1 -k 0.0333333333333333 -o testframes_cam1.h5 ~/data/2013-04-14T07-00-CamSer1387_frames_205111-1-208621.DMCdata -s 2013-04-14T07:00:07Z -t 2013-04-14T08:54:10Z 2013-04-14T08:54:10.05Z
WhenEnd.py
Just predicts the end of a .DMCdata file "does this file cover the auroral event time?"
Module Functions
These functions are typically targeted for calling from other programs, however, many of these can also be used from the Terminal directly.
Examples
Many more possibilities exist, the -h option on most functions will
give some hints as to what the program can do.
Reference Examples
These examples are old, now we use HDF5 files. Kept for reference only.
Read .DMCdata file from within a Python script
from histutils import rawDMCreader
data = rawDMCreader.goRead('myfile.DMCdata')[0]
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file histutils-1.1.0.tar.gz.
File metadata
- Download URL: histutils-1.1.0.tar.gz
- Upload date:
- Size: 32.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7f4bf068aa30a920b0649374ab4b2cd3ca0613f2982d3357f51ad76f8627c70e
|
|
| MD5 |
940738cba8209d4f674f0d7d37d55530
|
|
| BLAKE2b-256 |
cbc994a271225b4ff12ecadf1a5a7eee0c78999a37f01e317906a19264c80f73
|
Provenance
The following attestation bundles were made for histutils-1.1.0.tar.gz:
Publisher:
publish-python-package.yml on space-physics/histutils
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
histutils-1.1.0.tar.gz -
Subject digest:
7f4bf068aa30a920b0649374ab4b2cd3ca0613f2982d3357f51ad76f8627c70e - Sigstore transparency entry: 1089246528
- Sigstore integration time:
-
Permalink:
space-physics/histutils@dcb5b22cc30da83424fbc12eb1c0bdfe4bf676b4 -
Branch / Tag:
refs/tags/v1.1.0 - Owner: https://github.com/space-physics
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-python-package.yml@dcb5b22cc30da83424fbc12eb1c0bdfe4bf676b4 -
Trigger Event:
release
-
Statement type:
File details
Details for the file histutils-1.1.0-py3-none-any.whl.
File metadata
- Download URL: histutils-1.1.0-py3-none-any.whl
- Upload date:
- Size: 37.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
84326d8484ad3d497a3b9fff4c1c0ad9b4d81b79f555eeafe538252a2fb6d5c9
|
|
| MD5 |
c989577472a75d8b0e853e047f96b181
|
|
| BLAKE2b-256 |
a36d20552d03eb01bb5da4e4649069bbe7a54b5c7bcf8640ac4bb44e48fa394f
|
Provenance
The following attestation bundles were made for histutils-1.1.0-py3-none-any.whl:
Publisher:
publish-python-package.yml on space-physics/histutils
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
histutils-1.1.0-py3-none-any.whl -
Subject digest:
84326d8484ad3d497a3b9fff4c1c0ad9b4d81b79f555eeafe538252a2fb6d5c9 - Sigstore transparency entry: 1089246592
- Sigstore integration time:
-
Permalink:
space-physics/histutils@dcb5b22cc30da83424fbc12eb1c0bdfe4bf676b4 -
Branch / Tag:
refs/tags/v1.1.0 - Owner: https://github.com/space-physics
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-python-package.yml@dcb5b22cc30da83424fbc12eb1c0bdfe4bf676b4 -
Trigger Event:
release
-
Statement type: