Open Jashcraf opened 3 days ago
Implementation idea - Median along the vertical dimension to denoise the data and compute the absolute value of the gradient of that, and then maximize it.
There are degenerate solutions but it could be fun to try
Solution degeneracy arises from Gibbs phenomena, (i.e. onion-ring diffraction haha). But doing a down-sampling could alias a lot of this away.
Is there (going to be?) a pupil lens, or does the stage take us to a pupil?
On Sun, Sep 29, 2024, 9:25 AM Jaren Ashcraft @.***> wrote:
Implementation idea - Median along the vertical dimension to denoise the data and compute the absolute value of the gradient of that, and then maximize it.
There are degenerate solutions but it could be fun to try
— Reply to this email directly, view it on GitHub https://github.com/UCSB-Exoplanet-Polarimetry-Lab/derp_control/issues/6#issuecomment-2381416677, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEK2SJD67HDJEA3T6XSHRFDZZASXRAVCNFSM6AAAAABO4CKH7WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBRGQYTMNRXG4 . You are receiving this because you are subscribed to this thread.Message ID: <UCSB-Exoplanet-Polarimetry-Lab/derp_control/issues/6/2381416677@ github.com>
Not sure how to do this immediately, but doing an edge-detection thing where you draw a line across the pupil and maximize the first derivative of the line at a point could work as a first pass