Skip to main content
Best answer by Werner_E

Maybe that way

Werner_E_0-1713780731470.png

If that ratio is all that is of interest, you should modify the function beta.in_out accordingly so that it only returns that ratio.

 

Another way could be to turn each of the "genfit" calls into a separate function of the index:

Werner_E_0-1713781143412.png

 

 

 

1 reply

Werner_E25-Diamond IAnswer
25-Diamond I
April 22, 2024

Maybe that way

Werner_E_0-1713780731470.png

If that ratio is all that is of interest, you should modify the function beta.in_out accordingly so that it only returns that ratio.

 

Another way could be to turn each of the "genfit" calls into a separate function of the index:

Werner_E_0-1713781143412.png

 

 

 

Cornel19-TanzaniteAuthor
19-Tanzanite
April 22, 2024

Yes, the second variant.

But look:

Cornel_0-1713781996590.png

 

Cornel_2-1713782031777.png

How to extract each i from the above two vectors?

 

 

25-Diamond I
April 22, 2024

I don't understand what you are looking for!?

 

The values you calculate singly for i=4 and i=10 seem to match perfectly with the appropriate values in the calculated vectors.

I see no problem or error here.

 

Or could it be that you stumble across this age-old problem??

Werner_E_0-1713782937308.png

If that's the case you may have a second look at how I defined the vector(!) "ratios" in my answer above!!