Documented functions with links to source¶
Program to evaluate the performance of scanner by correlating adjacent rows and lines with each other from a pure noise image.
-
class
scanrowcolcorr.
ScanRowColCorrPar
[source]¶ Class to initiate default dictionary with input parameters including help and range values and status dictionary
Methods
define_parameters_and_their_properties
define_program_states
set_mic_area
-
class
scanrowcolcorr.
ScanRowColCorr
(parset=None)[source]¶ Class that holds all functions required for computing row-to-row and column-to-column cross-correlation
__init__ Function to read in the entered parameter dictionary and load micrograph
Usage: ScanRowColCorr(pardict)
Input: pardict = OrderedDict of program parameters
Methods
evalcolcc
([area])Function to evaluate cross-correlation of adjacent columns
evalrowcc
([area])Function to evaluate cross-correlation of adjacent rows
visrowcolcc
([row, ccrow, col, cccol])Function to visualize results of row-to-row and column-to-column cross-correlation using matplotlib
perform_scanrowcolcorr
-
evalrowcc
(area=None)[source]¶ Function to evaluate cross-correlation of adjacent rows
Usage: rows, ccrows, output2 = evalrowcc(area)
Input: area = area in percent to included in analysis of input micrograph, i.e. exclude label
Output: list of rows, list of cross-correlation
-
evalcolcc
(area=None)[source]¶ Function to evaluate cross-correlation of adjacent columns
Usage: cols, cccols, output2 = evalrowcc(area)
Input: area = area in percent to included in analysis of input micrograph, i.e. exclude label
Output: list of columns, list of cross-correlation
-
visrowcolcc
(row=None, ccrow=None, col=None, cccol=None)[source]¶ Function to visualize results of row-to-row and column-to-column cross-correlation using matplotlib
Usage: output = visrowcolcc(row, ccrow, col, cccol)
Input: row = list of rows, ccrow = list of row-to-row cross-correlation, col = list of columns, cccol = list of column-to-column correlation
Output: output plot to saved to PDF, SVG, or PNG, TIF, JPG format