Skip to main content

A data processing library for Nion Swift.

Project description

Nion Data

The Nion Data library (used in Nion Swift)

NionData is the data library for Nion Swift.

tests

Travis CI build status (Linux)

package

Latest PyPI version

More Information

Changelog (niondata)

0.14.1 (2021-12-13)

  • Enable support for Python 3.10.

  • Fix issue for cross correlation using only first image.

  • Fix regression with template register using rounded position.

  • Extend sequence trim/integrate to work on sequences of collections.

  • Fix half-pixel offset in register_template.

  • Allow a mask in register_template for fine-tuning maximum finding.

0.14.0 (2021-11-10)

  • Enable strict typing.

  • Drop support for Python 3.7.

  • Add auto-thresholding functions.

0.13.15 (2021-05-26)

  • Optimize element data for sequence + collection case.

  • Change sub-pixel registration method to parabola fit to improve speed.

0.13.14 (2021-03-12)

  • Add affine transform function and optional order parameter to warp.

  • Allow zero-dimensioned (scalar) data and metadata objects.

0.13.13 (2020-12-08)

  • Make special case of C(1) D(1) < 16 from element data function optional.

0.13.12 (2020-10-06)

  • Fixed RGB issues when data backed by h5py array instead of numpy array.

  • Changed rescale to take a new parameter ‘in_range’.

  • Changed rgba/rgb functions to clip data to 0, 255.

  • Split display functions into element and scalar functions.

0.13.11 (2020-08-31)

  • Introduce calibrated coordinates and reference frames (preliminary).

  • Improve handling of NaNs in rebin_1d.

  • Add xdata function rebin_image.

  • Fix issue with bounds when rotating data.

  • Fix issues with concatenate and data descriptor.

  • Add xdata functions to split/join sequences.

  • Add template matching functions to xdata.

  • Make pick functions work for sequences of spectrum images.

0.13.10 (2020-02-26)

  • Change shift/align functions to use spline-1st-order; add Fourier variants as alternative.

  • Fix calibration bug in xdata concatenate (and some cases of hstack, vstack).

  • Add function to generate elliptical masks.

  • Change FFT to put calibration origin at 0.5, 0.5 pixels from center.

0.13.9 (2019-11-27)

  • Improve handling of squeeze/calibration for sequence measurements.

  • Add new navigation properties (combo of is_sequence and collection) to data.

  • Support slicing on RGB sequences (for display data).

0.13.8 (2019-10-24)

  • Added optional registration area bounds to align and register functions.

0.13.7 (2019-02-27)

  • Added mean function. Add keepdim param to mean/sum. Allow negative indices.

0.13.6 (2018-12-28)

  • Fix display RGB calculation on integer images.

  • Add methods for better control of data ref count.

0.13.5 (2018-12-11)

  • Add setters for timezone, timezone_offset, and timestamp.

0.13.4 (2018-11-13)

  • Add measure_relative_translation function to xdata. Utilize in align.

  • Generalize align and register sequence to accept any combo of sequence and collection dimensions.

  • Provide more descriptive data dimensions string.

0.13.3 (2018-06-15)

  • Fix squeeze to not remove last datum dimension.

  • Add re-dimension function (changes data description, keeps data layout in memory the same).

  • Ensure that data_descriptor is a copy, not a reference, when accessed from DataAndMetadata.

  • Add calibration and data_descriptor creation methods to xdata_1_0.

  • Change crop to always produce the same size crop, even if out of bounds. Fill out of bounds with zero.

  • Add crop_rotated to handle crop with rotation (slower).

0.13.2 (2018-05-23)

  • Automatically promote ndarray and constants (where possible) to xdata in operations.

  • Fix FFT-1D scaling and shifting inconsistency.

  • Add average_region function (similar to sum_region).

0.13.1 (2018-05-21)

  • Fix timezone bug.

0.13.0 (2018-05-10)

  • Initial version online.

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

niondata-0.14.1.tar.gz (51.0 kB view details)

Uploaded Source

Built Distribution

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

niondata-0.14.1-py3-none-any.whl (53.0 kB view details)

Uploaded Python 3

File details

Details for the file niondata-0.14.1.tar.gz.

File metadata

  • Download URL: niondata-0.14.1.tar.gz
  • Upload date:
  • Size: 51.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for niondata-0.14.1.tar.gz
Algorithm Hash digest
SHA256 a2acd92544fa7fe40d83705f36e9fcd2a4e1839ec73f83d9418d34a102b23f41
MD5 d223fd3e30f7f2e86c455280639298c3
BLAKE2b-256 bd6bcac2de33e2502d5db291646bf31e9366e013a1829c4eef890b57b1c38b55

See more details on using hashes here.

File details

Details for the file niondata-0.14.1-py3-none-any.whl.

File metadata

  • Download URL: niondata-0.14.1-py3-none-any.whl
  • Upload date:
  • Size: 53.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for niondata-0.14.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6670928a73b56234fc787763915368492e1d07204fc90c4f03cccab1bc49e64a
MD5 c7080230bf257587d6e94f0b91dcbdc5
BLAKE2b-256 3012300ece10ed216622aaa6486f0e367f97fb0392ff4ffb9092d6e63db270a2

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