Wedge.from_file#

classmethod Wedge.from_file(filename)[source]#

Generate a Wedge instance by reading tilt angles and weights from a tab-separated text file.

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.