Skip to main content

Python utility classes and functions

Project description

trm.utils is a home for a few odds and ends that don’t on their own justify their own package but are quite often useful. For instance trm.utils.vec3 is a sub-module that handles 3D Cartesian vectors, while trm.utils.splfit is a method based on scipy routines that carries out the commonly needed task of spline fitting with rejection of bad data.

Installation

trm.utils makes use of numpy, scipy and astropy (listed in the pyproject.tomol files as requirements), and requires Python 3.6+. One routine mpl_style_axes only makes sense for matplotlib plots, but if you don’t use it, you don’t need matplotlib to be installed.

Install trm.utils with:

pip install trm.utils

to get via PyPI, or:

pip install .

if you have cloned from github. If you don’t have root access, append --user to the above commands to get a local install.

  • Free software: BSD license

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

trm.utils-1.0.0.tar.gz (8.7 kB view details)

Uploaded Source

Built Distribution

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

trm.utils-1.0.0-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file trm.utils-1.0.0.tar.gz.

File metadata

  • Download URL: trm.utils-1.0.0.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for trm.utils-1.0.0.tar.gz
Algorithm Hash digest
SHA256 3ad54a00002331c9c6a5df4f4172e0d757d76d516bdbd44f3dffd8537a46e0a0
MD5 8946da7636c9db4c7b54d3c9195a4feb
BLAKE2b-256 d4752ae82d7814c49805e7401ed181d40e0e274c8250b1f7715bbbab6467874b

See more details on using hashes here.

File details

Details for the file trm.utils-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: trm.utils-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 7.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for trm.utils-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 01533fe5ffe58ad342886b2536dc04e52987a345650a0ec9b131f3aa5fbbb79f
MD5 cc1eec6b33a27ce6da589f79b6a3f160
BLAKE2b-256 6bc78b2254c6b217508b60b9ab3f52b8f73d07d7aa6b8fa59999f27e197bbc5a

See more details on using hashes here.

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