Skip to main content

No project description provided

Project description

Lint & Test codecov

Radstract

Radstract is python library containing shared code for RadOSS projects.

It has a range of subpackages for different tasks:

  • Data: For data/image manipulation and conversion functions
  • Analysis: For different methods of analyzing the data, from nifti and dicom files
  • Math: For different mathematical functions and operations
  • Datasets: for converting and working with different datasets (Huggingface etc)

Feel free to use this code in your own projects, and if you have any questions or suggestions, please feel free to open an issue.

Installation

pip install git+https://github.com/radoss-org/radstract.git

See examples here for a quickstart: https://github.com/radoss-org/Radstract/tree/main/examples

Docs

Docs can be viewed at https://radoss-org.github.io/radstract/radstract.html

Examples

See examples here: https://github.com/radoss-org/Radstract/tree/main/examples

Developer Guide

You can clone the repository and install the dependencies with the following command:

git clone https://github.com/radoss-org/radstract.git

You can then install retuve with poetry, and then run the tests:

# Needed for the scripts
pip install poethepoet

cd retuve
poetry install

# Generate the test data
poe testgen

# Run all tests, including examples.
poe test_all

# Get info on all other dev scripts
poe help

Acknowledgments

Data for the examples and tests is from https://github.com/radoss-org/radoss-creative-commons.

Please see this repo for attribution and licensing information.

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

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

radstract-1.0.0.tar.gz (184.6 kB view details)

Uploaded Source

Built Distribution

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

radstract-1.0.0-py3-none-any.whl (61.1 kB view details)

Uploaded Python 3

File details

Details for the file radstract-1.0.0.tar.gz.

File metadata

  • Download URL: radstract-1.0.0.tar.gz
  • Upload date:
  • Size: 184.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for radstract-1.0.0.tar.gz
Algorithm Hash digest
SHA256 570d2a89a015b4f8c3e01e072d9efe684f4629cb8f4c3fc5534185e265d500e7
MD5 c863e7e5553da2b6ddc5fd6ecbad2bf5
BLAKE2b-256 726a11d2bebe6d7d4b38d30ec249ce3d494f496897e207d2ae54b29f3bf04d1b

See more details on using hashes here.

Provenance

The following attestation bundles were made for radstract-1.0.0.tar.gz:

Publisher: pypi-release.yml on radoss-org/radstract

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

File details

Details for the file radstract-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: radstract-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 61.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for radstract-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 04e4f3fe4ed7f13d063a880f08afa4c06a3ed138b220f0c01bb946456ce7cc7a
MD5 59cee7dd725fe22028d30052903ddf35
BLAKE2b-256 dbdb3cb611ecdeed8ba4ed91a3c7fe31bd51e4131dde2e12a383015b038d3ca6

See more details on using hashes here.

Provenance

The following attestation bundles were made for radstract-1.0.0-py3-none-any.whl:

Publisher: pypi-release.yml on radoss-org/radstract

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