Skip to main content
Solved

Read value and assume as a target in merit function editor

  • October 18, 2022
  • 3 replies
  • 317 views

Luca.cellerino

Hi all,
I have compiled a merit function where reading a value on the rectangular detector, I divide it in half and I would like to use it as a target to optimize the system. I have no idea how one can assign a value to a target that is a function of another.

I attach image to simplify.

 

Thanks to all.

 

Best answer by Luca.cellerino

David.Nguyen wrote:

Hi Luca,

 

I would use the DIFF operand, which will give you the value Operand 14 - Operand 15 and target it to zero. Does that make sense?

Take care,

 

David

Hi,
actually the image is not correct, I found what I need by applying a simple algebraic operator. My requirement is linked to the fact that I have to characterize a material of which I know the result provided by a hazelmeter in terms of half power angle. My variables are "mean path" and "angle" (I added the power variable of the source to speed up the process - I hope !!!).

Thanks a lot.

 

 

View original
Did this topic help you find an answer to your question?

3 replies

Luca.cellerino

In other words, how can I assign a function of a value read on the detector to a target?

 

Thanks to all


David.Nguyen
Luminary
Forum|alt.badge.img+2
  • Luminary
  • 1094 replies
  • October 18, 2022

Hi Luca,

 

I would use the DIFF operand, which could give you the value Operand 14 - Operand 15 and target it to zero. Does that make sense?

Take care,

 

David


Luca.cellerino
  • Author
  • Visible
  • 20 replies
  • Answer
  • October 18, 2022
David.Nguyen wrote:

Hi Luca,

 

I would use the DIFF operand, which will give you the value Operand 14 - Operand 15 and target it to zero. Does that make sense?

Take care,

 

David

Hi,
actually the image is not correct, I found what I need by applying a simple algebraic operator. My requirement is linked to the fact that I have to characterize a material of which I know the result provided by a hazelmeter in terms of half power angle. My variables are "mean path" and "angle" (I added the power variable of the source to speed up the process - I hope !!!).

Thanks a lot.

 

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings