Map Parser

class MapParser.MapParser[source]

A class to read various EM map file types into a Map object instance.

static get_endian(filename)[source]

Read an MRC map file

Arguments:
filename
input MRC map file name.
Return:
Endianness: Little or big
static readMRC(filename)[source]

Read an MRC map file

Arguments:
filename
input MRC map file name.
Return:
A Map instance containing the data read from MRC map file.
static readMRCHeader(filename, endian='<')[source]

Gets the header information from the MRC map file.

Argument
filename
input MRC map file name
endian
Endianness: Little or big
Return:
A string containing the MRC header information.