Skip to content
This repository was archived by the owner on Oct 20, 2025. It is now read-only.
This repository was archived by the owner on Oct 20, 2025. It is now read-only.

raw MSI spectra as MassSpectra objects - size in memory #58

@dsammour

Description

@dsammour

Hi,

I am using MALDIquant extensively to process MSI datasets. These datasets tend to be extremely large (<50GB when loaded into memory into lists of MassSpectrum objects). The issue here is that each MassSpectrum object stores intensities and corresponding m/z values, which means huge redundancy and unnecessary memory usage since the mass axis is exactly identical for every spectrum. I was wondering if it would be possible to exclude the mass axis from MassSpectrum objects and possibly create a new type of object, say MassAxis, which can be passed as an argument to the processing functions. Obviously, this cannot be applied to MassPeak objects.

Thanks,
Denis

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions