NSFopen 2.2.4__tar.gz → 2.3.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (162) hide show
  1. nsfopen-2.3.0/CHANGELOG.md +103 -0
  2. nsfopen-2.3.0/MANIFEST.in +1 -0
  3. {nsfopen-2.2.4 → nsfopen-2.3.0}/NSFopen/__init__.py +29 -29
  4. nsfopen-2.3.0/NSFopen/_version.py +1 -0
  5. nsfopen-2.3.0/NSFopen/example/Calculate_Roughness/Calculate_Roughness.html +7786 -0
  6. nsfopen-2.3.0/NSFopen/example/Calculate_Roughness/Calculate_Roughness.ipynb +258 -0
  7. nsfopen-2.3.0/NSFopen/example/Calculate_Roughness/Calculate_Roughness.py +91 -0
  8. nsfopen-2.3.0/NSFopen/example/Force_Spectroscopy/Force_Spectroscopy.html +7803 -0
  9. nsfopen-2.3.0/NSFopen/example/Force_Spectroscopy/Force_Spectroscopy.ipynb +271 -0
  10. nsfopen-2.3.0/NSFopen/example/Force_Spectroscopy/Force_Spectroscopy.py +160 -0
  11. nsfopen-2.3.0/NSFopen/example/Grain_Analysis/Grain_Analysis.html +7695 -0
  12. nsfopen-2.3.0/NSFopen/example/Grain_Analysis/Grain_Analysis.ipynb +178 -0
  13. nsfopen-2.3.0/NSFopen/example/Grain_Analysis/Grain_Analysis.py +70 -0
  14. nsfopen-2.3.0/NSFopen/example/Lateral_Force/Lateral_Force_Processing.html +7712 -0
  15. nsfopen-2.3.0/NSFopen/example/Lateral_Force/Lateral_Force_Processing.ipynb +184 -0
  16. nsfopen-2.3.0/NSFopen/example/Lateral_Force/Lateral_Force_Processing.py +69 -0
  17. nsfopen-2.3.0/NSFopen/example/Plane_Removal/Plane_Removal.html +7614 -0
  18. nsfopen-2.3.0/NSFopen/example/Plane_Removal/Plane_Removal.ipynb +106 -0
  19. nsfopen-2.3.0/NSFopen/example/Plane_Removal/Plane_Removal.py +44 -0
  20. nsfopen-2.3.0/NSFopen/example/Plotting_Data/Plotting_Data.html +7809 -0
  21. nsfopen-2.3.0/NSFopen/example/Plotting_Data/Plotting_Data.ipynb +278 -0
  22. nsfopen-2.3.0/NSFopen/example/Plotting_Data/Plotting_Data.py +101 -0
  23. nsfopen-2.3.0/NSFopen/example/Sharpen_Image/Sharpen_Image.html +7667 -0
  24. nsfopen-2.3.0/NSFopen/example/Sharpen_Image/Sharpen_Image.ipynb +154 -0
  25. nsfopen-2.3.0/NSFopen/example/Sharpen_Image/Sharpen_Image.py +71 -0
  26. nsfopen-2.3.0/NSFopen/example/Spring_Constant/Spring_Constant.html +7733 -0
  27. nsfopen-2.3.0/NSFopen/example/Spring_Constant/Spring_Constant.ipynb +201 -0
  28. nsfopen-2.3.0/NSFopen/example/Spring_Constant/Spring_Constant.py +92 -0
  29. {nsfopen-2.2.4 → nsfopen-2.3.0}/NSFopen/example/Spring_Constant/sader.py +8 -4
  30. {nsfopen-2.2.4 → nsfopen-2.3.0}/NSFopen/process/__init__.py +9 -9
  31. {nsfopen-2.2.4 → nsfopen-2.3.0}/NSFopen/process/colormaps.py +76 -71
  32. nsfopen-2.3.0/NSFopen/process/combine.py +112 -0
  33. nsfopen-2.3.0/NSFopen/process/fitting.py +211 -0
  34. nsfopen-2.3.0/NSFopen/process/gradients/BW1 +11 -0
  35. nsfopen-2.3.0/NSFopen/process/gradients/BW2 +21 -0
  36. nsfopen-2.3.0/NSFopen/process/gradients/Blend1 +8 -0
  37. nsfopen-2.3.0/NSFopen/process/gradients/Blend2 +13 -0
  38. nsfopen-2.3.0/NSFopen/process/gradients/Blue +4 -0
  39. nsfopen-2.3.0/NSFopen/process/gradients/Blue-Cyan +5 -0
  40. nsfopen-2.3.0/NSFopen/process/gradients/Blue-Violet +5 -0
  41. nsfopen-2.3.0/NSFopen/process/gradients/Blue-Yellow +6 -0
  42. nsfopen-2.3.0/NSFopen/process/gradients/Body +7 -0
  43. nsfopen-2.3.0/NSFopen/process/gradients/Caribbean +7 -0
  44. nsfopen-2.3.0/NSFopen/process/gradients/Clusters +13 -0
  45. nsfopen-2.3.0/NSFopen/process/gradients/Code-V +14 -0
  46. nsfopen-2.3.0/NSFopen/process/gradients/Cold +7 -0
  47. nsfopen-2.3.0/NSFopen/process/gradients/DFit +15 -0
  48. nsfopen-2.3.0/NSFopen/process/gradients/Digitalis +8 -0
  49. nsfopen-2.3.0/NSFopen/process/gradients/Gold +5 -0
  50. nsfopen-2.3.0/NSFopen/process/gradients/Gray-inverted +3 -0
  51. nsfopen-2.3.0/NSFopen/process/gradients/Green +4 -0
  52. nsfopen-2.3.0/NSFopen/process/gradients/Green-Cyan +5 -0
  53. nsfopen-2.3.0/NSFopen/process/gradients/Green-Stripes-4 +17 -0
  54. nsfopen-2.3.0/NSFopen/process/gradients/Green-Violet +6 -0
  55. nsfopen-2.3.0/NSFopen/process/gradients/Green-Yellow +5 -0
  56. nsfopen-2.3.0/NSFopen/process/gradients/Gwyddion.net +5 -0
  57. nsfopen-2.3.0/NSFopen/process/gradients/Halcyon +8 -0
  58. nsfopen-2.3.0/NSFopen/process/gradients/Lines +23 -0
  59. nsfopen-2.3.0/NSFopen/process/gradients/Maple +8 -0
  60. nsfopen-2.3.0/NSFopen/process/gradients/MetroPro +32 -0
  61. nsfopen-2.3.0/NSFopen/process/gradients/NT-MDT +13 -0
  62. nsfopen-2.3.0/NSFopen/process/gradients/Neon +6 -0
  63. nsfopen-2.3.0/NSFopen/process/gradients/Olive +4 -0
  64. nsfopen-2.3.0/NSFopen/process/gradients/Painbow +62 -0
  65. nsfopen-2.3.0/NSFopen/process/gradients/Pink +4 -0
  66. nsfopen-2.3.0/NSFopen/process/gradients/Plum +6 -0
  67. nsfopen-2.3.0/NSFopen/process/gradients/Pm3d +6 -0
  68. nsfopen-2.3.0/NSFopen/process/gradients/RGB-Blue +3 -0
  69. nsfopen-2.3.0/NSFopen/process/gradients/RGB-Green +3 -0
  70. nsfopen-2.3.0/NSFopen/process/gradients/RGB-Red +3 -0
  71. nsfopen-2.3.0/NSFopen/process/gradients/Rainbow1 +10 -0
  72. nsfopen-2.3.0/NSFopen/process/gradients/Rainbow2 +6 -0
  73. nsfopen-2.3.0/NSFopen/process/gradients/Red +4 -0
  74. nsfopen-2.3.0/NSFopen/process/gradients/Red-Cyan +6 -0
  75. nsfopen-2.3.0/NSFopen/process/gradients/Red-Stripes-5 +21 -0
  76. nsfopen-2.3.0/NSFopen/process/gradients/Red-Violet +5 -0
  77. nsfopen-2.3.0/NSFopen/process/gradients/Red-Yellow +5 -0
  78. nsfopen-2.3.0/NSFopen/process/gradients/Rust +8 -0
  79. nsfopen-2.3.0/NSFopen/process/gradients/Saw1 +7 -0
  80. nsfopen-2.3.0/NSFopen/process/gradients/Shame +6 -0
  81. nsfopen-2.3.0/NSFopen/process/gradients/Sky +7 -0
  82. nsfopen-2.3.0/NSFopen/process/gradients/Sm2 +7 -0
  83. nsfopen-2.3.0/NSFopen/process/gradients/Spectral +13 -0
  84. nsfopen-2.3.0/NSFopen/process/gradients/Spectral-white +13 -0
  85. nsfopen-2.3.0/NSFopen/process/gradients/Spring +6 -0
  86. nsfopen-2.3.0/NSFopen/process/gradients/Viridis +14 -0
  87. nsfopen-2.3.0/NSFopen/process/gradients/Warm +8 -0
  88. nsfopen-2.3.0/NSFopen/process/gradients/Warpp-mono +13 -0
  89. nsfopen-2.3.0/NSFopen/process/gradients/Warpp-spectral +13 -0
  90. nsfopen-2.3.0/NSFopen/process/gradients/Wyko +13 -0
  91. nsfopen-2.3.0/NSFopen/process/gradients/Yellow +4 -0
  92. nsfopen-2.3.0/NSFopen/process/gradients/Zones +17 -0
  93. nsfopen-2.3.0/NSFopen/process/grains.py +316 -0
  94. nsfopen-2.3.0/NSFopen/process/measure.py +862 -0
  95. nsfopen-2.3.0/NSFopen/process/ops.py +1278 -0
  96. nsfopen-2.3.0/NSFopen/process/process.py +1205 -0
  97. nsfopen-2.3.0/NSFopen/process/profile_iso.py +232 -0
  98. nsfopen-2.3.0/NSFopen/process/psdfit.py +215 -0
  99. nsfopen-2.3.0/NSFopen/process/surface3d.py +502 -0
  100. nsfopen-2.3.0/NSFopen/read/__init__.py +10 -0
  101. nsfopen-2.3.0/NSFopen/read/nhf.py +687 -0
  102. nsfopen-2.3.0/NSFopen/read/nhf_spec.py +27 -0
  103. {nsfopen-2.2.4 → nsfopen-2.3.0}/NSFopen/read/read.py +654 -647
  104. nsfopen-2.3.0/NSFopen.egg-info/PKG-INFO +194 -0
  105. nsfopen-2.3.0/NSFopen.egg-info/SOURCES.txt +131 -0
  106. {nsfopen-2.2.4 → nsfopen-2.3.0}/NSFopen.egg-info/requires.txt +1 -1
  107. nsfopen-2.3.0/PKG-INFO +194 -0
  108. nsfopen-2.3.0/README.md +165 -0
  109. {nsfopen-2.2.4 → nsfopen-2.3.0}/setup.py +63 -60
  110. nsfopen-2.3.0/tests/test_examples.py +26 -0
  111. nsfopen-2.3.0/tests/test_nsfopen.py +711 -0
  112. nsfopen-2.2.4/NSFopen/_version.py +0 -1
  113. nsfopen-2.2.4/NSFopen/example/Calculate_Roughness/Calculate_Roughness.html +0 -14844
  114. nsfopen-2.2.4/NSFopen/example/Calculate_Roughness/Calculate_Roughness.ipynb +0 -182
  115. nsfopen-2.2.4/NSFopen/example/Calculate_Roughness/Calculate_Roughness.py +0 -110
  116. nsfopen-2.2.4/NSFopen/example/Force_Spectroscopy/Force_Spectroscopy.html +0 -14913
  117. nsfopen-2.2.4/NSFopen/example/Force_Spectroscopy/Force_Spectroscopy.ipynb +0 -266
  118. nsfopen-2.2.4/NSFopen/example/Force_Spectroscopy/Force_Spectroscopy.py +0 -206
  119. nsfopen-2.2.4/NSFopen/example/Lateral_Force/Lateral Force Processing.html +0 -14808
  120. nsfopen-2.2.4/NSFopen/example/Lateral_Force/Lateral Force Processing.ipynb +0 -154
  121. nsfopen-2.2.4/NSFopen/example/Lateral_Force/Lateral Force Processing.py +0 -86
  122. nsfopen-2.2.4/NSFopen/example/Plane_Removal/Plane_Removal.html +0 -14971
  123. nsfopen-2.2.4/NSFopen/example/Plane_Removal/Plane_Removal.ipynb +0 -285
  124. nsfopen-2.2.4/NSFopen/example/Plane_Removal/Plane_Removal.py +0 -172
  125. nsfopen-2.2.4/NSFopen/example/Plotting_Data/Plotting Data.html +0 -14891
  126. nsfopen-2.2.4/NSFopen/example/Plotting_Data/Plotting Data.ipynb +0 -200
  127. nsfopen-2.2.4/NSFopen/example/Plotting_Data/Plotting Data.py +0 -112
  128. nsfopen-2.2.4/NSFopen/example/Sharpen_Image/Sharpen Image.html +0 -15001
  129. nsfopen-2.2.4/NSFopen/example/Sharpen_Image/Sharpen Image.ipynb +0 -318
  130. nsfopen-2.2.4/NSFopen/example/Sharpen_Image/Sharpen Image.py +0 -199
  131. nsfopen-2.2.4/NSFopen/example/Sharpen_Image/img.jpg +0 -0
  132. nsfopen-2.2.4/NSFopen/example/Spring_Constant/Spring_Constant.html +0 -14830
  133. nsfopen-2.2.4/NSFopen/example/Spring_Constant/Spring_Constant.ipynb +0 -191
  134. nsfopen-2.2.4/NSFopen/example/Spring_Constant/Spring_Constant.py +0 -91
  135. nsfopen-2.2.4/NSFopen/process/process.py +0 -492
  136. nsfopen-2.2.4/NSFopen/read/__init__.py +0 -8
  137. nsfopen-2.2.4/NSFopen/read/read_beta.py +0 -658
  138. nsfopen-2.2.4/NSFopen.egg-info/PKG-INFO +0 -47
  139. nsfopen-2.2.4/NSFopen.egg-info/SOURCES.txt +0 -57
  140. nsfopen-2.2.4/PKG-INFO +0 -47
  141. nsfopen-2.2.4/README.md +0 -28
  142. {nsfopen-2.2.4 → nsfopen-2.3.0}/LICENSE +0 -0
  143. {nsfopen-2.2.4 → nsfopen-2.3.0}/NSFopen/example/Calculate_Roughness/__pycache__/Calculate_Roughness.cpython-310.pyc +0 -0
  144. {nsfopen-2.2.4 → nsfopen-2.3.0}/NSFopen/example/Calculate_Roughness/sapphire.nid +0 -0
  145. {nsfopen-2.2.4 → nsfopen-2.3.0}/NSFopen/example/Force_Spectroscopy/spectroscopy.nid +0 -0
  146. {nsfopen-2.2.4 → nsfopen-2.3.0}/NSFopen/example/Lateral_Force/SBS-PMMA.nid +0 -0
  147. {nsfopen-2.2.4 → nsfopen-2.3.0}/NSFopen/example/Plane_Removal/circles.nid +0 -0
  148. {nsfopen-2.2.4 → nsfopen-2.3.0}/NSFopen/example/Plane_Removal/circles_holes.nid +0 -0
  149. {nsfopen-2.2.4 → nsfopen-2.3.0}/NSFopen/example/Plane_Removal/grid.nid +0 -0
  150. {nsfopen-2.2.4 → nsfopen-2.3.0}/NSFopen/example/Plane_Removal/squares_holes.nid +0 -0
  151. {nsfopen-2.2.4 → nsfopen-2.3.0}/NSFopen/example/Plotting_Data/MoS2.nid +0 -0
  152. {nsfopen-2.2.4 → nsfopen-2.3.0}/NSFopen/example/Sharpen_Image/grid.nid +0 -0
  153. {nsfopen-2.2.4 → nsfopen-2.3.0}/NSFopen/example/Spring_Constant/__pycache__/Spring_Constant.cpython-310.pyc +0 -0
  154. {nsfopen-2.2.4 → nsfopen-2.3.0}/NSFopen/example/Spring_Constant/__pycache__/__init__.cpython-310.pyc +0 -0
  155. {nsfopen-2.2.4 → nsfopen-2.3.0}/NSFopen/example/Spring_Constant/thermal.nid +0 -0
  156. {nsfopen-2.2.4 → nsfopen-2.3.0}/NSFopen/example/Spring_Constant/thermal.png +0 -0
  157. {nsfopen-2.2.4 → nsfopen-2.3.0}/NSFopen.egg-info/dependency_links.txt +0 -0
  158. {nsfopen-2.2.4 → nsfopen-2.3.0}/NSFopen.egg-info/entry_points.txt +0 -0
  159. {nsfopen-2.2.4 → nsfopen-2.3.0}/NSFopen.egg-info/not-zip-safe +0 -0
  160. {nsfopen-2.2.4 → nsfopen-2.3.0}/NSFopen.egg-info/top_level.txt +0 -0
  161. {nsfopen-2.2.4 → nsfopen-2.3.0}/pyproject.toml +0 -0
  162. {nsfopen-2.2.4 → nsfopen-2.3.0}/setup.cfg +0 -0
@@ -0,0 +1,103 @@
1
+ # Change log
2
+
3
+ ## 2.3.0 (not yet released)
4
+
5
+ Compared to **2.2.4**, the latest version on PyPI (August 2024).
6
+
7
+ ### Highlights
8
+ - `pip install NSFopen` now works by itself: the `nanosurf` and `scikit-learn` packages are no longer needed.
9
+ - NID files are read about 5 times faster, and line flattening is about twice as fast.
10
+ - NHF spectroscopy files of any size open immediately, and their curves are read when asked for.
11
+ - WaveMode NMA files are read, with a curve for every pixel and maps of any quantity.
12
+ - `process` has many new image analysis functions, brought over from the Nanosurf Surface Analyzer.
13
+ - Figures take their units and labels from the file, can be placed in subplots, and there is a new 3D plot.
14
+
15
+ ### Reading files
16
+ Added:
17
+ - New NHF reader that needs only h5py, for file versions 1.1 and 2.0 to 2.6. Images are identical to those of Nanosurf's
18
+ reader on versions 1.1, 2.0, 2.3, 2.4 and 2.6.
19
+ - Spectroscopy (`afm.spec`): segments, grid position, other units through the file's calibration, force curves.
20
+ - WaveMode NMA (`afm.nma`): `curve()` gives Z, interaction and force of a pixel; `map()` builds per-pixel maps.
21
+ - `afm.units` holds the unit of every channel. `afm.close()` releases an NHF file; `read` also works in a `with` block.
22
+ - `read(..., measurement=)` picks a measurement of an NHF file.
23
+
24
+ Fixed:
25
+ - 2.2.4 needed `nanosurf` to be imported but did not declare it, and failed on NHF files with `nanosurf` 2.0.7.
26
+ - NID headers were read as Latin-1, so units and sizes came out as `°` and `3µm`.
27
+ - Duplicate `Wait` segments of older NHF files overwrote each other: the second is now `Wait 2`.
28
+ - A third NID channel of the same name overwrote the second: they are now `Amplitude`, `Amplitude2`, `Amplitude3`.
29
+ - A truncated NID file now says so.
30
+
31
+ ### Processing images
32
+ Added:
33
+ - Leveling: `level_flatten`, `level_poly2d`, `level_lines`, `level_align_rows`, `level_facet`, `level_three_point`,
34
+ `level_median`, `level_rolling_ball`, `level_shift`.
35
+ - Filters: `filter_basic`, `filter_median`, `filter_gaussian`, `filter_fft`, `filter_notch`.
36
+ - Glitches: `glitch_spikes`, `glitch_lines`, `glitch_auto_lines`, `glitch_scars`, `glitch_step_lines`, `glitch_fill_mask`.
37
+ - Masks, kept per channel: `set_mask` and `mask_threshold`, `mask_otsu`, `mask_watershed`, `mask_outliers`, `mask_scars`,
38
+ `mask_shape`, `mask_floodfill`, `mask_grow`, `mask_shrink`, `mask_invert`, `mask_clear`, `mask_remove_small`,
39
+ `mask_fill_holes`. Leveling, filters and statistics can use the mask.
40
+ - Geometry and scale: `geometry_crop`, `geometry_flip`, `geometry_rotate`, `geometry_resample`, `geometry_square_pixels`,
41
+ `rescale_scale`, `rescale_z_to_reference`, `rescale_xy`.
42
+ - Statistics after ISO 25178: `statistics`, `bearing_curve`, `histogram_fit`, `slope_distributions`.
43
+ - Lines: `line_profile`, `step_heights`, `critical_dimension`, `masked_step_height`, and `profile_roughness` after
44
+ ISO 21920.
45
+ - Spectra and texture: `psd`, `psd_fit`, `spectrum`, `acf`, `line_functions`, `rms_by_scale`, `lattice`.
46
+ - Grain analysis: `grains`.
47
+ - Two channels: `combine`, `find_shift`.
48
+ - Access: `channels`, `array`, `set_channel`, `size`, `unit`, `origin`, and `apply` and `operations`.
49
+
50
+ Fixed:
51
+ - `NSFopen.process` could not be imported, because `colormaps.py` imported itself.
52
+ - `flatten(inplace=False)` and similar calls changed the data as well as returning the result.
53
+ - `plane_level` was wrong on non-square images.
54
+ - The physical sizes of non-square NHF images were swapped.
55
+
56
+ ### Figures
57
+ Added:
58
+ - `plot3d`, a 3D view after the Surface Analyzer's, with materials, lighting and overlays of another channel. It needs no
59
+ graphics card.
60
+ - `plot_profile`, `plot_psd`, `plot_histogram_fit`, `plot_bearing`, `plot_acf`.
61
+ - `ax=` to draw into subplots, and `figsize`, `dpi`, `theme` and `color_range` on the plots.
62
+ - `image(profile=)` shows where a line cut lies.
63
+ - Color maps by name, including the Gwyddion gradients now included with the package: `cmap='Gold'`.
64
+
65
+ Fixed:
66
+ - The default scale bar had zero length on scans of about 2.5 µm or less, and non-integer lengths were labelled wrongly.
67
+ - `hist(color=)` raised an error.
68
+
69
+ ### Changes that can affect existing scripts
70
+ | What | 2.2.4 | 2.3.0 |
71
+ |---|---|---|
72
+ | NHF force curves `[row, col]` | Position in the file | True grid position, row 0 at the bottom |
73
+ | NHF force curves | Arrays | Read on access; `np.asarray(curves)` gives the array |
74
+ | `image` and `hist`, `scale` | `1e9` for every channel | A readable unit from the channel; `scale=1e9` still forces it |
75
+ | `hist`, `xlabel` | `Z-Axis [nm]` for every channel | The channel and its unit |
76
+ | `image`, color bar | Only with `cbar=` | Always; `colorbar=False` turns it off |
77
+ | `image`, pixels | matplotlib's default | `interpolation='nearest'`; can be overridden |
78
+ | `remove_outliers` | Nearest neighbors with scikit-learn | Interpolation from the pixels around; the numbers differ, and `neighbors` is gone |
79
+ | Unknown channel | pandas `KeyError` | `ValueError` that lists the channels |
80
+ | Default channel | `Z-Axis` only | Falls back to `Topography` in files that have no `Z-Axis` |
81
+ | `NSFopen.read.checkFileType` | Present | Removed |
82
+
83
+ `stats()` keeps its results, including `Sku` as excess kurtosis (0 for a Gaussian surface). The new `statistics()` gives
84
+ the ISO value of `Sku` (3 for a Gaussian surface).
85
+
86
+ ### Examples
87
+ - All are rewritten around `process`, and there is a new `Grain_Analysis`.
88
+ - **`Spring_Constant`: the result changes from 14.5 to 24.0 N/m.** The old fit used a power formula on amplitude data and
89
+ found Q = 253; the file records Nanosurf's own Q of 442, and the corrected fit finds 417.
90
+ - `Plotting_Data`: the image was drawn upside down.
91
+ - `Force_Spectroscopy`: the map axes were labelled µm but showed pixels.
92
+ - `Sharpen_Image`: it no longer passes the data through an 8-bit JPEG, and needs neither OpenCV nor PIL.
93
+ - `Plane_Removal`: it crashed on non-square images, and its clipping changed the data.
94
+ - `Lateral_Force`: the offset between the scans is measured instead of set by hand.
95
+ - Renamed without spaces: `Plotting_Data.py`, `Lateral_Force_Processing.py`, `Sharpen_Image.py`.
96
+
97
+ ### Requirements
98
+ - matplotlib 3.6 or newer; the other requirements are unchanged (numpy, scipy, pandas, h5py, Python 3.9 or newer).
99
+ - Removed: `nanosurf` and `scikit-learn`, which 2.2.4 used without declaring them.
100
+
101
+ ## Earlier versions
102
+ The earlier releases have no change notes. Their list and dates are on
103
+ [PyPI](https://pypi.org/project/NSFopen/#history).
@@ -0,0 +1 @@
1
+ include CHANGELOG.md
@@ -1,29 +1,29 @@
1
- """Package for scripting the Nanosurf control software.
2
- Copyright (C) Nanosurf AG - All Rights Reserved (2021)
3
- License - MIT"""
4
-
5
- import os
6
- import pathlib
7
- from ._version import __version__
8
-
9
- from .read import read
10
-
11
- # from . process import process
12
-
13
-
14
- def package_path() -> pathlib.Path:
15
- return pathlib.Path(os.path.dirname(os.path.abspath(__file__)))
16
-
17
-
18
- def example_path() -> pathlib.Path:
19
- return package_path() / "example"
20
-
21
-
22
- def help():
23
- print("Nanosurf NID and NHF file reader:")
24
- print("-------------------------------")
25
- print(f"Installed version: {__version__}")
26
- print("\nExamples are stored here:")
27
- print(example_path())
28
- for example in os.listdir(example_path()):
29
- print(f" {example}")
1
+ """Package for scripting the Nanosurf control software.
2
+ Copyright (C) Nanosurf AG - All Rights Reserved (2021)
3
+ License - MIT"""
4
+
5
+ import os
6
+ import pathlib
7
+ from ._version import __version__
8
+
9
+ from .read import read
10
+
11
+ # from . process import process
12
+
13
+
14
+ def package_path() -> pathlib.Path:
15
+ return pathlib.Path(os.path.dirname(os.path.abspath(__file__)))
16
+
17
+
18
+ def example_path() -> pathlib.Path:
19
+ return package_path() / "example"
20
+
21
+
22
+ def help():
23
+ print("Nanosurf NID and NHF file reader and image analysis:")
24
+ print("-------------------------------")
25
+ print(f"Installed version: {__version__}")
26
+ print("\nExamples are stored here:")
27
+ print(example_path())
28
+ for example in os.listdir(example_path()):
29
+ print(f" {example}")
@@ -0,0 +1 @@
1
+ __version__ = "2.3.0"