Skip to content

pyFAI-calib2 pends, wrong detector #2890

Description

@EdgarGF93

If detector is wrong, reasonable mistake (Eiger4M <-> Eiger2_4M)
Peak detection pends forever, should raise an exception

  File "/nobackup/scratch/edgar/conda/miniforge3/envs/scattering/lib/python3.12/site-packages/pyFAI/massif.py", line 86, in __init__
    self.mask = numpy.logical_or(data_mask, mask)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: operands could not be broadcast together with shapes (2162,2068) (2167,2070)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions