Skip to content

Dark Subtraction During Fit Grains for Eiger Detector Data #928

Description

@jjsolano21

Describe the bug

Fit Grains fails with: "An ERROR occurred: <class 'Value Error'>: operands could not be broadcast together with shapes (140,260) (4362,4148). Looks like its occurring when dark is subtracted from the image at the beginning of Fit Grains.

Impact

I have to use a workaround right now

Reproduction

Running Fit Grains for ruby (.h5) Eiger dataset. Performed dark subtraction using Median method when loading in image series. Made it through all of Index Grains with no issues. Error occurs when running Fit Grains.

This error does not occur if I do not perform dark subtraction when loading in image series.
We got around this error by pre-processing image series first, then reloading it.

Version

Using CHESS compute resources. Occurs for installations at:
/nfs/chess/sw/anaconda3_ksg52/envs/hexrdgui-100825
/nfs/chess/sw/anaconda3_ksg52/envs/hexrdgui-012926

Affected Workflows

  • core
  • EDD
  • HEDM
  • Powder
  • Laue

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