Skip to main content

hurahura - formerly miresearch

Organisation and automation tools for medical imaging research data

hurahura is māori for "to investigate" or "to look around"

Installation:

pip install hurahura
# formerly: pip install imaging-research

About

This is a collection of classes for following OOP principles for organisation of research data for medical imaging research studies.

The intention is to provide a framework that will store imaging data on a "per examination" basis in a structured format. This structured format then permits simple interrogation, and automation.

It takes advantage of the dicom standard and the package spydcmtk for automating and generalising many typical steps with the intention of making the researcher's life easier.

This package may be easily adapted and expanded upon for a high level control over your research data. Or, it may be used as is for basic structure and organisation of data and automation of common tasks.

Class structure

AbstractSubject class is top level class taking inputs:

  • subjectNumber : an integer
  • dataRoot : the root directory where subjects to be stored
  • subjectPrefix : a prefix to be combined with subjectNumber for naming each subject
    • Optional: will be guessed from subjects already present in dataRoot if not given.
  • DIRECTORY_STRUCTURE_TREE : DirectoryStructureTree class to define directory structure for each subject directory (see wiki for construction shortcuts)
    • Optional: Defaults to RAW and META directories.

This is the basic parent class containing fundamental methods for organisation and management. See hurahura docs for advanced usage, epsecially via inheritance and polymorphism.

Configuration

hurahura uses a miresearch.conf file for configuration.

By default miresearch.conf files are search for in the following locations:

  1. source_code_directory/miresearch.conf (file with default settings)
  2. $HOME/miresearch.conf
  3. $HOME/.miresearch.conf
  4. $HOME/.config/miresearch.conf
  5. Full file path defined at environment variable: "MIRESEARCH_CONF"
  6. Full path passed as commandline argument to hurahura

Files are read in the above order with each subsequent variable present overwritting any previously defined. For information on files found and variables used run:

hurahura -INFO

File system watcher

hurahura can watch a directory for new subjects and load them into the system. This works nicely with AUTORTHANC

hurahura -WatchDirectory /path/to/watch_directory

UI

hurahura can be run with a UI for easy management of subjects and data.

hurahura -UI

Documentation

For full documentation see hurahura docs

Metadata

Release files for hurahura 0.2.5

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

Source distribution (sdist)

Source distribution for hurahura 0.2.5
File Size Uploaded Provenance Actions
hurahura-0.2.5.tar.gz 46.8 kB Without provenance Details for hurahura-0.2.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hurahura 0.2.5
File Interpreter ABI Platform Actions
hurahura-0.2.5-py3-none-any.whl Python 3 none any Details for hurahura-0.2.5-py3-none-any.whl

Total release size: 99.1 kB

Release files / hurahura-0.2.5.tar.gz

Download URL hurahura-0.2.5.tar.gz
Size 46.8 kB
Tags Source
SHA-256 checksum
How to use checksums
7612e811a9ed6b3790846bae76361779c0d9a3bbccb455eb686344497aff0409
BLAKE2b-256 checksum
How to use checksums
a875af79a6e22dca3f8ac695798cdff6ad8d9278c3394408686e26cc51856e97
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.12

Release files / hurahura-0.2.5-py3-none-any.whl

Download URL hurahura-0.2.5-py3-none-any.whl
Size 52.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f36d1f0fd3a0d262ee77875cfa664dfa0673870741157db84dfc05d2f292cb93
BLAKE2b-256 checksum
How to use checksums
8c50adaa73130b533e824cb788204d6a5e4c63d4c4e20e01d3b669ea5cecd41b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.12

Security for hurahura 0.2.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.5 This release

2 release files No provenance

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