Skip to content

[BUG]: Monitor_nD per cm2 “lowers dimensionality" #2445

@willend

Description

@willend

Describe the bug
With a “PSD” made using Monitor_nD:

COMPONENT PSD = Monitor_nD(xwidth=0.1, yheight=0.1, options=“x bins=128 y bins=128”)
AT (0,0,0) RELATIVE somewhere

changing options string to

COMPONENT PSD = Monitor_nD(xwidth=0.1, yheight=0.1, options=“intensity pr cm2 x bins=128 y bins=128”)
AT (0,0,0) RELATIVE somewhere

measures intensity not against x and y - but one of these vars.

Will fill in more details later

Document steps to reproduce the bug
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

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

  • OS: [e.g. Linux]
  • McCode variant [i.e. McStas, McXtrace]
  • Version [e.g. 3.6.5]

Add your code / dataset
If applicable:

  • Please provide a zip-archive of instrument plus any local components, datafiles, …
  • Please provide all settings used (e.g. input parameters, mpi parallelisation level, …)
  • Please provide a zip-archive of your dataset

Additional context
Add any other context about the problem here.

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