xmipp3.convert.dataimport module

class xmipp3.convert.dataimport.XmippImport(protocol, mdFile)[source]

Bases: object

Class used to import different kind of objects from Xmipp projects into Scipion.

getBoxSize(coordFile)[source]

Try to infer the box size from the given coordinate file.

importCTF(mic, fileName)[source]
importCoordinates(fileName, addCoordinate)[source]
importMicrographs()[source]

Import a SetOfMicrographs from a given micrograph metadata. (usually the result “micrographs.xmd” from Xmipp protocols) If the CTF is found, a SetOfCTF will be also created.

importParticles()[source]

Import particles from a metadata ‘images.xmd’

loadAcquisitionInfo()[source]

Return a dictionary with acquisition values and the sampling rate information. In the case of Xmipp, they are stored in files: acquisition_info.xmd and microscope.xmd

validate(label)[source]

Try to find errors on import.

validateMicrographs()[source]
validateParticles()[source]