Skip to content

v0.5.3

Choose a tag to compare

@derollins derollins released this 20 Nov 17:48
· 53 commits to main since this release
ae40064

Bug-fix release. Upgrading is recommended for all users.

Important

  • Re-run polynomial_flatten at order 3 or higher. On frames of a few hundred pixels or more the fit silently left background behind; results at these orders change.
  • Exit codes: playnano with no subcommand now exits with code 2, and playnano analyze exits with code 1 if any output file could not be written.
  • Step values are read as Python values in --processing and --analysis-steps: [0,1] is a list, true is True, none is None. Quote text that looks like a number: name='1'.

Fixed

  • polynomial_flatten and polynomial_flatten_masked drop no terms at high orders on large frames (coordinates are now scaled before fitting).
  • A single NaN pixel no longer makes polynomial_flatten return all-NaN or remove_plane fail; NaN pixels are left out of the fit and kept in the output.
  • List, tuple, number, boolean and none values now work in --processing and --analysis-steps strings (e.g. drop_frames:indices_to_drop=[0,1]).
  • Wizard values for list, tuple, optional and unannotated parameters are converted (e.g. pad accepts 2 or 2,3).
  • Wizard save writes plain YAML that load accepts.
  • playnano analyze handles --output-name like process (no writing outside the output folder, no run.json.json).
  • playnano analyze writes every file it can and exits with code 1 if any failed.
  • --log-level DEBUG shows tracebacks for play, process and wizard errors.
  • Documentation examples rerun and corrected; bundle contents, provenance and defaults fixed.
  • The docs version switcher is at the top of the sidebar; publishing a release no longer removes the main docs.

Changed

  • The plane and polynomial filters no longer use scikit-learn, so importing them is faster.
  • The conda environment file is now environment.yaml and no longer limits NumPy below 2.0.
  • Tests, pre-commit and the docs build also run on dev.

What's New: https://derollins.github.io/playNano/v0.5.3/whats_new/v0.5.3.html
Full changelog: see CHANGELOG.md.

What's Changed

  • ci(docs): keep main docs on tag deploys by @derollins in #100
  • docs: add Zenodo DOI badge and DOI to CITATION.cff by @derollins in #101
  • fix(cli): sanitise analyze output names and report failed saves by @derollins in #108
  • fix(cli): wizard save writes YAML that load can read by @derollins in #109
  • fix(cli): parse lists, scientific notation and optional types in step parameters by @derollins in #110
  • fix(processing): scale coordinates in polynomial fits and ignore NaN pixels by @derollins in #111
  • ci: tidy test, pre-commit and docs workflows and packaging metadata by @derollins in #112
  • docs: correct failing examples, stale reference content and page rendering by @derollins in #113
  • chore(release): prepare v0.5.3 by @derollins in #114
  • Release v0.5.3 by @derollins in #115

Full Changelog: v0.5.2...v0.5.3