polyTEM.image.driftΒΆ
DRIFT CORRECTION CODE Written by Camila Cendra, circa 2018
modified by Christina, 2023
Functions
|
|
|
|
|
Returns powder spectra of 2D tensor (image) using PyTorch implementation. |
|
Corrects drift across frames in data |
|
|
|
|
|
|
|
by Camila |
|
Opens .mrc file containing single stack of images and returns numpy array. |
|
Shift zero frequency spatial frequency component to center of 2D image. |