diff --git a/AFMReader/spm.py b/AFMReader/spm.py index e5d554c..49cd2e8 100644 --- a/AFMReader/spm.py +++ b/AFMReader/spm.py @@ -28,8 +28,10 @@ def spm_pixel_to_nm_scaling(filename: str, channel_data: pySPM.SPM.SPM_image) -> Pixel to nm scaling factor. """ unit_dict = { + "pm": 1e-3, "nm": 1, "um": 1e3, + "mm": 1e6, } px_to_real = channel_data.pxs() # Has potential for non-square pixels but not yet implimented