Changes

Jump to navigation Jump to search
no edit summary
Line 93: Line 93:  
The Gaussian fit program which searches for the flare center is the following:
 
The Gaussian fit program which searches for the flare center is the following:
   −
[[Image:Screenshot.png|center|Matlab code used for image analysis]]
+
[[Image:Screenshot2.png|center|Matlab code used for image analysis]]
 
    
 
    
 
The parameters p(1) to p(6) are, in numerical order, (1) the amplitude of the function, (2) x location, (3)sigma x, (4) y location, (5) sigma y, and (6) an offset applied to eliminate background noise.  The function takes user inputs as an initial guess, then loops the search process to find more accurate values for the parameters.  Arbitrary values are chosen for p(1), p(3), p(5) and p(6) to begin, and are then readjusted based on the first output parameters.  Typically, the closer these fit parameters are to the true parameters, the better the function is at defining p(2) an p(4).
 
The parameters p(1) to p(6) are, in numerical order, (1) the amplitude of the function, (2) x location, (3)sigma x, (4) y location, (5) sigma y, and (6) an offset applied to eliminate background noise.  The function takes user inputs as an initial guess, then loops the search process to find more accurate values for the parameters.  Arbitrary values are chosen for p(1), p(3), p(5) and p(6) to begin, and are then readjusted based on the first output parameters.  Typically, the closer these fit parameters are to the true parameters, the better the function is at defining p(2) an p(4).
196

edits

Navigation menu