etspy.io.load(filename: str | Path | list[str] | list[Path], tilts: list[float] | ndarray | None = None, mdocs: list[str] | list[Path] | None = None) TomoStack[source]

Create a TomoStack object using data from a file.

Parameters:
filename: str | Path | list[str] | list[Path]

Name of file that contains data to be read. Accepted formats (.MRC, .DM3, .DM4)

tilts: list[float] | ndarray | None = None

List of floats indicating the specimen tilt at each projection (optional)

mdocs: list[str] | list[Path] | None = None

List of mdoc files for SerialEM data (optional)

Returns:

stack – The resulting TomoStack object

Return type:

TomoStack