'nan'-cases in the "Export file preview #42

Closed
opened 2021-11-08 13:02:59 +01:00 by usov_i · 0 comments
usov_i commented 2021-11-08 13:02:59 +01:00 (Migrated from gitlab.psi.ch)

Created by: zaharko

  1. Ccl integrate
  2. bi-geometry
    Export file contacts nan intensity in some well integrated peaks.
    This changes from 'Function' to 'Area' intensity
    In case of "Intensity: Function", the 'nan's in the output appear when fitting procedure can't estimate stderr for parameters.
    Will output just the area, but its error will still be 'nan' in the "Export file preview:".
    In case of "Intensity: Area", it happens because of repeated x values, so that scipy.simpson function has a division by zero, which results in 'nan'. A possible solution is average only some points upon merging.
    Another option would be to rebin the data
*Created by: zaharko* 1. Ccl integrate 2. bi-geometry Export file contacts nan intensity in some well integrated peaks. This changes from 'Function' to 'Area' intensity In case of "Intensity: Function", the 'nan's in the output appear when fitting procedure can't estimate stderr for parameters. Will output just the area, but its error will still be 'nan' in the "Export file preview:". In case of "Intensity: Area", it happens because of repeated x values, so that scipy.simpson function has a division by zero, which results in 'nan'. A possible solution is average only some points upon merging. Another option would be to rebin the data
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: zebra/pyzebra#42
No description provided.