-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversion factors from um to nanometre added in load_gwy in io.py #659
Closed
Commits on Sep 9, 2023
-
SI Unit of um and mm for gwy added
Some of .gwy files raise ValueError in io.py. ValueError: Units 'um' have not been added for .gwy files
Configuration menu - View commit details
-
Copy full SHA for e51f9c4 - Browse repository at this point
Copy the full SHA e51f9c4View commit details
Commits on Sep 10, 2023
-
Correct Loading gwy channels and units
# XY, Z units correction * units for px_to_nm to multiply data array should be picked up from 'si_unit_z' instetad of 'si_unit_xy'. * Non-square image should be considered. Probably, px_to_nm_z, px_to_nm_x, px_to_nm_y will be necessary. # Channel index Data key of gwy sometimes starts from 1 or larger. (ex. '/4/data') It happens when image is cropped on Gwyddion, and it remains after saving even other channels are removed. A loop to scan indices was added. And it guesses whether if the channel is topography or not by si_unit_z.
Configuration menu - View commit details
-
Copy full SHA for ecbc120 - Browse repository at this point
Copy the full SHA ecbc120View commit details
Commits on Sep 11, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a68de1c - Browse repository at this point
Copy the full SHA a68de1cView commit details -
LoadScans gwyddion routines updated
# transposed np.ndarray corrected _gwy_read_component returns transposed dimensions of (xres,yres), this corrected to (yres, xres) # load_gwy updated * load_gwy can find multichannel data starting from any index (ex. 4/data) * load_gwy can guess whether if it is height channel by unitstr * load_gwy supports m,mm,um for z-unit * px_to_nm_x, px_to_nm_y were added for future usage, stored in img_dict
Configuration menu - View commit details
-
Copy full SHA for bbd301b - Browse repository at this point
Copy the full SHA bbd301bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b7ef85 - Browse repository at this point
Copy the full SHA 0b7ef85View commit details
Commits on Sep 15, 2023
-
io.py modified - Conversion from gwy.DataField to np.ndarray was corrected. (dimension was transposed) - Scale class added to conversion of units and holds conversion factors - Initializable by configuration YAML file - This object is copied to img_dict of data accessible scan.img_dict[filename]["scale"] px_to_nm_x, px_to_nm_y values in img_dict from Gwy Testing and Configurations - Resource files (file_landscape.gwy, file.square.gy) added. - conftest.py modified to read file.gwy and file_landscape.gwy - Test for Scale class - test_scale_config was added. - test_scale in test_io.py was added. - "scale" configuration was added to default_config.yaml
Configuration menu - View commit details
-
Copy full SHA for 4eee70a - Browse repository at this point
Copy the full SHA 4eee70aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b8a5cc - Browse repository at this point
Copy the full SHA 5b8a5ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for de1ac76 - Browse repository at this point
Copy the full SHA de1ac76View commit details -
Configuration menu - View commit details
-
Copy full SHA for 07fec64 - Browse repository at this point
Copy the full SHA 07fec64View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ac1a92 - Browse repository at this point
Copy the full SHA 9ac1a92View commit details
Commits on Sep 27, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d8103c8 - Browse repository at this point
Copy the full SHA d8103c8View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.