massdash.structs.Mobilogram

class massdash.structs.Mobilogram(im, intensity, label)

Bases: Data1D

A single mobilogram object storing intensity and ion mobility data.

adjust_length(length: int) Mobilogram

Adjust the length of the mobilogram to a given length, this involved either padding or truncating the mobilogram

Parameters:

length (int) – The desired output length.

Returns:

A new Mobilogram object with padded/truncated driftTime and intensity.

Return type:

Mobilogram