Skip to main content

This package creates useful helper functions for python API

Project description

hdcms

This library is available on pypi here. Install using pip install hdcms.

A very simple example:

import hdcms as hdc

hdc.generate_examples(visualize=True)
gaussian_sum_stat = hdc.regex2stats1d(r"gaus_\d+.txt")
laplacian_sum_stat = hdc.regex2stats1d(r"laplace_\d+\.txt")

print(hdc.compare(gaussian_sum_stat, laplacian_sum_stat))
hdc.write_image(gaussian_sum_stat, "tmp.png")

For more documentation: see examples/ directory.

Dependencies

This library is built on top of the hdcms-bindings package, which exposes python bindings to a C library.

numpy is a necessary dependency for every function.

matplotlib and scipy are needed for generate_example(), which will generate a random synthetic data set.

Change Log

0.1.27 version 0.1.27: updating rounding in gaussian2d code
0.1.26 Bug fix: npeaks for y-hdc for visualization was possible
0.1.25 Added missing optional args for filenames2stats*
0.1.24 Add npeaks for visualization
0.1.23 Add xtol
0.1.22 Fix new colors for write_image
0.1.21 New colors for write_image
0.1.20 Change name from ms_valid_data_format to is_valid_ms_data_format + scaling, start, end, num_bins
0.1.19 Return image from write_image
0.1.18 Add labels to visualization configuration options
0.1.17 Use matplotlib axes rather than my own
0.1.16 Bug fixes (text for x axis, names for regex2filenames)
0.1.15 Return image from write_image, rather than writing to file
0.1.14 Add new params to write_image
0.1.13 Add new params to write_image
0.1.12 Add params to write_image
0.1.11 Fix problems introduced by rename
0.1.10 Really rename (broken)
0.1.9 Rename, performance for visulize in 1D case (broken)
0.1.8 Add documentation

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

hdcms-0.1.27.tar.gz (10.5 kB view details)

Uploaded Source

Built Distribution

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

hdcms-0.1.27-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

Details for the file hdcms-0.1.27.tar.gz.

File metadata

  • Download URL: hdcms-0.1.27.tar.gz
  • Upload date:
  • Size: 10.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for hdcms-0.1.27.tar.gz
Algorithm Hash digest
SHA256 cc6c3c1aae04c091987841aff0119691e17aee29a19744a0230f61c4e703ad4c
MD5 7195a191c3b9da87cc0ae17ebc4cacd2
BLAKE2b-256 6a67c0914e1fb13420cc905aa5276a8958eea322a48e1342471b33161f38ab00

See more details on using hashes here.

File details

Details for the file hdcms-0.1.27-py3-none-any.whl.

File metadata

  • Download URL: hdcms-0.1.27-py3-none-any.whl
  • Upload date:
  • Size: 10.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for hdcms-0.1.27-py3-none-any.whl
Algorithm Hash digest
SHA256 78034fb05db00e4749dc9760289f2e2502568aab760c6385c9eb2a5edfab1764
MD5 3fe8e1387e59309687ee5309d562e705
BLAKE2b-256 99ba39ea1d7bac5534e6e09d1d0686c3dbf131cec478b53ddae2e8714b1bb2bd

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