pyepr.hardware.Bruker_tools.change_dimensions¶
- pyepr.hardware.Bruker_tools.change_dimensions(path, dim, new_length)[source]¶
A function to rewrite a pulseSpel experiment file with a new dimension
- Parameters:
- pathstr
The full file path.
- dimint
The experiment number that needs to be changed
- new_lengthint
The new length can be a list of two if 2D.
- Raises:
- ValueError
If there more than 2 dimesnions are supplied. Xepr can not handle 3+D experiments.
- Parameters:
dim (int)