Skip to content

TimsFrame init from list of MzSpectra #14

@theGreatHerrLebert

Description

@theGreatHerrLebert

We need to add a constructor to TimsFrame that accepts a list of MzSpectra:

class TimsFrame:
def __init__(self, frame_pointer, *args):
if len(args) > 0:
frame_id, rt, scan, mz, intensity, tof, inv_ion_mob = args
self.frame_ptr = pl.TimsFrame(frame_id, rt, scan, mz, intensity, tof, inv_ion_mob)
else:
self.frame_ptr = frame_pointer

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions