instamatic.montage
Classes
InstamaticMontage
Bases: Montage
Functions
export(outfile='stitched.tiff')
Export the stitched image to a tiff file.
Parameters:
-
outfile
(str
, default:'stitched.tiff'
) –Name of the image file.
Source code in src/instamatic/montage.py
57 58 59 60 61 62 63 64 65 66 |
|
from_montage_yaml(filename='montage.yaml')
classmethod
Load montage from a series of tiff files + montage.yaml
Source code in src/instamatic/montage.py
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 |
|
set_calibration(mode, magnification)
Set the calibration parameters for the montage map. Sets the pixelsize and stagematrix from the config files.
Parameters:
-
mode
(str
) –The TEM mode used, i.e.
lowmag
,mag1
,samag
-
magnification
(int
) –The magnification used
Source code in src/instamatic/montage.py
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
|