niondata


Nameniondata JSON
Version 15.6.2 PyPI version JSON
download
home_pagehttps://github.com/nion-software/niondata
SummaryA data processing library for Nion Swift.
upload_time2024-01-02 22:27:52
maintainer
docs_urlNone
authorNion Software
requires_python>=3.9
licenseApache-2.0
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Nion Data
=========

The Nion Data library (used in Nion Swift)
------------------------------------------
NionData is the data library for Nion Swift.

.. start-badges

.. list-table::
    :stub-columns: 1

    * - tests
      - | |linux|
    * - package
      - |version|


.. |linux| image:: https://img.shields.io/travis/nion-software/niondata/master.svg?label=Linux%20build
   :target: https://travis-ci.org/nion-software/niondata
   :alt: Travis CI build status (Linux)

.. |version| image:: https://img.shields.io/pypi/v/niondata.svg
   :target: https://pypi.org/project/niondata/
   :alt: Latest PyPI version

.. end-badges

More Information
----------------

- `Changelog <https://github.com/nion-software/niondata/blob/master/CHANGES.rst>`_

Changelog (niondata)
====================

15.6.2 (2024-01-02)
-------------------
- Add power function (xdata.power).
- Add radial profile function (xdata.radial_profile).
- Improve handing of invalid inverse coordinates (1/0).
- Add support for computing the phase of a complex array (thanks Luc J Bourhis).
- Improve performance (eliminate some unnecessary metadata dict copying)

15.6.1 (2023-10-23)
-------------------
- Minor update for typing compatibility.

15.6.0 (2023-08-17)
-------------------
- Reapply DataMetadata read-only accessors change.
- Make read-only accessors to all DataMetadata properties instead of having them be read/write.

0.15.5 (2023-06-21)
-------------------
- Revert breaking change: DataMetadata read-only accessors.

0.15.4 (2023-06-19)
-------------------
- Introduce rebin_factor xdata function.
- Carry through intensity calibration during FFT/IFFT.
- Add copy magic method to data metadata.
- Make read-only accessors to all DataMetadata properties instead of having them be read/write.
- Require Python 3.9 or higher.

0.15.3 (2022-10-03)
-------------------
- Add is_valid method to calibrations and use when converting to strings.

0.15.2 (2022-09-13)
-------------------
- Add low level functions for general multi-dimensional processing.

0.15.1 (2022-07-25)
-------------------
- Use scipy.fft for FFT's for better/consistent performance.

0.15.0 (2022-02-28)
-------------------
- Add axis_coordinates function to generate coordinate values from calibrated xdata.
- Simplify data and metadata by eliminating unloading capability (no effect on public API).

0.14.3 (2022-02-18)
-------------------
- Fix issue where timezone/timezone_offset could get set to invalid values.
- Improve Gaussian blur to handle RGB.

0.14.2 (2022-01-03)
-------------------
- Improve compatibility with HDF5 backed data (use numpy.copy instead of d.copy).

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.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/nion-software/niondata",
    "name": "niondata",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": "",
    "keywords": "",
    "author": "Nion Software",
    "author_email": "swift@nion.com",
    "download_url": "https://files.pythonhosted.org/packages/15/47/c15010347df29db34090cd9b8c38257eb2117d6511ec0980f81dc936f5cf/niondata-15.6.2.tar.gz",
    "platform": null,
    "description": "Nion Data\n=========\n\nThe Nion Data library (used in Nion Swift)\n------------------------------------------\nNionData is the data library for Nion Swift.\n\n.. start-badges\n\n.. list-table::\n    :stub-columns: 1\n\n    * - tests\n      - | |linux|\n    * - package\n      - |version|\n\n\n.. |linux| image:: https://img.shields.io/travis/nion-software/niondata/master.svg?label=Linux%20build\n   :target: https://travis-ci.org/nion-software/niondata\n   :alt: Travis CI build status (Linux)\n\n.. |version| image:: https://img.shields.io/pypi/v/niondata.svg\n   :target: https://pypi.org/project/niondata/\n   :alt: Latest PyPI version\n\n.. end-badges\n\nMore Information\n----------------\n\n- `Changelog <https://github.com/nion-software/niondata/blob/master/CHANGES.rst>`_\n\nChangelog (niondata)\n====================\n\n15.6.2 (2024-01-02)\n-------------------\n- Add power function (xdata.power).\n- Add radial profile function (xdata.radial_profile).\n- Improve handing of invalid inverse coordinates (1/0).\n- Add support for computing the phase of a complex array (thanks Luc J Bourhis).\n- Improve performance (eliminate some unnecessary metadata dict copying)\n\n15.6.1 (2023-10-23)\n-------------------\n- Minor update for typing compatibility.\n\n15.6.0 (2023-08-17)\n-------------------\n- Reapply DataMetadata read-only accessors change.\n- Make read-only accessors to all DataMetadata properties instead of having them be read/write.\n\n0.15.5 (2023-06-21)\n-------------------\n- Revert breaking change: DataMetadata read-only accessors.\n\n0.15.4 (2023-06-19)\n-------------------\n- Introduce rebin_factor xdata function.\n- Carry through intensity calibration during FFT/IFFT.\n- Add copy magic method to data metadata.\n- Make read-only accessors to all DataMetadata properties instead of having them be read/write.\n- Require Python 3.9 or higher.\n\n0.15.3 (2022-10-03)\n-------------------\n- Add is_valid method to calibrations and use when converting to strings.\n\n0.15.2 (2022-09-13)\n-------------------\n- Add low level functions for general multi-dimensional processing.\n\n0.15.1 (2022-07-25)\n-------------------\n- Use scipy.fft for FFT's for better/consistent performance.\n\n0.15.0 (2022-02-28)\n-------------------\n- Add axis_coordinates function to generate coordinate values from calibrated xdata.\n- Simplify data and metadata by eliminating unloading capability (no effect on public API).\n\n0.14.3 (2022-02-18)\n-------------------\n- Fix issue where timezone/timezone_offset could get set to invalid values.\n- Improve Gaussian blur to handle RGB.\n\n0.14.2 (2022-01-03)\n-------------------\n- Improve compatibility with HDF5 backed data (use numpy.copy instead of d.copy).\n\n0.14.1 (2021-12-13)\n-------------------\n- Enable support for Python 3.10.\n- Fix issue for cross correlation using only first image.\n- Fix regression with template register using rounded position.\n- Extend sequence trim/integrate to work on sequences of collections.\n- Fix half-pixel offset in register_template.\n- Allow a mask in register_template for fine-tuning maximum finding.\n\n0.14.0 (2021-11-10)\n-------------------\n- Enable strict typing.\n- Drop support for Python 3.7.\n- Add auto-thresholding functions.\n\n0.13.15 (2021-05-26)\n--------------------\n- Optimize element data for sequence + collection case.\n- Change sub-pixel registration method to parabola fit to improve speed.\n\n0.13.14 (2021-03-12)\n--------------------\n- Add affine transform function and optional order parameter to warp.\n- Allow zero-dimensioned (scalar) data and metadata objects.\n\n0.13.13 (2020-12-08)\n--------------------\n- Make special case of C(1) D(1) < 16 from element data function optional.\n\n0.13.12 (2020-10-06)\n--------------------\n- Fixed RGB issues when data backed by h5py array instead of numpy array.\n- Changed rescale to take a new parameter 'in_range'.\n- Changed rgba/rgb functions to clip data to 0, 255.\n- Split display functions into element and scalar functions.\n\n0.13.11 (2020-08-31)\n--------------------\n- Introduce calibrated coordinates and reference frames (preliminary).\n- Improve handling of NaNs in rebin_1d.\n- Add xdata function rebin_image.\n- Fix issue with bounds when rotating data.\n- Fix issues with concatenate and data descriptor.\n- Add xdata functions to split/join sequences.\n- Add template matching functions to xdata.\n- Make pick functions work for sequences of spectrum images.\n\n0.13.10 (2020-02-26)\n--------------------\n- Change shift/align functions to use spline-1st-order; add Fourier variants as alternative.\n- Fix calibration bug in xdata concatenate (and some cases of hstack, vstack).\n- Add function to generate elliptical masks.\n- Change FFT to put calibration origin at 0.5, 0.5 pixels from center.\n\n0.13.9 (2019-11-27)\n-------------------\n- Improve handling of squeeze/calibration for sequence measurements.\n- Add new navigation properties (combo of is_sequence and collection) to data.\n- Support slicing on RGB sequences (for display data).\n\n0.13.8 (2019-10-24)\n-------------------\n- Added optional registration area bounds to align and register functions.\n\n0.13.7 (2019-02-27)\n-------------------\n- Added mean function. Add keepdim param to mean/sum. Allow negative indices.\n\n0.13.6 (2018-12-28)\n-------------------\n- Fix display RGB calculation on integer images.\n- Add methods for better control of data ref count.\n\n0.13.5 (2018-12-11)\n-------------------\n- Add setters for timezone, timezone_offset, and timestamp.\n\n0.13.4 (2018-11-13)\n-------------------\n- Add measure_relative_translation function to xdata. Utilize in align.\n- Generalize align and register sequence to accept any combo of sequence and collection dimensions.\n- Provide more descriptive data dimensions string.\n\n0.13.3 (2018-06-15)\n-------------------\n- Fix squeeze to not remove last datum dimension.\n- Add re-dimension function (changes data description, keeps data layout in memory the same).\n- Ensure that data_descriptor is a copy, not a reference, when accessed from DataAndMetadata.\n- Add calibration and data_descriptor creation methods to xdata_1_0.\n- Change crop to always produce the same size crop, even if out of bounds. Fill out of bounds with zero.\n- Add crop_rotated to handle crop with rotation (slower).\n\n0.13.2 (2018-05-23)\n-------------------\n- Automatically promote ndarray and constants (where possible) to xdata in operations.\n- Fix FFT-1D scaling and shifting inconsistency.\n- Add average_region function (similar to sum_region).\n\n0.13.1 (2018-05-21)\n-------------------\n- Fix timezone bug.\n\n0.13.0 (2018-05-10)\n-------------------\n- Initial version online.\n",
    "bugtrack_url": null,
    "license": "Apache-2.0",
    "summary": "A data processing library for Nion Swift.",
    "version": "15.6.2",
    "project_urls": {
        "Homepage": "https://github.com/nion-software/niondata"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "45818a3618b6fbf48cb62cc5725f36c0de5805bdc7200ddabb3246474dc60ec0",
                "md5": "c21e9b085afb0a44df1791d4019a0475",
                "sha256": "62cee1895b3993e1e13a017121f2804b362697b6bd831833d6335566a0a89e64"
            },
            "downloads": -1,
            "filename": "niondata-15.6.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c21e9b085afb0a44df1791d4019a0475",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 63661,
            "upload_time": "2024-01-02T22:27:50",
            "upload_time_iso_8601": "2024-01-02T22:27:50.395351Z",
            "url": "https://files.pythonhosted.org/packages/45/81/8a3618b6fbf48cb62cc5725f36c0de5805bdc7200ddabb3246474dc60ec0/niondata-15.6.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1547c15010347df29db34090cd9b8c38257eb2117d6511ec0980f81dc936f5cf",
                "md5": "02440e5290f7c78e87060586dc451282",
                "sha256": "1298e680ff6dcbecfff61451a8568920690dba9c5ac3966695d9e1442ca4d546"
            },
            "downloads": -1,
            "filename": "niondata-15.6.2.tar.gz",
            "has_sig": false,
            "md5_digest": "02440e5290f7c78e87060586dc451282",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 61118,
            "upload_time": "2024-01-02T22:27:52",
            "upload_time_iso_8601": "2024-01-02T22:27:52.185484Z",
            "url": "https://files.pythonhosted.org/packages/15/47/c15010347df29db34090cd9b8c38257eb2117d6511ec0980f81dc936f5cf/niondata-15.6.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-02 22:27:52",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "nion-software",
    "github_project": "niondata",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "niondata"
}
        
Elapsed time: 0.17647s