Commit 097626206e39ece69adcb719a7657b68188be9d3
1 parent
f9ef9f1e
add maximum number of iterations
Showing
1 changed file
with
1 additions
and
0 deletions
scripts/cssens.py
| @@ -121,6 +121,7 @@ class cssens(GApplication): | @@ -121,6 +121,7 @@ class cssens(GApplication): | ||
| 121 | pars.append(GPar("index","r","h","-2.48","","","Assumed spectral index")) | 121 | pars.append(GPar("index","r","h","-2.48","","","Assumed spectral index")) |
| 122 | pars.append(GPar("radius","r","h","0.1","","","Extended source model radius")) | 122 | pars.append(GPar("radius","r","h","0.1","","","Extended source model radius")) |
| 123 | pars.append(GPar("width","r","h","0.05","","","Extended source model width")) | 123 | pars.append(GPar("width","r","h","0.05","","","Extended source model width")) |
| 124 | + pars.append(GPar("max_iter","i","h","50","","","Maximum number of iterations")) | ||
| 124 | pars.append(GPar("num_avg","i","h","3","","","Number of iterations for sliding average")) | 125 | pars.append(GPar("num_avg","i","h","3","","","Number of iterations for sliding average")) |
| 125 | pars.append_standard() | 126 | pars.append_standard() |
| 126 | pars.save(parfile) | 127 | pars.save(parfile) |