Skip to content

RayUI RayX footprint differences #368

@julixH

Description

@julixH

The output was generated with rayUI and rayX using the following .rml files:

  • ellipsoid.rml
  • mirror.rml
  • grating.rml

Additional alignment errors were manually added (not included in the .rml files, since rayX does not recognize these):

"Ellipsoid": { 
    "translationYerror": 20
},
"Plane Mirror": { 
    "rotationXerror": 500,
    "rotationYerror": 500
}

Issue:

  • For ellipsoid.rml and grating.rml, the output differs significantly between rayUI and rayX.
  • For mirror.rml, the outputs are approximately similar, but only when reflectivityType = 0.
  • Differences are present even without alignment errors, although they are less significant in that case.

This shows that rayx is not fully supporting the METRIX beamline yet.

Expected Behavior:

Consistent simulation results between rayUI and rayX, especially for identical input configurations.

rayXrayUI.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-coreArea: The core library (rayx-core)A-core-plottingArea: Plotting in the core library

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions