aboutsummaryrefslogtreecommitdiff
path: root/scripts/gaincal-to-saturation-map
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/gaincal-to-saturation-map')
-rwxr-xr-xscripts/gaincal-to-saturation-map9
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/gaincal-to-saturation-map b/scripts/gaincal-to-saturation-map
index 8a803526..eac8883c 100755
--- a/scripts/gaincal-to-saturation-map
+++ b/scripts/gaincal-to-saturation-map
@@ -1,4 +1,13 @@
#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+#
+# Convert gain map to saturation map
+#
+# Copyright © 2016-2017 Deutsches Elektronen-Synchrotron DESY,
+# a research centre of the Helmholtz Association.
+#
+# Author:
+# 2016-2017 Thomas White <taw@physics.org>
import numpy as np
import h5py