ess.nmx.mtz_io.get_space_group_from_mtz#

ess.nmx.mtz_io.get_space_group_from_mtz(mtz)[source]#

Retrieves spacegroup from file.

Spacegroup is always expected in any MTZ files, but it may be missing.

Parameters:

mtz (Mtz) – Raw mtz dataset.

Returns:

SpaceGroup | None – The space group, or None if not found.