appion.convert.convert module

This module contains converter functions that will serve to: 1. Write from base classes to Appion specific files 2. Read from Appion files to base classes

appion.convert.convert.readCoordinates(mic, fileName, coordsSet)[source]
appion.convert.convert.readSetOfCoordinates(workDir, micSet, coordSet)[source]

Read from Appion .txt files. It is expected a file named: base.txt under the workDir. Params:

workDir: where the Appion dogpicker output files are located. micSet: the SetOfMicrographs to associate the .txt, which

name should be the same of the micrographs.

coordSet: the SetOfCoordinates that will be populated.

appion.convert.convert.writeSetOfCoordinates()[source]