cryocat.core.cryomotl.emmotl2mod#
- cryocat.core.cryomotl.emmotl2mod(input_motl, output_motl_path=None, mod_prefix='', mod_suffix='.mod')#
Converts an EmMotl to ModMotl format and optionally writes it to a .mod file.
- Parameters:
- input_motlstr or pandas.DataFrame or EmMotl
Path to the input EM MOTL file or an already loaded EmMotl object.
- output_mod_pathstr, optional
If provided, the converted mod will be written to this path.
- mod_prefixstr, default=””
Prefix for the mod file (used by ModMotl internally).
- mod_suffixstr, default=”.mod”
Suffix for the mod file (used by ModMotl internally).
- Returns:
- mod_motlModMotl
The converted ModMotl object.