aboutsummaryrefslogtreecommitdiffstats
path: root/astro
diff options
context:
space:
mode:
Diffstat (limited to 'astro')
-rwxr-xr-xastro/spectrogram.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/astro/spectrogram.py b/astro/spectrogram.py
index b1fcfe9..2edc09a 100755
--- a/astro/spectrogram.py
+++ b/astro/spectrogram.py
@@ -93,10 +93,11 @@ def main():
header = fits.Header()
header.add_history(' '.join(sys.argv))
- header['SP_TYPE'] = args.type
+ header['SP_TYPE'] = (args.type, 'cosine (DCT) or fourier (FFT)')
spectrogram = Spectrogram(cube)
spectrogram.set_window(args.window)
+ header['SP_WIND'] = (args.window, 'window function along frequency')
if args.type == 'cosine':
sp_mag = spectrogram.calc_cosine()