Skip to content

Releases: ContactEngineering/SurfaceTopography

v1.21.1

18 Jan 20:54

Choose a tag to compare

  • BUG: Fixed read_topography not working with gzip streams (gzip.GzipFile objects have integer mode attribute, not string)

v1.21.0

16 Jan 16:22
d4bc3cf

Choose a tag to compare

  • ENH: Added reader for Digital Surf Mountains MNT files
  • ENH: Added readers for NMS, OS3D, SDF, TMF, and ZMG file formats
  • ENH: Added OLE and Zlib helper classes for declarative binary file parsing
  • ENH: MNT reader now extracts Z unit from file metadata instead of hardcoding
  • BUG: Fixed treatment of masked values in MNT reader (data type tag now correctly determines masking behavior)
  • MAINT: Converted FRT reader to declarative style
  • MAINT: Use 1D capabilities of muGrid 0.105.x

v1.20.0

10 Jan 19:14

Choose a tag to compare

  • API: Added MagicMatch enum and can_read() classmethod to reader infrastructure for magic-based format detection
  • API: Added scan_line_align() pipeline function for line-by-line polynomial correction of AFM scan data (supports variable polynomial degree for scanner bow correction)
  • API: Added DataKind enum and stable channel_id identifier for file reader channelsNo
  • API: Added channel_id and height_channel_index parameters to topography() method for stable channel selection
  • API: Added height_channels property to readers for backwards-compatible access to height data channels only
  • API: Added height_index_to_channel_id() and channel_id_to_height_index() utility methods for database migration
  • API: ChannelInfo now has data_kind, data_unit, lateral_unit, is_height_channel, channel_id, and height_index properties
  • API: Added X3P writer (topography.to_x3p()) for ISO 5436-2 / ISO 25178-72 format
  • API: Added Gwyddion writer (topography.to_gwy()) for GWY format
  • ENH: File format detection now uses magic bytes for fast pre-filtering before attempting full parsing
  • DOC: Added SUPPORTED_FORMATS.md documenting all 35+ supported file formats
  • BUG: SurfaceContainer autocorrelation, power_spectrum, and variable_bandwidth methods now have proper docstrings
  • BUG: Fixed open_topography passing communicator to readers that don't support it
  • BUILD: Added PyPI keywords for instrument manufacturers and file formats (improves package discoverability)
  • BUILD: Removed support for Python 3.9; minimum Python version is now 3.10
  • BUILD: Added support for Python 3.14
  • BUILD: Minimum muGrid version is now 0.103.0
  • MAINT: Updated from muFFT to muGrid dependency (muFFT has been merged into muGrid)
  • MAINT: Added numpy-based FFT engine for 1D topographies (muGrid only supports 2D/3D)
  • MAINT: Pipeline functions now preserve docstrings and source code for IPython introspection

v1.19.1

19 Aug 14:38
79baa75

Choose a tag to compare

  • MAINT: Adjusted thresholds for mask data in OPD files to what Gwyddion uses
  • BUG: Fixed reading of JPK files with thumbnails

v1.19.0

20 Jul 10:28
f43d165

Choose a tag to compare

  • ENH: Support for ZStandard compressed ZON files
  • ENH: plot pipeline function for line scans
  • BUG: Reading ZIP file with multiple containers

v1.18.3

14 Apr 08:22

Choose a tag to compare

  • BUILD: Removed support for Python 3.8; require numpy>=2.0.0
  • ENH: Encoding masked arrays

v1.18.2

16 Mar 22:00
056abbc

Choose a tag to compare

  • MAINT: Pass generic keyword arguments from container scale-dependent statistical properties function to the underlying functions for topographies

v1.18.1

04 Mar 10:41

Choose a tag to compare

  • BUG: Fixed regression in reading single-column text files in new-style reader

v1.18.0

03 Mar 10:39

Choose a tag to compare

  • ENH: Reading Wyko text files (#399)
  • MAINT: Text reader is now a new style, class-based reader
  • MAINT: Bumped muFFT dependency to 0.93.0; updated code to reflect API changes

v1.17.1

09 Oct 20:20
a3364fa

Choose a tag to compare

  • BUG: Mangling Angstrom unit to ascii
  • BUG: Missing Meson build files for CLI