Skip to content

Releases: FAIRmat-NFDI/pynxtools-stm

v1.0.8

23 Sep 12:59
f8cadbf
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.0.7...v1.0.8

v1.0.7

23 Sep 12:44
3e8e727
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.0.6...v1.0.7

v1.0.6

23 Sep 09:46
49bb454
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.0.5...v1.0.6

Version 1.0.5

12 Jul 14:09
c0b6444
Compare
Choose a tag to compare
  1. Compatible with new validation (with graph approach) of pynxtools
  2. Pluginization of pynxtools with Nomad
  3. Generic Test Framework in pynxtools
  4. Common documentation Structure with Nomad.
  5. Reconfigure image according to the scan direction.

v1.0.4: update requirements. (#27)

24 May 11:46
d919ff0
Compare
Choose a tag to compare

Back to the name of reader as sts.

Rename reader

24 May 05:43
6a97e30
Compare
Choose a tag to compare
  1. Renaming reader from sts to stm.
  2. Update pynxtools version constrained.

Modification of NXsts and new verification (with graph model) of pynxtools

20 May 19:34
add58d4
Compare
Choose a tag to compare

Reader modification NXsts application definitions:

  1. (Include a field) /NXentry/NXinstrument/NXlock-in/run
  2. (Make a field optional) /NXentry/NXinstrument/NXlock-in/NXenvironment/current_sensor/current_calibration
  3. (Make a field optional) /NXentry/NXinstrument/NXlock-in/NXenvironment/current_sensor/current_gain
  4. (Make a field optional) /NXentry/NXsample/sample
  5. (Make a group optional ) /NXentry/NXinstrument/NXlock-in/NXenvironment/scan_control/roi/
  6. (Make a group optional group) /NXentry/NXinstrument/NXlock-in/NXenvironment/scan_control/circuit

Note: The version supports pynxtools ^v0.3.0.

Version 1.0.1

11 Mar 15:15
ffad36e
Compare
Choose a tag to compare

Removes pytest as dependency

v1.0.0

10 Mar 20:13
4819278
Compare
Choose a tag to compare
Prep py pi dist (#12)

* remove nanonispy from submodule.

* restructured module dir

* changed list unpacking that was incompatible with 3.4

* rebase.

* jk about tests renaming

* rm test

* playing around with setup.py

* removed unnecessary test method

* readme and pypi metdata updates. Forgot to include _load_data() in Spec.__init__ method.

* removed exteaneous if else when converting scan pixel dimensions to int

* removed unused variable name, unused import statement.

* Added two new methods, which are just wrappers to numpy.save and numpy.load

The idea I had was that since pickling matplotlib figures is so tricky,
it would still be beneficial to be able to generate the figures without having to preprocess everything all over again. So once you have your data analyzed,
dump it into a numpy binary .npy file and load it up in a separate figure generation script.

Added some basic array roundtrip checks, for coverage purposes.

* updated setup.py to update pypi release to latest master commit

* handle header format change for nanonis software version 5, with test

* Added utils.py to have some helper/basic analysis functions to you might need
if analysis grids/maps.

* continued tinkering, includes utils module in init.py now

* slider text in correct units now

* cleaning up but still figuring out how to implement this

* added maxsplit=1 to account for = use in user comments

* removed half baked utils.py file

* sanitize reading of header with non utf-8 characters

in response to #3

- uses 'replace' keyword in bytes.decode to replace any non utf-8 character with known value.
- a warning is displayed to user mentioning that data will be replaced
- nothing is replaced in the file, only in the reading into class variables
- modified _parse_dat_header to be more flexible in the format of header entries. Entries with no corresponding value and no delimiters can be read along with entries with one extra delimiter.
- this dat header formatting was just found emperically.

* Update to _parse_3ds_header

Now converts the header entries into a dictionary, raw_dict, using _split_header_entry
Current entries in header_dict are filled from raw_dict using pop with default values if the expected string is not found
Any remaining entries in raw_dict are added to header_dict unchanged using update
Also changed _split_header_entry to check for the presence of ';' and split the value if it is found.  Now returns both key_str and val_str

* Added ability to supply missing entries when reading header

In response to PR #5

- instead of using specific default values, ,now raises exception if expected entries are missing or have the wrong value
- when initializing a Grid object, you can use optional keyword `header_override` to supply key:value pairs that are missing in your raw header. the key in header_override must match exactly the key you expect to find in your raw header.

- added corresponding tests for this new functionality, there are probably a lot more edge cases than i can think of

* rebase.

* rebase.

* updated gitignore

* Fix extraction of file name extensions

* Fix suffix pattern

* Fix test for scan files

Ensure that the dictionary of expected really reflects reality. The test
only compares strings so the strings must be accurate and reflect the
numpy array representation.

* Distinguish between string, floats, and arrays

* Refactor some hard coded settings into another file

* Fixed half finished addition of a constants module, added method to set the default data format or try to set it to a user defined value if supplied

* Fixes #8

* add poetry and move tests to project root

* fix swapped x and y dimensions when reading binary data

* Update _parse_sxm_header to read Multipass-Config

Now the table of multipass-config is read as well as that of data_info
and z-controller.

* Enable to read a 3ds file of an aborted measurement

The missing part is filled with zeros.

* Read multiple-lines comment

Resolves #17

* changing np.float to float

* Including nanonis as a sub package.

---------

Co-authored-by: Yann-Sebastien <[email protected]>
Co-authored-by: Jack Hellerstedt <[email protected]>
Co-authored-by: Unknown <[email protected]>
Co-authored-by: Patrik Marschalik <[email protected]>
Co-authored-by: yuksk <[email protected]>
Co-authored-by: Rama Vasudevan <[email protected]>