Giter Club home page Giter Club logo

Comments (6)

tobiasko avatar tobiasko commented on August 25, 2024

Hi David,

to my knowledge S/N is not something that gets written into the raw file, but is rather estimated for each peak by an offline algorithm that examines the local surrounding. Where does your info come from that it is written into the file?

Best,
Tobi

from rawdiag.

David-Degnan avatar David-Degnan commented on August 25, 2024

Thanks for the reply, Tobi!

You are correct. We need the noise or background information stored for each peak.

from rawdiag.

David-Degnan avatar David-Degnan commented on August 25, 2024

Hello Tobi,

It seems I may have been unclear. We would still like to add signal/background information to the object returned by ReadScans. We believe this value is stored in one of the ThermoFisher DLLs, likely ThermoFisher.CommonCore.RawFileReader.dll. Here's a reference: https://github.com/PNNL-Comp-Mass-Spec/Thermo-Raw-File-Reader/blob/master/XRawFileIO.cs#L2508

Thank you!

from rawdiag.

tobiasko avatar tobiasko commented on August 25, 2024

Hi David,

in general DLLs do not store any values:

https://support.microsoft.com/en-us/help/815065/what-is-a-dll

In short, DLLs are code modules. The code line you linked above:

var data = mXRawFile.GetCentroidStream(scan, false);

references the method GetCentroidStream and to my knowledge it returns a set of position and intensity values in array format. Position is equivalent to m/z and intensity is the abs. abundance aka the signal. Noise is not stored in a raw file can can be estimated by analysing the local/global environment of any signal.

@cpanse Is this correct?

Best,
Tobi

from rawdiag.

tobiasko avatar tobiasko commented on August 25, 2024

btw: I guess the only person that really KNOWs what is inside raw files is [email protected]
I could also be that the .NET assemblies do not make it accessible. :-(

from rawdiag.

David-Degnan avatar David-Degnan commented on August 25, 2024

Hello Tobi,

The GetCentroidStream returns an array of position, intensity, resolutions, baselines, noises, and charges. We would like the noises added to ReadScans. https://github.com/PNNL-Comp-Mass-Spec/Thermo-Raw-File-Reader/blob/master/XRawFileIO.cs#L2520

Thank you!

-David

from rawdiag.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.