Skip to content

compound lens problem for zero lenses #44

@srio

Description

@srio

From: CARADOC-DAVIES, Tom
Sent: Saturday, September 5, 2020 4:08:23 PM
To: Rebuffi, Luca
Subject: Shadow bug? [SEC=UNCLASSIFIED]

Hi Luca,

I think I have found a minor bug. I am modelling CRLs in my beamline layout.

I am using the compound refractive lens widget to model 1D vertical and horizontal lenses.

This has the option for number of lenses and number of empty slots.

If I set number of lenses to zero on both CRL widgets in the Info widget distance summary table 4 CRLS are incorrectly listed (see attached).

They are not affecting the ray traced beam but seem to be incorrectly listed in the table? I would assume they should not be on the list as they are out of beam?

When I add lenses they appear as expected but I cannot get rid of the 4 “phantom” lenses.

I attached my model if you want to reproduce the error (apologies for the complex model).

Cheers,

Tom

image

MX3_CRL_defocus8.zip

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions