GRAVI Pipeline Reference Manual
1.9.3
Loading...
Searching...
No Matches
gravi
gravi_strehl.c
Go to the documentation of this file.
1
/* $Id:$
2
*
3
* This file is part of the GRAVI Pipeline
4
* Copyright (C) 2002,2003 European Southern Observatory
5
*
6
* This program is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; either version 2 of the License, or
9
* (at your option) any later version.
10
*
11
* This program is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License
17
* along with this program; if not, write to the Free Software
18
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19
*/
20
26
/*-----------------------------------------------------------------------------
27
Includes
28
-----------------------------------------------------------------------------*/
29
30
#ifdef HAVE_CONFIG_H
31
#include <config.h>
32
#endif
33
34
#include <hdrl_strehl.h>
35
36
cpl_error_code
gravi_strehl
(
double
wavelength);
37
38
/*----------------------------------------------------------------------------*/
45
/*----------------------------------------------------------------------------*/
46
47
cpl_error_code
gravi_strehl
(
double
wavelength)
48
{
49
50
if
(wavelength < 0)
51
return
CPL_ERROR_INCOMPATIBLE_INPUT;
52
53
// hdrl_parameter * strehl_params =
54
// hdrl_strehl_parameter_create (wavelength,0.,0.,0.,0.,0.,0.,0.);
55
56
return
CPL_ERROR_NONE;
57
}
gravi_strehl
cpl_error_code gravi_strehl(double wavelength)
Compute the Strehl ratio.
Definition:
gravi_strehl.c:47
Generated on Fri Jun 13 2025 17:40:18 for GRAVI Pipeline Reference Manual by
1.9.6