@@ -2834,10 +2792,8 @@ public class VegetationLMA {
...
@@ -2834,10 +2792,8 @@ public class VegetationLMA {
ImageDtt.startAndJoin(threads);
ImageDtt.startAndJoin(threads);
}
}
/*
if (samples_pointers[SAMPLES_VEGETATION_LPF][1] > 0) { // fits[TVAO_VEGETATION] && (veget_lpf >= 0)) { // should be positive for pull0 and terr_pull_cold (difference between vegetation and terrain)
if (samples_pointers[SAMPLES_VEGETATION_LPF][1] > 0) { // fits[TVAO_VEGETATION] && (veget_lpf >= 0)) { // should be positive for pull0 and terr_pull_cold (difference between vegetation and terrain)
// final int ind_y_veget = samples_pointers[SAMPLES_VEGETATION_LPF][0]; // ind_next;
// ind_next += num_pars_vegetation;
ai.set(0);
ai.set(0);
for (int ithread = 0; ithread < threads.length; ithread++) {
for (int ithread = 0; ithread < threads.length; ithread++) {
threads[ithread] = new Thread() {
threads[ithread] = new Thread() {
...
@@ -2881,6 +2837,135 @@ public class VegetationLMA {
...
@@ -2881,6 +2837,135 @@ public class VegetationLMA {
ImageDtt.startAndJoin(threads);
ImageDtt.startAndJoin(threads);
}
}
*/
if(samples_pointers[SAMPLES_VEGETATION_LPF][1]>0){// should be positive for pull0 and terr_pull_cold (difference between vegetation and terrain)
if(num_pars_alpha<=0){
System.out.println("getFxDerivs(): BUG: Asjusting SAMPLES_VEGETATION_LPF requires alpha parameters aslo to be fitted");
if(samples_pointers[SAMPLES_ELEVATION_PULL][1]>0){// fits[TVAO_ELEVATION] && (elevation_lpf >= 0)) { // should be positive for pull0 and terr_pull_cold (difference between vegetation and terrain)
if(samples_pointers[SAMPLES_ELEVATION_PULL][1]>0){// fits[TVAO_ELEVATION] && (elevation_lpf >= 0)) { // should be positive for pull0 and terr_pull_cold (difference between vegetation and terrain)