Revision 7872,
1.8 KB
checked in by aivar, 8 years ago
(diff) 
Added 'noise' and 'chi_square_delta' parameters to EcfWrapper and JNI interface.

Line  

1  /* 

2  This file is part of the SLIMcurve package for exponential curve fitting of spectral lifetime data. 

3  

4  Copyright (c) 2010, 2011, Gray Institute University of Oxford & UWMadison LOCI. 

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 3 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, see <http://www.gnu.org/licenses/>. 

18  */ 

19  

20  /* 

21  * File: EcfWrapper.h 

22  * Author: Aivar Grislis 

23  * 

24  * Created on September 3, 2010, 5:21 PM 

25  */ 

26  

27  #ifndef _ECFWRAPPER_H 

28  #define _ECFWRAPPER_H 

29  

30  #ifdef __cplusplus 

31  extern "C" { 

32  #endif 

33  

34  int RLD_fit( 

35  double x_inc, 

36  double y[], 

37  int fit_start, 

38  int fit_end, 

39  double instr[], 

40  int n_instr, 

41  int noise, 

42  double sig[], 

43  double *z, 

44  double *a, 

45  double *tau, 

46  double fitted[], 

47  double *chi_square, 

48  double chi_square_target 

49  ); 

50  

51  int LMA_fit( 

52  double x_inc, 

53  double y[], 

54  int fit_start, 

55  int fit_end, 

56  double instr[], 

57  int n_instr, 

58  int noise, 

59  double sig[], 

60  double param[], 

61  int param_free[], 

62  int n_param, 

63  double fitted[], 

64  double *chi_square, 

65  double chi_square_target, 

66  double chi_square_delta 

67  ); 

68  

69  #ifdef __cplusplus 

70  } 

71  #endif 

72  

73  #endif /* _ECFWRAPPER_H */ 

74  

Note: See
TracBrowser
for help on using the repository browser.