Skip to content

shift_fidfilemarkers.py

Chris Churas edited this page Oct 20, 2016 · 8 revisions

shift_fidfilemarkers.py shifts markers in IMOD fiducial file generated by ETspec.

Using IMOD tools this script reads in an IMOD .fid file to obtain markers. The script then shifts these markers by values set in --xshift and --yshift writing the results to another IMOD .fid file. It is assumed the input file is a binary IMOD file and the IMOD command model2point is used to convert the file to an ascii format that is parsed. After **shift_fidfilemarkers.py shifts the markers they are saved back as an IMOD binary .fid file using point2model

Clone this wiki locally