@@ -109,20 +109,18 @@ def process(self, input_data):
109109
110110 starfinder_kwargs = {
111111 "sigma_radius" : self .sigma_radius ,
112- "minsep_fwhm" : self .minsep_fwhm ,
113- "sharplo" : self .sharplo ,
114- "sharphi" : self .sharphi ,
115- "roundlo" : self .roundlo ,
116- "roundhi" : self .roundhi ,
117- "peakmax" : self .peakmax ,
118- "brightest" : self .brightest ,
119- "npixels" : self .npixels ,
112+ "min_separation" : max (2 , int (self .minsep_fwhm * self .kernel_fwhm + 0.5 )),
113+ "sharpness_range" : (self .sharplo , self .sharphi ),
114+ "roundness_range" : (self .roundlo , self .roundhi ),
115+ "peak_max" : self .peakmax ,
116+ "n_brightest" : self .brightest ,
117+ "n_pixels" : self .npixels ,
120118 "connectivity" : int (self .connectivity ), # option returns a string, so cast to int
121- "nlevels " : self .nlevels ,
119+ "n_levels " : self .nlevels ,
122120 "contrast" : self .contrast ,
123121 "mode" : self .multithresh_mode ,
124- "localbkg_width " : self .localbkg_width ,
125- "apermask_method " : self .apermask_method ,
122+ "local_bkg_width " : self .localbkg_width ,
123+ "aperture_mask_method " : self .apermask_method ,
126124 "kron_params" : self .kron_params ,
127125 "deblend" : self .deblend ,
128126 "error" : output_model .err ,
0 commit comments