From c4323ef7b374dd19e50e28bafcb1f79bc19599b0 Mon Sep 17 00:00:00 2001
From: lillisun <featherlet.sun@gmail.com>
Date: Fri, 1 Dec 2017 10:37:55 +1100
Subject: [PATCH] misc

---
 argmax.m         | 5 ++++-
 binaryfilter.m   | 3 +++
 readfstats.m     | 3 +++
 run_search.m     | 3 +++
 viterbi_colFLT.m | 5 ++++-
 5 files changed, 17 insertions(+), 2 deletions(-)

diff --git a/argmax.m b/argmax.m
index 740bd40..252bc10 100644
--- a/argmax.m
+++ b/argmax.m
@@ -1,4 +1,7 @@
 function j = argmax(L)
 % ARGMAX Index j of the maximum value in L.
+%
+% Authors:
+% L. Sun, S. Suvorova, and the Uni. Melbourne group (2016)
  
-[~,j] = max(L);
\ No newline at end of file
+[~,j] = max(L);
diff --git a/binaryfilter.m b/binaryfilter.m
index 0e9fb91..f170b73 100644
--- a/binaryfilter.m
+++ b/binaryfilter.m
@@ -18,6 +18,9 @@ function [b,h] = binaryfilter(f,f0,P,a0)
 % Output:
 %     b  - Bessel-weighted matched filter
 %     h  - Comb matched filter (not used in the current search)
+%
+% Authors:
+% L. Sun, S. Suvorova, and the Uni. Melbourne group (2016)
 
 c = 2*pi*a0*f0;
 % Take a wider range [-N N] for calculation (100 is a random extended width for c)
diff --git a/readfstats.m b/readfstats.m
index 268e526..369b9de 100644
--- a/readfstats.m
+++ b/readfstats.m
@@ -19,6 +19,9 @@ function [f, X, N, T] = readfstats(dirName, bandIdx, steps)
 %     X         - F-stat values
 %     N         - Total number of bins
 %     T         - Total number of steps
+%
+% Authors:
+% L. Sun, S. Suvorova, and the Uni. Melbourne group (2016)
 
 X = [];
 for n = 1:steps
diff --git a/run_search.m b/run_search.m
index a72c475..8138250 100644
--- a/run_search.m
+++ b/run_search.m
@@ -24,6 +24,9 @@ function run_search(bandIdx,bandOffset,fstatdir,outfile,a0median,a0uncert,a0delt
 %
 % Output:
 %     Save results to the specified output file.
+%
+% Authors:
+% L. Sun, S. Suvorova, and the Uni. Melbourne group (2016)
 
 format long g
 
diff --git a/viterbi_colFLT.m b/viterbi_colFLT.m
index 7d52b0c..5893670 100644
--- a/viterbi_colFLT.m
+++ b/viterbi_colFLT.m
@@ -16,7 +16,10 @@ function [path,delta,psi,score] = viterbi_colFLT(M, obslik)
 %                  and then go to state j
 %     psi(j,t)   - The best predecessor state, given that it ends up in state j at t
 %     score      - Number of standard deviations above the mean value of log 
-%                  likelihood of paths to all the states at the final step       
+%                  likelihood of paths to all the states at the final step
+%
+% Authors:
+% L. Sun, S. Suvorova, and the Uni. Melbourne group (2016)
 
 % If M is even, increase M by 1
 if round(M/2)==M/2
-- 
GitLab