hexagon logo

Extracting 3 largest values?

Is there a way to set up a code to extract the largest 3 values of a group of hits?

I have 9 points around an arc and want to create a circle using the 3 largest -PR- values from the 9 points.

I'm able to get the Max/Min values from the group, but want a way to find the three largest -PR- values.

Thanks,

Parents
  • Not specifically related to your request, but I thought it would be helpful as i see your example doesn't have the origin at zero... There's a "small arc" method you should be using to get better accuracy on your results.

    Measure the arc with a "Fixed radius" of the nominal value, 3-5 hits should suffice.

    align/origin to that "fixed radius" arc segment.

    then remeasure the arc segment with your 9 hits, using least squares math.

    finally, you can extract your 3 highest points... but after doing this, my guess is that you won't need to (as the 9 hit radius will be more accurate than the 3 extracted hits)

Reply
  • Not specifically related to your request, but I thought it would be helpful as i see your example doesn't have the origin at zero... There's a "small arc" method you should be using to get better accuracy on your results.

    Measure the arc with a "Fixed radius" of the nominal value, 3-5 hits should suffice.

    align/origin to that "fixed radius" arc segment.

    then remeasure the arc segment with your 9 hits, using least squares math.

    finally, you can extract your 3 highest points... but after doing this, my guess is that you won't need to (as the 9 hit radius will be more accurate than the 3 extracted hits)

Children
No Data