aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortlatorre <tlatorre@uchicago.edu>2019-03-16 13:22:06 -0500
committertlatorre <tlatorre@uchicago.edu>2019-03-16 13:22:06 -0500
commit77f0c00c2f9b446807ca14f323f301263bf01b45 (patch)
treee6f7b95739995d92ad8bf993f565bd081cec5ee1 /src
parente6a5af1eae49c773f205fb81f19fbce21f67c3f8 (diff)
downloadsddm-77f0c00c2f9b446807ca14f323f301263bf01b45.tar.gz
sddm-77f0c00c2f9b446807ca14f323f301263bf01b45.tar.bz2
sddm-77f0c00c2f9b446807ca14f323f301263bf01b45.zip
add GPLv3 license
Diffstat (limited to 'src')
-rw-r--r--src/calculate-csda-range.c16
-rw-r--r--src/calculate_limits.c16
-rw-r--r--src/db.c16
-rw-r--r--src/db.h16
-rw-r--r--src/dc.c16
-rw-r--r--src/dc.h16
-rw-r--r--src/dqxx.c16
-rw-r--r--src/dqxx.h16
-rw-r--r--src/electron.c16
-rw-r--r--src/electron.h16
-rw-r--r--src/event.h16
-rw-r--r--src/find_peaks.c16
-rw-r--r--src/find_peaks.h16
-rw-r--r--src/fit.c16
-rw-r--r--src/id_particles.h16
-rw-r--r--src/likelihood.c16
-rw-r--r--src/likelihood.h16
-rw-r--r--src/misc.c16
-rw-r--r--src/misc.h16
-rw-r--r--src/mt19937ar.h16
-rw-r--r--src/muon.c16
-rw-r--r--src/muon.h16
-rw-r--r--src/optics.c16
-rw-r--r--src/optics.h16
-rw-r--r--src/pack2b.c16
-rw-r--r--src/pack2b.h16
-rw-r--r--src/path.c16
-rw-r--r--src/path.h16
-rw-r--r--src/pdg.c16
-rw-r--r--src/pdg.h16
-rw-r--r--src/pmt.c16
-rw-r--r--src/pmt.h16
-rw-r--r--src/pmt_response.c16
-rw-r--r--src/pmt_response.h16
-rw-r--r--src/proton.c16
-rw-r--r--src/proton.h16
-rw-r--r--src/quad.c16
-rw-r--r--src/quad.h16
-rw-r--r--src/quantum_efficiency.c16
-rw-r--r--src/quantum_efficiency.h16
-rw-r--r--src/random.c16
-rw-r--r--src/random.h16
-rw-r--r--src/scattering.c16
-rw-r--r--src/scattering.h16
-rw-r--r--src/sno.h16
-rw-r--r--src/sno_charge.c16
-rw-r--r--src/sno_charge.h16
-rw-r--r--src/solid_angle.c16
-rw-r--r--src/solid_angle.h16
-rw-r--r--src/sort.c16
-rw-r--r--src/sort.h16
-rw-r--r--src/test-charge.c16
-rw-r--r--src/test-find-peaks.c16
-rw-r--r--src/test-likelihood.c16
-rw-r--r--src/test-path.c16
-rw-r--r--src/test-time-pdf.c16
-rw-r--r--src/test-vector.c16
-rw-r--r--src/test-zebra.c16
-rw-r--r--src/test.c16
-rw-r--r--src/util.c16
-rw-r--r--src/util.h16
-rw-r--r--src/vector.c16
-rw-r--r--src/vector.h16
-rw-r--r--src/zdab_utils.c16
-rw-r--r--src/zdab_utils.h16
-rw-r--r--src/zebra.c16
-rw-r--r--src/zebra.h16
67 files changed, 1072 insertions, 0 deletions
diff --git a/src/calculate-csda-range.c b/src/calculate-csda-range.c
index 7d71096..5aa03c2 100644
--- a/src/calculate-csda-range.c
+++ b/src/calculate-csda-range.c
@@ -1,3 +1,19 @@
+/* Copyright (c) 2019, Anthony Latorre <tlatorre at uchicago>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#include <stdio.h>
#include <gsl/gsl_spline.h>
#include <stdlib.h> /* for size_t, strtod() */
diff --git a/src/calculate_limits.c b/src/calculate_limits.c
index 6dd37f0..c4e0528 100644
--- a/src/calculate_limits.c
+++ b/src/calculate_limits.c
@@ -1,3 +1,19 @@
+/* Copyright (c) 2019, Anthony Latorre <tlatorre at uchicago>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#include <stdio.h>
#include <gsl/gsl_integration.h>
#include <math.h> /* For M_PI */
diff --git a/src/db.c b/src/db.c
index 5b29b66..2d5df99 100644
--- a/src/db.c
+++ b/src/db.c
@@ -1,3 +1,19 @@
+/* Copyright (c) 2019, Anthony Latorre <tlatorre at uchicago>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#include "db.h"
#include <stdio.h> /* for fopen(), etc. */
#include <errno.h> /* for strerror(), etc. */
diff --git a/src/db.h b/src/db.h
index 5488ae3..4344b94 100644
--- a/src/db.h
+++ b/src/db.h
@@ -1,3 +1,19 @@
+/* Copyright (c) 2019, Anthony Latorre <tlatorre at uchicago>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#ifndef DB_H
#define DB_H
diff --git a/src/dc.c b/src/dc.c
index 897a645..9d7ee8e 100644
--- a/src/dc.c
+++ b/src/dc.c
@@ -1,3 +1,19 @@
+/* Copyright (c) 2019, Anthony Latorre <tlatorre at uchicago>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#include "event.h"
#include "sort.h"
#include <stddef.h> /* for size_t */
diff --git a/src/dc.h b/src/dc.h
index 34ddf09..503fb25 100644
--- a/src/dc.h
+++ b/src/dc.h
@@ -1,3 +1,19 @@
+/* Copyright (c) 2019, Anthony Latorre <tlatorre at uchicago>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#ifndef DC_H
#define DC_H
diff --git a/src/dqxx.c b/src/dqxx.c
index 8aa32c0..7cf77f3 100644
--- a/src/dqxx.c
+++ b/src/dqxx.c
@@ -1,3 +1,19 @@
+/* Copyright (c) 2019, Anthony Latorre <tlatorre at uchicago>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#include "dqxx.h"
#include "db.h"
#include <stdint.h> /* for uint32_t */
diff --git a/src/dqxx.h b/src/dqxx.h
index f5ebe1b..15c9c7a 100644
--- a/src/dqxx.h
+++ b/src/dqxx.h
@@ -1,3 +1,19 @@
+/* Copyright (c) 2019, Anthony Latorre <tlatorre at uchicago>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#ifndef DQXX_H
#define DQXX_H
diff --git a/src/electron.c b/src/electron.c
index 2f6902e..957b278 100644
--- a/src/electron.c
+++ b/src/electron.c
@@ -1,3 +1,19 @@
+/* Copyright (c) 2019, Anthony Latorre <tlatorre at uchicago>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#include <stdio.h>
#include <errno.h>
#include <string.h>
diff --git a/src/electron.h b/src/electron.h
index 61de2a3..98201b8 100644
--- a/src/electron.h
+++ b/src/electron.h
@@ -1,3 +1,19 @@
+/* Copyright (c) 2019, Anthony Latorre <tlatorre at uchicago>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#ifndef ELECTRON_H
#define ELECTRON_H
diff --git a/src/event.h b/src/event.h
index 60bdbf7..a561a1f 100644
--- a/src/event.h
+++ b/src/event.h
@@ -1,3 +1,19 @@
+/* Copyright (c) 2019, Anthony Latorre <tlatorre at uchicago>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#ifndef EVENT_H
#define EVENT_H
diff --git a/src/find_peaks.c b/src/find_peaks.c
index 008e549..04bf40a 100644
--- a/src/find_peaks.c
+++ b/src/find_peaks.c
@@ -1,3 +1,19 @@
+/* Copyright (c) 2019, Anthony Latorre <tlatorre at uchicago>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#include "find_peaks.h"
#include "vector.h"
#include "event.h"
diff --git a/src/find_peaks.h b/src/find_peaks.h
index 7ca798b..8511af6 100644
--- a/src/find_peaks.h
+++ b/src/find_peaks.h
@@ -1,3 +1,19 @@
+/* Copyright (c) 2019, Anthony Latorre <tlatorre at uchicago>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#ifndef FIND_PEAKS
#define FIND_PEAKS
diff --git a/src/fit.c b/src/fit.c
index 31c5daf..35d5950 100644
--- a/src/fit.c
+++ b/src/fit.c
@@ -1,3 +1,19 @@
+/* Copyright (c) 2019, Anthony Latorre <tlatorre at uchicago>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#include "likelihood.h"
#include <stdio.h>
#include "zebra.h"
diff --git a/src/id_particles.h b/src/id_particles.h
index df1bf93..d53b5fe 100644
--- a/src/id_particles.h
+++ b/src/id_particles.h
@@ -1,3 +1,19 @@
+/* Copyright (c) 2019, Anthony Latorre <tlatorre at uchicago>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#ifndef ID_PARTICLES_H
#define ID_PARTICLES_H
diff --git a/src/likelihood.c b/src/likelihood.c
index e3814a1..3e20b7e 100644
--- a/src/likelihood.c
+++ b/src/likelihood.c
@@ -1,3 +1,19 @@
+/* Copyright (c) 2019, Anthony Latorre <tlatorre at uchicago>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#include "likelihood.h"
#include <stdlib.h> /* for size_t */
#include "pmt.h"
diff --git a/src/likelihood.h b/src/likelihood.h
index 4b72742..4d0160d 100644
--- a/src/likelihood.h
+++ b/src/likelihood.h
@@ -1,3 +1,19 @@
+/* Copyright (c) 2019, Anthony Latorre <tlatorre at uchicago>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#ifndef LIKELIHOOD_H
#define LIKELIHOOD_H
diff --git a/src/misc.c b/src/misc.c
index ce27274..a36e9c9 100644
--- a/src/misc.c
+++ b/src/misc.c
@@ -1,3 +1,19 @@
+/* Copyright (c) 2019, Anthony Latorre <tlatorre at uchicago>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#include "misc.h"
#include <math.h>
#include <stdlib.h> /* for size_t */
diff --git a/src/misc.h b/src/misc.h
index 20197bb..7dad51c 100644
--- a/src/misc.h
+++ b/src/misc.h
@@ -1,3 +1,19 @@
+/* Copyright (c) 2019, Anthony Latorre <tlatorre at uchicago>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#ifndef MISC_H
#define MISC_H
diff --git a/src/mt19937ar.h b/src/mt19937ar.h
index d544847..bad261e 100644
--- a/src/mt19937ar.h
+++ b/src/mt19937ar.h
@@ -1,3 +1,19 @@
+/* Copyright (c) 2019, Anthony Latorre <tlatorre at uchicago>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#ifndef MT19937AR_H
#define MT19937AR_H
diff --git a/src/muon.c b/src/muon.c
index 4b161ed..dabf9bc 100644
--- a/src/muon.c
+++ b/src/muon.c
@@ -1,3 +1,19 @@
+/* Copyright (c) 2019, Anthony Latorre <tlatorre at uchicago>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#include <stdio.h>
#include <errno.h>
#include <string.h>
diff --git a/src/muon.h b/src/muon.h
index 456c11e..e259999 100644
--- a/src/muon.h
+++ b/src/muon.h
@@ -1,3 +1,19 @@
+/* Copyright (c) 2019, Anthony Latorre <tlatorre at uchicago>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#ifndef MUON_H
#define MUON_H
diff --git a/src/optics.c b/src/optics.c
index 4a0722a..d626bf7 100644
--- a/src/optics.c
+++ b/src/optics.c
@@ -1,3 +1,19 @@
+/* Copyright (c) 2019, Anthony Latorre <tlatorre at uchicago>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#include <math.h>
#include "optics.h"
#include "misc.h"
diff --git a/src/optics.h b/src/optics.h
index 64796c6..19db2b9 100644
--- a/src/optics.h
+++ b/src/optics.h
@@ -1,3 +1,19 @@
+/* Copyright (c) 2019, Anthony Latorre <tlatorre at uchicago>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#ifndef OPTICS_H
#define OPTICS_H
diff --git a/src/pack2b.c b/src/pack2b.c
index 25e154d..cd8d78c 100644
--- a/src/pack2b.c
+++ b/src/pack2b.c
@@ -1,3 +1,19 @@
+/* Copyright (c) 2019, Anthony Latorre <tlatorre at uchicago>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#include <stdio.h>
#include <ctype.h>
#include <stdarg.h>
diff --git a/src/pack2b.h b/src/pack2b.h
index b63807a..c497d36 100644
--- a/src/pack2b.h
+++ b/src/pack2b.h
@@ -1,3 +1,19 @@
+/* Copyright (c) 2019, Anthony Latorre <tlatorre at uchicago>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#ifndef PACK2B_H
#define PACK2B_H
diff --git a/src/path.c b/src/path.c
index 3904b44..2f168a1 100644
--- a/src/path.c
+++ b/src/path.c
@@ -1,3 +1,19 @@
+/* Copyright (c) 2019, Anthony Latorre <tlatorre at uchicago>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#include "path.h"
#include <math.h>
#include <gsl/gsl_spline.h>
diff --git a/src/path.h b/src/path.h
index b96945b..a3eb712 100644
--- a/src/path.h
+++ b/src/path.h
@@ -1,3 +1,19 @@
+/* Copyright (c) 2019, Anthony Latorre <tlatorre at uchicago>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#ifndef PATH_H
#define PATH_H
diff --git a/src/pdg.c b/src/pdg.c
index a3eb2d5..17a3647 100644
--- a/src/pdg.c
+++ b/src/pdg.c
@@ -1,3 +1,19 @@
+/* Copyright (c) 2019, Anthony Latorre <tlatorre at uchicago>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#include "pdg.h"
#include "math.h"
#include "sno.h"
diff --git a/src/pdg.h b/src/pdg.h
index df73380..0e062f0 100644
--- a/src/pdg.h
+++ b/src/pdg.h
@@ -1,3 +1,19 @@
+/* Copyright (c) 2019, Anthony Latorre <tlatorre at uchicago>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#ifndef PDG_H
#define PDG_H
diff --git a/src/pmt.c b/src/pmt.c
index 13f3eea..9d284b0 100644
--- a/src/pmt.c
+++ b/src/pmt.c
@@ -1,3 +1,19 @@
+/* Copyright (c) 2019, Anthony Latorre <tlatorre at uchicago>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#include "pmt.h"
#include <stdio.h>
#include <errno.h>
diff --git a/src/pmt.h b/src/pmt.h
index 6be3905..6f5cb10 100644
--- a/src/pmt.h
+++ b/src/pmt.h
@@ -1,3 +1,19 @@
+/* Copyright (c) 2019, Anthony Latorre <tlatorre at uchicago>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#ifndef PMT_H
#define PMT_H
diff --git a/src/pmt_response.c b/src/pmt_response.c
index feda3a6..cedc341 100644
--- a/src/pmt_response.c
+++ b/src/pmt_response.c
@@ -1,3 +1,19 @@
+/* Copyright (c) 2019, Anthony Latorre <tlatorre at uchicago>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#include "pmt_response.h"
#include "dict.h"
#include <stdint.h> /* for uint32_t */
diff --git a/src/pmt_response.h b/src/pmt_response.h
index 7fd1c1d..fd23ab2 100644
--- a/src/pmt_response.h
+++ b/src/pmt_response.h
@@ -1,3 +1,19 @@
+/* Copyright (c) 2019, Anthony Latorre <tlatorre at uchicago>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#ifndef PMT_RESPONSE_H
#define PMT_RESPONSE_H
diff --git a/src/proton.c b/src/proton.c
index 32b17a1..664d930 100644
--- a/src/proton.c
+++ b/src/proton.c
@@ -1,3 +1,19 @@
+/* Copyright (c) 2019, Anthony Latorre <tlatorre at uchicago>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#include <stdio.h>
#include <errno.h>
#include <string.h>
diff --git a/src/proton.h b/src/proton.h
index cffeb9f..f658c09 100644
--- a/src/proton.h
+++ b/src/proton.h
@@ -1,3 +1,19 @@
+/* Copyright (c) 2019, Anthony Latorre <tlatorre at uchicago>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#ifndef PROTON_H
#define PROTON_H
diff --git a/src/quad.c b/src/quad.c
index 848a12e..0c1f349 100644
--- a/src/quad.c
+++ b/src/quad.c
@@ -1,3 +1,19 @@
+/* Copyright (c) 2019, Anthony Latorre <tlatorre at uchicago>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#include "quad.h"
#include "event.h"
#include <gsl/gsl_randist.h>
diff --git a/src/quad.h b/src/quad.h
index 730f45d..51ff6ee 100644
--- a/src/quad.h
+++ b/src/quad.h
@@ -1,3 +1,19 @@
+/* Copyright (c) 2019, Anthony Latorre <tlatorre at uchicago>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#ifndef QUAD_H
#define QUAD_H
diff --git a/src/quantum_efficiency.c b/src/quantum_efficiency.c
index 200ad2c..d30343f 100644
--- a/src/quantum_efficiency.c
+++ b/src/quantum_efficiency.c
@@ -1,3 +1,19 @@
+/* Copyright (c) 2019, Anthony Latorre <tlatorre at uchicago>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#include <stdio.h>
#include <errno.h>
#include <string.h>
diff --git a/src/quantum_efficiency.h b/src/quantum_efficiency.h
index bd05950..ae311aa 100644
--- a/src/quantum_efficiency.h
+++ b/src/quantum_efficiency.h
@@ -1,3 +1,19 @@
+/* Copyright (c) 2019, Anthony Latorre <tlatorre at uchicago>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#ifndef QUANTUM_EFFICIENCY_H
#define QUANTUM_EFFICIENCY_H
diff --git a/src/random.c b/src/random.c
index e2e5641..0112ebd 100644
--- a/src/random.c
+++ b/src/random.c
@@ -1,3 +1,19 @@
+/* Copyright (c) 2019, Anthony Latorre <tlatorre at uchicago>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#include "random.h"
#include <math.h>
diff --git a/src/random.h b/src/random.h
index 733279c..dac48f8 100644
--- a/src/random.h
+++ b/src/random.h
@@ -1,3 +1,19 @@
+/* Copyright (c) 2019, Anthony Latorre <tlatorre at uchicago>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#ifndef RANDOM_H
#define RANDOM_H
diff --git a/src/scattering.c b/src/scattering.c
index 68256dc..92e5df0 100644
--- a/src/scattering.c
+++ b/src/scattering.c
@@ -1,3 +1,19 @@
+/* Copyright (c) 2019, Anthony Latorre <tlatorre at uchicago>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#include "scattering.h"
#include "quantum_efficiency.h"
#include <gsl/gsl_sf_bessel.h>
diff --git a/src/scattering.h b/src/scattering.h
index 69d4c96..265f653 100644
--- a/src/scattering.h
+++ b/src/scattering.h
@@ -1,3 +1,19 @@
+/* Copyright (c) 2019, Anthony Latorre <tlatorre at uchicago>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#ifndef SCATTERING_H
#define SCATTERING_H
diff --git a/src/sno.h b/src/sno.h
index 02366f9..0a605c9 100644
--- a/src/sno.h
+++ b/src/sno.h
@@ -1,3 +1,19 @@
+/* Copyright (c) 2019, Anthony Latorre <tlatorre at uchicago>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#ifndef SNO_H
#define SNO_H
diff --git a/src/sno_charge.c b/src/sno_charge.c
index fcb43d3..f78da38 100644
--- a/src/sno_charge.c
+++ b/src/sno_charge.c
@@ -1,3 +1,19 @@
+/* Copyright (c) 2019, Anthony Latorre <tlatorre at uchicago>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#include "sno_charge.h"
#include <gsl/gsl_sf_gamma.h>
#include <math.h>
diff --git a/src/sno_charge.h b/src/sno_charge.h
index 6f513f9..7f7caa2 100644
--- a/src/sno_charge.h
+++ b/src/sno_charge.h
@@ -1,3 +1,19 @@
+/* Copyright (c) 2019, Anthony Latorre <tlatorre at uchicago>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#ifndef SNO_CHARGE_H
#define SNO_CHARGE_H
diff --git a/src/solid_angle.c b/src/solid_angle.c
index a8daa15..98ba0eb 100644
--- a/src/solid_angle.c
+++ b/src/solid_angle.c
@@ -1,3 +1,19 @@
+/* Copyright (c) 2019, Anthony Latorre <tlatorre at uchicago>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#include "solid_angle.h"
#include <gsl/gsl_sf_ellint.h>
#include <math.h>
diff --git a/src/solid_angle.h b/src/solid_angle.h
index d0c287c..4785fe6 100644
--- a/src/solid_angle.h
+++ b/src/solid_angle.h
@@ -1,3 +1,19 @@
+/* Copyright (c) 2019, Anthony Latorre <tlatorre at uchicago>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#ifndef SOLID_ANGLE_H
#define SOLID_ANGLE_H
diff --git a/src/sort.c b/src/sort.c
index 788c757..af2b48d 100644
--- a/src/sort.c
+++ b/src/sort.c
@@ -1,3 +1,19 @@
+/* Copyright (c) 2019, Anthony Latorre <tlatorre at uchicago>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#include <stdlib.h>
#include "sort.h"
diff --git a/src/sort.h b/src/sort.h
index 4c4b734..b951147 100644
--- a/src/sort.h
+++ b/src/sort.h
@@ -1,3 +1,19 @@
+/* Copyright (c) 2019, Anthony Latorre <tlatorre at uchicago>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#ifndef SORT_H
#define SORT_H
diff --git a/src/test-charge.c b/src/test-charge.c
index 2373beb..b58e94a 100644
--- a/src/test-charge.c
+++ b/src/test-charge.c
@@ -1,3 +1,19 @@
+/* Copyright (c) 2019, Anthony Latorre <tlatorre at uchicago>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#include <stdio.h>
#include "sno_charge.h"
#include <unistd.h>
diff --git a/src/test-find-peaks.c b/src/test-find-peaks.c
index 361b5fc..e14a794 100644
--- a/src/test-find-peaks.c
+++ b/src/test-find-peaks.c
@@ -1,3 +1,19 @@
+/* Copyright (c) 2019, Anthony Latorre <tlatorre at uchicago>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#include <stdio.h>
#include "find_peaks.h"
#include "misc.h"
diff --git a/src/test-likelihood.c b/src/test-likelihood.c
index 45bbfe2..5bb7788 100644
--- a/src/test-likelihood.c
+++ b/src/test-likelihood.c
@@ -1,3 +1,19 @@
+/* Copyright (c) 2019, Anthony Latorre <tlatorre at uchicago>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#include "muon.h"
#include "random.h"
#include "optics.h"
diff --git a/src/test-path.c b/src/test-path.c
index f403c37..e01a1e2 100644
--- a/src/test-path.c
+++ b/src/test-path.c
@@ -1,3 +1,19 @@
+/* Copyright (c) 2019, Anthony Latorre <tlatorre at uchicago>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#include <stdio.h>
#include "path.h"
#include <stddef.h> /* for size_t */
diff --git a/src/test-time-pdf.c b/src/test-time-pdf.c
index d0568f8..f754b49 100644
--- a/src/test-time-pdf.c
+++ b/src/test-time-pdf.c
@@ -1,3 +1,19 @@
+/* Copyright (c) 2019, Anthony Latorre <tlatorre at uchicago>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
diff --git a/src/test-vector.c b/src/test-vector.c
index 74aafa9..e9011f5 100644
--- a/src/test-vector.c
+++ b/src/test-vector.c
@@ -1,3 +1,19 @@
+/* Copyright (c) 2019, Anthony Latorre <tlatorre at uchicago>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#include <math.h>
#include <stdio.h>
#include "vector.h"
diff --git a/src/test-zebra.c b/src/test-zebra.c
index 86aff3c..7cd2528 100644
--- a/src/test-zebra.c
+++ b/src/test-zebra.c
@@ -1,3 +1,19 @@
+/* Copyright (c) 2019, Anthony Latorre <tlatorre at uchicago>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#include "zebra.h"
#include <stdio.h>
#include "Record_Info.h"
diff --git a/src/test.c b/src/test.c
index 0c69d81..2507546 100644
--- a/src/test.c
+++ b/src/test.c
@@ -1,3 +1,19 @@
+/* Copyright (c) 2019, Anthony Latorre <tlatorre at uchicago>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#include "solid_angle.h"
#include <math.h>
#include <stdio.h>
diff --git a/src/util.c b/src/util.c
index cd39c3f..0a67e59 100644
--- a/src/util.c
+++ b/src/util.c
@@ -1,3 +1,19 @@
+/* Copyright (c) 2019, Anthony Latorre <tlatorre at uchicago>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#include "util.h"
#include <unistd.h> /* for access() */
#include <stdlib.h> /* for getenv() */
diff --git a/src/util.h b/src/util.h
index ef77df8..0a7c321 100644
--- a/src/util.h
+++ b/src/util.h
@@ -1,3 +1,19 @@
+/* Copyright (c) 2019, Anthony Latorre <tlatorre at uchicago>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#ifndef UTIL_H
#define UTIL_H
diff --git a/src/vector.c b/src/vector.c
index 061c3d6..b5c1e64 100644
--- a/src/vector.c
+++ b/src/vector.c
@@ -1,3 +1,19 @@
+/* Copyright (c) 2019, Anthony Latorre <tlatorre at uchicago>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#include "vector.h"
#include <math.h>
diff --git a/src/vector.h b/src/vector.h
index 7dccc5b..5256fe9 100644
--- a/src/vector.h
+++ b/src/vector.h
@@ -1,3 +1,19 @@
+/* Copyright (c) 2019, Anthony Latorre <tlatorre at uchicago>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#ifndef VECTOR_H
#define VECTOR_H
diff --git a/src/zdab_utils.c b/src/zdab_utils.c
index 0f78e9c..dd377b9 100644
--- a/src/zdab_utils.c
+++ b/src/zdab_utils.c
@@ -1,3 +1,19 @@
+/* Copyright (c) 2019, Anthony Latorre <tlatorre at uchicago>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#include "Record_Info.h"
#include <stdint.h>
#include "zdab_utils.h"
diff --git a/src/zdab_utils.h b/src/zdab_utils.h
index c6b7808..ee4df6e 100644
--- a/src/zdab_utils.h
+++ b/src/zdab_utils.h
@@ -1,3 +1,19 @@
+/* Copyright (c) 2019, Anthony Latorre <tlatorre at uchicago>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#ifndef ZDAB_UTILS
#define ZDAB_UTILS
diff --git a/src/zebra.c b/src/zebra.c
index 42b507c..690294b 100644
--- a/src/zebra.c
+++ b/src/zebra.c
@@ -1,3 +1,19 @@
+/* Copyright (c) 2019, Anthony Latorre <tlatorre at uchicago>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#include "zebra.h"
#include <stdio.h> /* for FILE */
#include <stdlib.h> /* for size_t */
diff --git a/src/zebra.h b/src/zebra.h
index c05f62d..321befa 100644
--- a/src/zebra.h
+++ b/src/zebra.h
@@ -1,3 +1,19 @@
+/* Copyright (c) 2019, Anthony Latorre <tlatorre at uchicago>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
/* Library for reading ZEBRA files.
*
* The ZEBRA file format is an old file format used by FORTRAN programs for