Get unique m/z¶
- getUniqueMz(d, precsMzTol=0.01)¶
Function to get the unique m/z values.
- Parameters:
d – a
MSData
object. MS data.precsMzTol – float. The m/z tolerance to use to get the unique m/z values, in Da.
- Returns:
List. A list containing the unique m/z values.
To use this function:
# You need a MSData object (d).
mzList = getUniqueMz(d)