Wedge.from_file#

classmethod Wedge.from_file(filename)[source]#

Generate a Wedge instance by reading tilt angles and weights. Supported extensions are:

.star

Tomostar STAR file

.xml

WARP/M XML file

.*

Tab-separated file with optional column names

Parameters:
filenamestr

The path to the file containing tilt angles and weights.

Returns:
Wedge

Class instance instance initialized with angles and weights from the file.