Erlab

Latest version: v2.7.2

Safety actively analyzes 638386 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 7

2.6.0

Ci

* (**github**) disable parallel testing ([`fd024f5`](https://github.com/kmnhan/erlabpy/commit/fd024f5f1d6870ff6c30ee32ee8c3a708245a958))

* (**github**) enable color output ([`44071db`](https://github.com/kmnhan/erlabpy/commit/44071db669e66a39d025d23d63962399c59d9e1b))

* (**pre-commit**) pre-commit autoupdate ([`acb9c1c`](https://github.com/kmnhan/erlabpy/commit/acb9c1c31cfa8595512f30820b713c6bd1205983))

updates: - [github.com/astral-sh/ruff-pre-commit: v0.4.4 → v0.4.5](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.4...v0.4.5)

Documentation

* add `qsel.around` to indexing guide ([`1f95659`](https://github.com/kmnhan/erlabpy/commit/1f95659ae30a432d2fd91ec8c669c39a33b41f15))

Feature

* (**interactive.imagetool**) add bin amount label to binning controls ([`7a7a692`](https://github.com/kmnhan/erlabpy/commit/7a7a692b881e4cc1bd49342f31f3fe50407d72b5))

* add accessor for selecting around a point ([`aa24457`](https://github.com/kmnhan/erlabpy/commit/aa244576fcfa17f71be0a765be8f270a6ae28080))

* (**accessors.fit**) add support for background models ([`550be2d`](https://github.com/kmnhan/erlabpy/commit/550be2deebf54fab77bef591ccbe059b5b219937))

If one coordinate is given but there are two independent variables are present in the model, the second one will be treated as the data. This makes the accessor compatible with y-dependent background models, such as the Shirley background provided in `lmfitxps`.

* (**io**) make the dataloader behavior more customizable ([`4824127`](https://github.com/kmnhan/erlabpy/commit/4824127181b4383788f6dbe5cbeae4b2060f1f4f))

Now, a new `average_attrs` class attribute exists for attributes that would be averaged over multiple file scans. The current default just takes the attributes from the first file. This also works when you wish to demote a coordinate to an attribute while averaging over its values.
For more fine-grained control of the resulting data attributes, a new method `combine_attrs` can be overridden to take care of attributes for scans over multiple files. The default behavior is to just use the attributes from the first file.

Fix

* (**plotting**) make `gradient_fill` keep axis scaling ([`51507dd`](https://github.com/kmnhan/erlabpy/commit/51507dd966a0ce2db4aabff2aac8222bee184cf8))

Refactor

* (**analysis.image**) add check for 2D and uniform inputs ([`22bb02d`](https://github.com/kmnhan/erlabpy/commit/22bb02dd8dfbd5eb6b5d577abe9138a769a079b3))

* try to fix synced itool garbage collection ([`932cc5a`](https://github.com/kmnhan/erlabpy/commit/932cc5a690dcebc92c65ea3f17081ac9f9c3ef8f))

This only happens in GH actions, and it doesn&39;t happen every time so it&39;s hard to debug.

* create utils subpackage to host internal methods ([`3fa2873`](https://github.com/kmnhan/erlabpy/commit/3fa287386fc0e94e8a558e2f0e5520be869acb43))

The parallel module is now part of utils, without a compatibiliity layer or deprecation warning since nobody is using the functions from parallel anyway.

* add deprecation warnings for utilities ([`5d375b8`](https://github.com/kmnhan/erlabpy/commit/5d375b8fe0766ea3f2c5fe2421937ce7309e3da5))

All submodules named `utilities.py` have been renamed to `utils.py` for consistency. The old call to `utilities.py` will still work but will raise a warning. The modules will be removed on 3.0 release.

* rename `erlab.interactive.utilities` to `erlab.interactive.utils` ([`d9f1fb0`](https://github.com/kmnhan/erlabpy/commit/d9f1fb081be8d2e8710ec08421780f927341b71a))

* rename `erlab.analysis.utilities` to `erlab.analysis.utils` ([`ed81b62`](https://github.com/kmnhan/erlabpy/commit/ed81b6234bd2960da785875e0aaaf2e9e5e48f15))

* rename `erlab.io.utilities` to `erlab.io.utils` ([`6e0813d`](https://github.com/kmnhan/erlabpy/commit/6e0813d3873b09593ec9d539d72c7512fac77c70))

* (**io.plugins.merlin**) regard temperature as coordinate ([`2fda047`](https://github.com/kmnhan/erlabpy/commit/2fda04781961f2384c711a3b1c3c00ddaecaa617))

2.5.4

Fix

* (**io.plugins.maestro**) load correct beta for non deflector scans ([`5324c36`](https://github.com/kmnhan/erlabpy/commit/5324c362d7bdd1dcf0c21303f370fd2e77f12448))

2.5.3

Fix

* (**io.utilities**) `get_files` now only list files, not directories ([`60f9230`](https://github.com/kmnhan/erlabpy/commit/60f92307f94484361e0ba11b10a52be4c4cc05a1))

* (**accessors.fit**) add `make_params` call before determining param names, closes 38 ([`f1d161d`](https://github.com/kmnhan/erlabpy/commit/f1d161de089b93e16b2947b126ac075764d98f75))

* (**analysis.fit**) make some models more robust to DataArray input ([`afe5ddd`](https://github.com/kmnhan/erlabpy/commit/afe5ddd9d1e6796ba0261a147c2733d607916d81))

Refactor

* add loader for ALS BL7 MAESTRO `.h5` files ([`4f33402`](https://github.com/kmnhan/erlabpy/commit/4f3340228ae2e1cbd8baf57d5d426043f5e28688))

* (**interactive**) add informative error message for missing Qt bindings ([`560615b`](https://github.com/kmnhan/erlabpy/commit/560615bb89d2646965d1a2a967133f0df08e3f6e))

* (**io**) rename some internal variables and reorder ([`76fe284`](https://github.com/kmnhan/erlabpy/commit/76fe284b4bc9f1e0c3cb94857a65599b07ee04df))

Also added a check for astropy in FITS file related utility.

2.5.2

Ci

* (**github**) re-enable parallel tests and tweak coverage ([`0fd910f`](https://github.com/kmnhan/erlabpy/commit/0fd910f63d576942fbf8d66d71c468b00157ca19))

* (**github**) disable `.pyc` generation ([`54c7dd1`](https://github.com/kmnhan/erlabpy/commit/54c7dd1262db8fc3744cc154fe434672d2a7313b))

* (**codecov**) update config path ([`47a833d`](https://github.com/kmnhan/erlabpy/commit/47a833dc90aa9e9b03f3155c15aecab9149f1ec5))

Documentation

* update README ([`d90441a`](https://github.com/kmnhan/erlabpy/commit/d90441ac0d397439d63698c35677c5afe333ca09))

Fix

* make mathtext copy default to svg ([`2f6e0e5`](https://github.com/kmnhan/erlabpy/commit/2f6e0e558f251c846bc3dec39cd150391802460d))

* resolve MemoryError in prominent color estimation ([`3bdcd03`](https://github.com/kmnhan/erlabpy/commit/3bdcd0341c41b424ebbcb565b7cda0db839e4cb8))

Due to numpy/numpy/11879 changed the auto method to sqrt. This should also improve memory usage and speed, with little to no impact on the end result.

Test

* fix clipboard and interactive tests ([`08d7448`](https://github.com/kmnhan/erlabpy/commit/08d7448f80eb5a00debec89e6a9e949fab1fdeba))

* add tests across multiple modules ([`cc35955`](https://github.com/kmnhan/erlabpy/commit/cc35955e2868d71fd522024c18d7e9cb168f98e1))

* add tests interactive tools and `plotting.atoms` ([`a1b5154`](https://github.com/kmnhan/erlabpy/commit/a1b5154c54e6ae6278038ec11c8305fc09193481))

* add tests for `goldtool` and `dtool` ([`99bac03`](https://github.com/kmnhan/erlabpy/commit/99bac03a6df882baa625aa5a065fd0be571d36a9))

* increase test speed ([`031d2e3`](https://github.com/kmnhan/erlabpy/commit/031d2e346636d64976ea96386ac8eba9e638546c))

2.5.1

Chore

* exclude merge commits from semantic release ([`9179cab`](https://github.com/kmnhan/erlabpy/commit/9179cab62a299b65992ed2621d9618bf7a9f35ee))

* (**deps**) add dask to optional dependencies ([`cdc90dd`](https://github.com/kmnhan/erlabpy/commit/cdc90dd785f8f7d32443e521e89b415a7575303a))

* add coverage configuration ([`9c1e6a5`](https://github.com/kmnhan/erlabpy/commit/9c1e6a5365922303e0119e9f07604ba6d89b539c))

Ci

* (**github**) ci changes for testing and coverage ([`67550d6`](https://github.com/kmnhan/erlabpy/commit/67550d6ebbf6423052b22bc5224ad331d824d502))

Parallelized tests for `gold.poly`, setup Qt testing, and added `.codecov.yml` config file.

* (**github**) update codecov script ([`5cab279`](https://github.com/kmnhan/erlabpy/commit/5cab2796d588bc40fc74f8cd130a1efad3b76b37))

* (**github**) update test script ([`7dbb384`](https://github.com/kmnhan/erlabpy/commit/7dbb384caa461992690893017cacb4bd72273149))

* (**pre-commit**) pre-commit autoupdate (34) ([`acf3dc5`](https://github.com/kmnhan/erlabpy/commit/acf3dc5f4e7987619d8a9be53ad7717f17d12fec))

Fix

* (**plotting**) fixes 35 ([`a67be68`](https://github.com/kmnhan/erlabpy/commit/a67be6869c2d25780f8a56794aad0386379202dd))

Gradient fill disappears upon adding labels

* (**fit.models**) wrong StepEdgeModel guess with DataArray input ([`6778c8d`](https://github.com/kmnhan/erlabpy/commit/6778c8dd2c048b0cab67c6d3668b25b3f79a71da))

Refactor

* (**plotting**) code cleanup ([`aef10e4`](https://github.com/kmnhan/erlabpy/commit/aef10e472a3ebc935711253e91124cfd87beb9cc))

Test

* fix tests for interactive ([`57403f7`](https://github.com/kmnhan/erlabpy/commit/57403f70f61500e248d57584962c1a0df3a2defc))

* add tests for analysis.gold ([`61d4d36`](https://github.com/kmnhan/erlabpy/commit/61d4d36fb3f858ae9d096f2c8b3f9d090d8905ff))

2.5.0

Chore

* (**deps**) unpin PyQt6 ([`55a8ce5`](https://github.com/kmnhan/erlabpy/commit/55a8ce5e0c74c38c22a44f4f385c5ee87ee5fdcb))

Ci

* (**pre-commit**) update commit messages ([`0321ec1`](https://github.com/kmnhan/erlabpy/commit/0321ec131b61e8bf6881f1f72fdc550937d96959))

Documentation

* make view button point to github ([`f968c37`](https://github.com/kmnhan/erlabpy/commit/f968c3777ed796011338f7ff14b0561d9fada05e))

Feature

* extended interactive accessor ([`f6f19ab`](https://github.com/kmnhan/erlabpy/commit/f6f19abd8edfb33585b5e19040a2ebaff39b2b70))

The `qshow` accessor has been updated so that it calls `hvplot` (if installed) for data not supported by ImageTool.
Also, the `qshow` accessor has been introduced to Datasets. For valid fit result datasets produced by the `modelfit` accessor, calling `qshow` will now show an `hvplot`-based interactive visualization of the fit result.

* (**itool**) make itool accept Datasets ([`f77b699`](https://github.com/kmnhan/erlabpy/commit/f77b699abdf312a23832611052d67e8c4c8d4930))

When a Dataset is passed to `itool`, each data variable will be shown in a separate ImageTool window.

* (**analysis.image**) add multidimensional Savitzky-Golay filter ([`131b32d`](https://github.com/kmnhan/erlabpy/commit/131b32d9e562693e98a2f9e45cf6db4635405b44))

Fix

* (**itool**) add input data dimension check ([`984f2db`](https://github.com/kmnhan/erlabpy/commit/984f2db0f69db2b5b99211728840447d9617f8bf))

* (**analysis.image**) correct argument order parsing in some filters ([`6043413`](https://github.com/kmnhan/erlabpy/commit/60434136224c0875ed8fba41d24e32fc6868127c))

* (**interactive**) improve formatting for code copied to clipboard ([`d8b6d91`](https://github.com/kmnhan/erlabpy/commit/d8b6d91a4d2688486886f2464426935fdf8cabc2))

Refactor

* (**plotting**) update `clean_labels` to use `Axes.label_outer` ([`0c64756`](https://github.com/kmnhan/erlabpy/commit/0c647564c6027f5b60f9ff288f13019e0e5933b6))

Page 2 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.