Doc improvement Measurement.fromnpy
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Anne de Jong 2023-07-14 13:48:26 +02:00
parent da80dbf075
commit 26343fda79

View File

@ -777,8 +777,9 @@ class Measurement:
channelNames: List[str] = None,
force=False) -> Measurement:
"""
Creates a LASP measurement file from input numpy array data.
Opens the associated Measurement object and returns it.
Converts a numpy array to a LASP Measurement file, opens the
associated Measurement object and returns it. The measurement file will
have the same file name as the txt file, except with h5 extension.
Args:
data: Numpy array, first column is sample, second is channel. Can