lmax_fraction,// final double cuas_lmax_fraction, // 0.7; // Check if local maximum is separated from tye surrounding by this fraction of the maximum value
keep_failed,// final boolean keep_failed, // keep failed targets
lmax_flt_neglim,// final double lmax_flt_neglim, // -0.3; // limit negative data to reduce ridge influence (make -10 to disable)
niter,// final int when, // set if >=0 for failures
lmax_flt_hsigma,// final double lmax_flt_hsigma, // 1.0 // HPF (~UM) subtract GB with this sigma from the data tile
true,// final boolean centered,
lmax_flt_lsigma,// final double lmax_flt_lsigma, // 1.0 // LPF - GB result of the previous subtraction
targets_nonoverlap,// final double [][][] vector_fields, // centers
lmax_flt_scale,// final double lmax_flt_scale, // 5.0 // scale filtering result
fpixels_accumulated,// final double [][] accum_data, // should be around 0, no low-freq
cuasMotion.sky_mask,// final double sky_mask,
lmax_fraction,// final double cuas_lmax_fraction, // 0.7; // Check if local maximum is separated from tye surrounding by this fraction of the maximum value
sky_threshold,// final double sky_threshold, // 0.9 // minimal value of the sky mask where target is possible
lmax_flt_neglim,// final double lmax_flt_neglim, // -0.3; // limit negative data to reduce ridge influence (make -10 to disable)
target_horizon+filter_below_horizon,// final double lma_horizon,
lmax_flt_hsigma,// final double lmax_flt_hsigma, // 1.0 // HPF (~UM) subtract GB with this sigma from the data tile
lmax_hack_ridge,// final double lmax_hack_ridge, // 0.45; // Hack for ridges: remove horizontal streaks, where average(abs()) for the line exceeds fraction of abs max 0.32-good, 0.55 - bad
lmax_flt_lsigma,// final double lmax_flt_lsigma, // 1.0 // LPF - GB result of the previous subtraction
lmax_radius,// final int cuas_lmax_radius, // 3; // look inside cuas_lmax_radius* 2 + 1 square for the local maximum isolation
lmax_flt_scale,// final double lmax_flt_scale, // 5.0 // scale filtering result
lmax_radius,// final double centered_radius,
cuasMotion.sky_mask,// final double sky_mask,
0.5,// final double centered_radius_blur,
sky_threshold,// final double sky_threshold, // 0.9 // minimal value of the sky mask where target is possible
1.0,// final double pix_tolerance, //
target_horizon+filter_below_horizon,// final double lma_horizon,
// lmax_zero, // final boolean cuas_lmax_zero, // true; // zero all data outside this radius from the maximum
lmax_hack_ridge,// final double lmax_hack_ridge, // 0.45; // Hack for ridges: remove horizontal streaks, where average(abs()) for the line exceeds fraction of abs max 0.32-good, 0.55 - bad
target_radius,// final double centroid_radius,
lmax_radius,// final int cuas_lmax_radius, // 3; // look inside cuas_lmax_radius* 2 + 1 square for the local maximum isolation
n_recenter,// final int n_recenter, // re-center window around new maximum. 0 -no refines (single-pass)
lmax_radius,// final double centered_radius,
cuasMotion.tilesX,// final int tilesX){
0.5,// final double centered_radius_blur,
no_border,// final boolean no_border,
1.0,// final double pix_tolerance, //
// Moving target LMA
// lmax_zero, // final boolean cuas_lmax_zero, // true; // zero all data outside this radius from the maximum
lma_sigma,// final double lma_sigma,
target_radius,// final double centroid_radius,
wnd_pedestal,// final double wnd_pedestal,
n_recenter,// final int n_recenter, // re-center window around new maximum. 0 -no refines (single-pass)
lma_r0,// final double lma_r0,
cuasMotion.tilesX,// final int tilesX){
lma_ovrsht,// final double lma_ovrsht,
no_border,// final boolean no_border,
// CUAS Motion LMA parameters
// Moving target LMA
lma_fit_xy,// final boolean lma_fit_xy,
lma_sigma,// final double lma_sigma,
lma_fit_a,// final boolean lma_fit_a,
wnd_pedestal,// final double wnd_pedestal,
lma_fit_c,// final boolean lma_fit_c,
lma_r0,// final double lma_r0,
lma_fit_r,// final boolean lma_fit_r,
lma_ovrsht,// final double lma_ovrsht,
lma_fit_k,// final boolean lma_fit_k,
// CUAS Motion LMA parameters
lambda,// final double lambda,
lma_fit_xy,// final boolean lma_fit_xy,
lambda_good,// final double lambda_good,
lma_fit_a,// final boolean lma_fit_a,
lambda_bad,// final double lambda_bad,
lma_fit_c,// final boolean lma_fit_c,
lambda_max,// final double lambda_max,
lma_fit_r,// final boolean lma_fit_r,
rms_diff,// final double rms_diff,
lma_fit_k,// final boolean lma_fit_k,
num_iter,// final int num_iter,0, // final double pre_min_a, // pre-filter minimal LMA-A (half finbal?)
lambda,// final double lambda,
lma_pre_mina*lma_mina,// final double pre_min_a, // 0.5 //scale cuas_lma_mina to filter initial candidates (if there are > one of them)
lambda_good,// final double lambda_good,
min_keep,// final int min_keep, // 2; // keep at least this number of candidates before using cuas_lma_pre_mina filter
lambda_bad,// final double lambda_bad,
accum_debug,// final float [][] accum_debug,
lambda_max,// final double lambda_max,
parentCLT,// final QuadCLT parentCLT, // debug only, maybe null in other cases
rms_diff,// final double rms_diff,
debugLevel);// final int debugLevel);
num_iter,// final int num_iter,0, // final double pre_min_a, // pre-filter minimal LMA-A (half finbal?)
lma_pre_mina*lma_mina,// final double pre_min_a, // 0.5 //scale cuas_lma_mina to filter initial candidates (if there are > one of them)
if(accum_debug!=null){
min_keep,// final int min_keep, // 2; // keep at least this number of candidates before using cuas_lma_pre_mina filter