1
/*===========================================================================
2
Copyright (C) 1995-2009 European Southern Observatory (ESO)
4
This program is free software; you can redistribute it and/or
5
modify it under the terms of the GNU General Public License as
6
published by the Free Software Foundation; either version 2 of
7
the License, or (at your option) any later version.
9
This program is distributed in the hope that it will be useful,
10
but WITHOUT ANY WARRANTY; without even the implied warranty of
11
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
GNU General Public License for more details.
14
You should have received a copy of the GNU General Public
15
License along with this program; if not, write to the Free
16
Software Foundation, Inc., 675 Massachusetss Ave, Cambridge,
19
Corresponding concerning ESO-MIDAS should be addressed as follows:
20
Internet e-mail: midas@eso.org
21
Postal address: European Southern Observatory
22
Data Management Division
23
Karl-Schwarzschild-Strasse 2
24
D 85748 Garching bei Muenchen
30
===========================================================================*/
35
#include <globaldef.h>
39
extern void endname();
47
extern struct s_filter F;
55
if(strcmp(term,"flt"))
59
strcpy(name,"tmp.flt");
61
strcpy(F.filterfile,name);
65
fprintf(out,"# filter characteristic: %s\n",name);
66
fprintf(out,"cw\t%f\n",F.cw);
67
fprintf(out,"bw\t%f\n",F.bw);
68
fprintf(out,"peak\t%f\n",F.peak);
69
fprintf(out,"# red leak\n");
70
fprintf(out,"cwl\t%f\n",F.cwl);
71
fprintf(out,"bwl\t%f\n",F.bwl);
72
fprintf(out,"peakl\t%f\n",F.peakl);