DiamondLightSource / DiamondLightSource/python-zocalo-pymca

Filter fitted peaks

Offen
#17 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
0
Forks
0
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Es werden keine Dateien, Tests oder Einstiegspunkte genannt. Beginne damit nachzuverfolgen, wie Peak-Fitting-Ergebnisse von PyMCA zu der von SynchWeb verwendeten Ranglistenausgabe werden, und prüfe anschließend, wie Sigma-Werte und überlappende K/L-Linien dargestellt werden. Als erledigt gilt die Implementierung einer vereinbarten Filterregel und ihre Verifizierung anhand repräsentativer Ergebnisse angepasster Peaks.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
python
Bereich
data
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.