Skip to content

Filter fitted peaks #17

@pblowey

Description

@pblowey

Current output includes all peaks, ranked in order of counts and SynchWeb will pick the top 5. In many/most cases, there are not this many elements of interest in the sample but without any filtering in the results, SynchWeb will display labels of elements that have had small peaks fitted to them by PyMCA.

Possible solution to this would be to use the sigma values output by PyMCA and use this to determine whether a peak is real/significant.

One complicating factor to this is the inclusion of L lines that overlap K lines. Typically, the element with the K line will be more likely to be in the sample but the fitter still attributes some counts to the L line element and gives sigma values that suggest the peak is real. Best solution might just be to exclude L lines that overlap K lines, since users who are looking for elements that have L lines in the energy range will likely have deliberately introduced the element to the sample and would know to look for it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions