Skip to content

v0.0.7

Latest

Choose a tag to compare

@ns-rse ns-rse released this 26 Jan 12:14
· 3 commits to main since this release
062b984

This release brings two improvements to AFMReader

.spm

The pixel_to_nm_scaling is sometimes returned as 0 which comes from SPM.pxs() function. If this is the case we instead calculate the pixel_to_nm_scaling from the SPM.size attribute which holds the pixel and real (actual size and unit) for both axes. For now we stick with just using the scale from x-axis so only square images are supported but this may change in the future.

.topostats

With the refactoring of TopoStats to use data classes (see 1284) a .topostats object is now based on the dataclasses which have many attributes that are Numpy arrays. These need decoding when reading from the HDF5 file format that underpins the .topostats format and is now supported.

Pull Requests

  • feature(spm): calculate px scaling from size if not available by @ns-rse in #184
  • sum loading: Stop defaulting to 1nm/px when pixel to nm scaling cannot be found. by @SylviaWhittle in #181
  • fix: decode numpy arrays; feature: topostats versions by @ns-rse in #177

CI and Docs

  • ci(pypi): Improves PyPI publishing workflow by @ns-rse in #160
  • style: linting docs/usage.md by @ns-rse in #182
  • docs: Fix mkdocs DeprecationWarning by @ns-rse in #183

Full Changelog: v0.0.6...v0.0.7