aboutsummaryrefslogtreecommitdiff
path: root/src/pmt_response.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pmt_response.h')
-rw-r--r--src/pmt_response.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/pmt_response.h b/src/pmt_response.h
index fd23ab2..c87ce0d 100644
--- a/src/pmt_response.h
+++ b/src/pmt_response.h
@@ -19,6 +19,7 @@
#include "dict.h"
+/* Global error string set when pmt_response_init() returns -1. */
extern char pmtr_err[256];
#define NUM_ANGLES 90
@@ -31,8 +32,8 @@ extern char pmtr_err[256];
#define KPMTR_RESP 4
#define KPMTR_REFLEC 4504
-double get_weighted_pmt_reflectivity(double theta);
-double get_weighted_pmt_response(double theta);
+double get_weighted_pmt_reflectivity(double cos_theta);
+double get_weighted_pmt_response(double cos_theta);
double get_pmt_reflectivity(double wavelength, double theta);
double get_pmt_response(double wavelength, double theta);
int pmt_response_init(dict *db);