faitdivers / pyao

PyAO - Adaptive Optics simulation package
6 stars 0 forks source link

[Centroid] Subaperture throw away mechanism #54

Open faitdivers opened 10 years ago

faitdivers commented 10 years ago

"[...] regarding the mechanism to throw away some apertures: if the max intensity of the light obtain by CCD is less than certain value, and if the error (from ideal spot to the centroid) is larger than certain value, we should throw it away.

Are there some references which state what value of max intensity and error we can use as a threshold for throwing away subapertures?"

by @herminarto

faitdivers commented 10 years ago

I am not sure if there are references concerning the maximum intensity. I propose the following:

Normalise the intensity values so that they are between 0 and 1. Then define a parameter (also between 0 and 1), say, 0.5, that specifies the threshold below which you throw away the subaperture due to lack of illumination.

Regarding the error from the ideal spot... this problem is more difficult. I suggest you leave it on hold.

herminarto commented 10 years ago

For the error from ideal spot, we can use a boundary, which if the centroid spot falls outside those boundary we have to throw it away. Maybe, as long as the centroid spot does not fall in the region of another aperture. what do you think?

faitdivers commented 10 years ago

Sure, but imagine that the centroid i crosses the boundary to another subaperture j. How do you know which of the spots in subaperture j is the real centroid from subaperture j?

On 5 June 2014 11:03, herminarto notifications@github.com wrote:

For the error from ideal spot, we can use a boundary, which if the centroid spot falls outside those boundary we have to throw it away. Maybe, as long as the centroid spot does not fall in the region of another aperture. what do you think?

— Reply to this email directly or view it on GitHub https://github.com/faitdivers/pyao/issues/54#issuecomment-45196668.