Skip to content

[BUG]: Source_gen does not generate wavelength distribution according to my input file #2565

Description

@Lomholy

Describe the bug
When placing Source_gen with my input file spectrum_anew.txt, the final entry of the spectrume is loaded and used for all wavelengths, thereby creating a flat wavelength distribution instead of my input distribution.

The instrument and the spectrum can be found here:

src_gen_bug.txt

spectrum_anew.txt

OS and McStas/McXtrace version (please complete the following information):

  • OS: MacOs
  • McStas
  • Version 3.7.4

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