Skip to main content

Utilities for reading HiST data, etc.

Project description

HiST Utils

DOI PyPI versions PyPI Download stats

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

histutils-1.1.0.tar.gz (32.3 kB view details)

Uploaded Source

Built Distribution

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

histutils-1.1.0-py3-none-any.whl (37.5 kB view details)

Uploaded Python 3

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

Hashes for histutils-1.1.0.tar.gz
Algorithm Hash digest
SHA256 7f4bf068aa30a920b0649374ab4b2cd3ca0613f2982d3357f51ad76f8627c70e
MD5 940738cba8209d4f674f0d7d37d55530
BLAKE2b-256 cbc994a271225b4ff12ecadf1a5a7eee0c78999a37f01e317906a19264c80f73

See more details on using hashes here.

Provenance

The following attestation bundles were made for histutils-1.1.0.tar.gz:

Publisher: publish-python-package.yml on space-physics/histutils

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

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

Hashes for histutils-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 84326d8484ad3d497a3b9fff4c1c0ad9b4d81b79f555eeafe538252a2fb6d5c9
MD5 c989577472a75d8b0e853e047f96b181
BLAKE2b-256 a36d20552d03eb01bb5da4e4649069bbe7a54b5c7bcf8640ac4bb44e48fa394f

See more details on using hashes here.

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

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 Pingdom Monitoring Sentry Error logging StatusPage Status page