Z coefficients manipulation, save wavefront into png and FITS

This commit is contained in:
Timur A. Fatkhullin
2017-05-21 13:14:48 +03:00
parent 7143778fa0
commit e05dab6d7d
10 changed files with 6960 additions and 33 deletions

View File

@@ -64,6 +64,9 @@ void proc_DAT(){
return;
}
}
if(GP->tozero) z_set_tozero(GP->tozero);
if(GP->addcoef) z_set_addcoef(GP->addcoef);
if(strcmp(GP->wfunits, DEFAULT_WF_UNIT)){ // user ask to change default unit
if(z_set_wfunit(GP->wfunits)){
WARNX(_("Bad wavefront unit: %s. Should be one of"), GP->wfunits);
@@ -135,6 +138,7 @@ int main(int argc, char** argv){
initial_setup();
GP = parse_args(argc, argv);
if(!GP->inwfs && !GP->indat) ERRX(_("You should give input file name"));
z_set_scale(GP->scale);
if(GP->inwfs){
proc_WFS();
}