glasgowcompbio / vimms

A programmable and modular LC/MS simulator in Python
MIT License
19 stars 6 forks source link

added new controller in misc.py and a test in test_controllers #156

Closed sdrogers closed 4 years ago

sdrogers commented 4 years ago

Fixes #151

Added a new controller: MultiIsolationController that does this. Pass argument N and it then creates a sequence of DDA scans with e.g. N=3: [0], [1], [2], [0,1], [0,2], [0,1,2] where the values are indexes into the sorted peaks from the MS1 scan

Added a test into test_controllers.py that tests this for N=3.