Skip to content

Latest commit

 

History

History
380 lines (277 loc) · 11.5 KB

CHANGELOG.md

File metadata and controls

380 lines (277 loc) · 11.5 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog.

Changed

  • Fixed join method to work with data of shape (1,)
  • Axis: space character ("\s") in expressions are culled.
  • fixed interact2D bug: channel/axes can now be specified with non-zero index arguments

Fixed

  • Data.chop : fixed bug where chop did not succeed if axes did not span data ndim

Added

  • new Data.at method: syntactic sugar for chop with "at" argument.
  • Data.__getitem__ supports array slicing
  • artists.interact2D supports cmap kwarg.
  • iPython integration: autocomplete includes axis, variable, and channel names
  • artists.quick2D: supports cmap kwarg.
  • Allow create_variable and create_channel to create compressed datasets

Changed

  • Data.chop refactored to make steps modular
  • artists.interact2D uses matplotlib norm objects to control colormap scaling

Fixed

  • kit.fft: fixed bug where Fourier coefficients were off by a scalar factor.
  • ensure artists.quickND plotters always close chopped data files

Added

  • artists.Axes.scatter: plot one variable against another, with scatter point color determined by a channel.
  • Invalid unit conversions now throw a pint error.
  • data.from_LabRAM: import Horiba LabRAM txt files

Fixed

  • docs: from method JASCO example updated
  • data.from_Solis: import works without metadata
  • unit conversions of None to None no longer throws a warning.
  • better error messages for some functions
  • remove unused imports
  • remove unused variables
  • complex array support for data object operations

Added

  • artists now has a wrapper for matplotlib's imshow. Make sure to use uniform grids.

Fixed

  • artists._parse_limits now recognizes channel null for signed data limits.
  • fixed bug where Data.map_variable did not interpolate on yaqc-cmds type Data

Added

  • data.from_Solis: "kinetic series" acquisition type now supported.

Added

  • artists.create_figure: kwarg margin allows unique margins on all sides

Fixed

  • ZeroDivisionError when converting units (e.g. wn to nm) now returns inf instead of raising
  • PermissionError on windows when copying Data/Collection objects
  • Fixed bug in wt.artists.interact2D where constants were not handled properly.

Added

  • from_databroker method to import Data objects from databroker catalogs

Changed

  • complete units overhaul, now using pint library
  • explicitly store axes as fixed string dtype
  • validate units are in the unit registry on set

Fixed

  • Fixed bug in from_COLORS that misordered the relationship between variables and channels for 1D datasets.
  • Avoid passing both vmin/vmax and norm to pcolor* methods
  • Fixed matplotlib depreciation in artists._helpers

Added

  • Collection.convert method for converting all units of a single kind of a collection's data to another unit (with test script)

Fixed

  • Absence of verbose kwarg propogation in data.split, silenced convert call.
  • Further handling for readonly files
  • Improved chopping with axes that span the kept axes removed
  • Timezone offset for wt.kit.TimeStamp.RFC3339

Added

  • wt_for_numpy_users Jupyter notebook illustrating differences between numpy and WrightTools workflow

Fixed

  • Return min and max when file is read only
  • try/except the os.close call for tempfile (may already be gone in SWMR mode)
  • data objects retain units of individual axes when copied
  • h5py 3.0 string handling

Added

  • pytest and pytest-cov to dev requirements

Fixed

  • representation of units with micro prefix
  • Do not attempt to write attrs when file is read only

Added

  • lineshapes in kit: gaussian, lorentzian_complex, lorentzian_real, voight

Changed

  • misc text effects within artists.corner_text
  • deprecate pcolor_helper, remove from internal plotting functions

Fixed

  • none-type units improperly handled by split through save/load
  • Copy colormaps to avoid editing default mpl colormaps
  • Correct units in output of split to be the same as input for axes
  • Conversion to/from inches was incorrect

Added

  • matplotlib framework classifier

Fixed

  • Fix error when giving an explicit output array to symmetric_sqrt
  • Remove deprecated pytest runner from setup.py

Added

  • The turbo colormap has been added (temporarily, as it is staged to be added in matplotlib itself)

Changed

  • Silence matplotlib warnings (including in future matplotlib 3.2 release)
  • wt.artists.savefig now accepts kwargs passed onto the underlying implementation
  • Quick[1|2]D figures now have a white background
  • numexpr is now used to evaluate unit conversions rather than eval

Fixed

  • handling of resultant kwarg in data.Data.moment

Fixed

  • allow contour plotting with colormaps

Added

  • New file type supported: Horiba LabRAM Aramis binary files
  • New mode for reading PyCMDS data: collapse=False will read without collapsing data, useful for reading large files in a memory safe way
  • interact2D supports keyboard navigation

Changed

  • Colormaps dict will now default to look for Matplotlib colormaps

Fixed

  • Better handling of tolerances in from_PyCMDS

Added

  • Additional fluence calculation in kit
  • New wt.close method to close all open WT objects in a particular python session

Changed

  • Citation now points to our JOSS Publication
  • Trim now works with no outliers, and allows you to ignore the point itself when averaging
  • Now uses expressions rather than natural name for axes stored in the file
  • Data.moment now allows you to pass resultant=shape such that it can work with multidimensional axes
  • Data.print_tree will now print scalar values, rather than the shape

Fixed

  • Fixed unit conversion
  • Fixed tolerances used for delays in from_PyCMDS
  • Correction factor applied in from_PyCMDS for delay stages collected with errant constant
  • bug where wt-tree modified accessed file

Added

  • JOSS review
  • Quick2D now respects adding contours
  • Collections and Data objects can now be created using multi-part posix paths
  • Collections and Data objects can now be used as context managers, which close upon exiting
  • wt.units.convert added as an alias of wt.units.converter

Fixed

  • Fixed a bug regarding using strings as parameters to prune

Added

  • new method: moment - Take the Nth moment of a channel along an axis
  • new method: trim - Use statistical test in channels to remove outlier points
  • Support for remote files in from_ functions

Changed

  • dropped support for Python 3.5, now 3.6+ only
  • Deprecated "integrate" method of collapse, as moment handles this
  • Use natural_name setter to rename groups within the underlying hdf5 file

Fixed

  • bugs in chunkwise operations

Added

  • Data.prune method to remove unused variables and channels easily

Fixed

  • from_Cary will now read data files correctly where multiple objects have the same name
  • improvements to set_fig_labels

Added

  • temperature units
  • gradient method of data objects

Fixed

  • make interact2D more robust
  • ensure that data objects with constants open properly
  • fix units behavior when splitting and reading PyCMDS data files

Added

  • Plotting functions like plot, pcolor, and contour now will plot channels e.g. 2D channels within a 3D data object
  • Quick plotting methods now have lines and labels for constants
  • π release

Added

  • much improved joining of data sets
  • constants
  • new window functions in smooth1D

Added

  • implementation of split

Fixed

  • improved import of PyCMDS data
  • improved import of spcm data
  • improved handling of complex dtype within collapse

Added

  • wt-tree
  • from_Solis
  • Downscale
  • methods in kit to calculate fluence
  • interactive 2D plots
  • pcolormesh

Fixed

  • additional bug fixes and conde maintainability improvements

Added

  • __citation__
  • support for pathlib objects

Changed

  • removed fit module
  • removed unused artist classes

Fixed

  • recovered Data.collapse

Added

  • manifest

Changed

  • migrate requirements

Fixed

  • PyCMDS
  • Cary

Added

  • allow for constant values in axis expressions

Changed

  • from_PyCMDS will now read incomplete data acquisitions

Fixed

  • windows bug prevented deletion of files
  • bug fixes to match actual behavior

Fixed

  • reqirements.txt distribution error

Added

  • initial release