Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accessing MS Trending data #14

Closed
heejongkim opened this issue Aug 9, 2024 · 2 comments
Closed

Accessing MS Trending data #14

heejongkim opened this issue Aug 9, 2024 · 2 comments

Comments

@heejongkim
Copy link

Hello,

Thanks for providing this fantastic interface. This truly transformed the way I work with MS data.
While I'm still reading and learning, one thing came up and I just can't have a clue of it so it would be awesome if I can get some hints from you guys.

I've been trying to access MS trending (given that FreeStyle indicates a separate device) by testing MS, MSAnalog, and Other to get extra info but it seems I'm missing an important piece or misunderstanding about it.

Can you please help by providing some minimal python or C# snippets how to get into that?

Thank you so much.

best,
heejong

@jesse-canterbury
Copy link
Contributor

Hi Heejong, it's great that you're getting good use out of these tools.

In lieu of a more "official" response, about whether the MS Trending info is available directly, note that the MS Trending info is, I believe, a plot vs retention time of various parameters included in the raw file for each spectrum. You should be able to find the parameter(s) you're looking for either in the "trailer extra" or the "status log," and then extract your favorite item for each spectrum. In the Program.cs file for RawFileReader, take a look at the ListTrailerExtraFields and ListStatusLog functions. Those should give you some info about what's available & will hopefully help get you started.

@heejongkim
Copy link
Author

Hi Jesse,

Thank you so much for the explanation.
It seems "trailer extra" has all those information that we usually check for the quality of data (e.g. AGC, IT, isolation width, HCD energy, Lock mass, APD, etc) while "status log" has a lot more mechanical details (Spray voltage/current, flatapole info, temperature of each parts, and so forth). I'm amazed how much details the raw file has.
Now I have a multi y-axes line plot for spray voltage and current across RT!
Thank you!

best,
heejong

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants