adds a simple function built on top of find_channels() that extracts the channel sample rates from nds2
Craig Cahillane (8d30d394) at 30 Aug 16:22
updated version number
Testing commit 15d5661c, (version 0.1.12), I've added a simple fix to nds2utils.acquire_data() which checks if the channels
variable is a string, and if it is, makes channels
a list of strings (with only the one string in it).
Successfully installed nds2utils-0.1.12
(nds2utils) craigcahillane@cicero:~/Git/nds2utils$ ipython
Python 3.9.16 | packaged by conda-forge | (main, Feb 1 2023, 21:39:03)
Type 'copyright', 'credits' or 'license' for more information
IPython 8.14.0 -- An enhanced Interactive Python. Type '?' for help.
In [1]: import nds2utils as nu
In [2]: import numpy as np
In [3]: chan64 = 'L1:OMC-PI_DCPD_64KHZ_AHF_DQ'
In [4]: gps_start = 1377437399
In [5]: gps_stop = gps_start + 100
In [6]: data_darm = nu.acquire_data(chan64, gps_start, gps_stop, host_server="nds.ligo.caltech.edu", allow_data
...: _on_tape="True")
Fetching data from nds.ligo.caltech.edu:31200 with GPS times 1377437399 to 1377437499
from ['L1:OMC-PI_DCPD_64KHZ_AHF_DQ']
In [7]: chan64 = ['L1:OMC-PI_DCPD_64KHZ_AHF_DQ']
In [8]: data_darm = nu.acquire_data(chan64, gps_start, gps_stop, host_server="nds.ligo.caltech.edu", allow_data
...: _on_tape="True")
Fetching data from nds.ligo.caltech.edu:31200 with GPS times 1377437399 to 1377437499
from ['L1:OMC-PI_DCPD_64KHZ_AHF_DQ']
Craig Cahillane (15d5661c) at 30 Aug 16:14
Added a check to see if channels is a string, and if it is, make it...
Craig Cahillane (3ae69216) at 02 May 21:47
Added Daneill method for averaging PSDs. Seems to resolve peaks be...
Craig Cahillane (4913b91b) at 24 Apr 23:23
Added version 0.1.11 which changed stitch_real_time_data() to retur...
... and 2 more commits
Craig Cahillane (f6cd872c) at 24 Apr 22:01
Adding some attempts at improvements to data_utils.py stitch_real_t...
Craig Cahillane (c17dff27) at 24 Apr 19:20
First commit to git branch llo, adjusted only the README.md
Craig Cahillane (32bf679d) at 20 Apr 22:39
Added a small fix to server_select to choose the more general nds.l...
Craig Cahillane (ab919c2b) at 20 Apr 22:10
Merge branch 'master' of git.ligo.org:craig-cahillane/nds2utils
... and 1 more commit
Craig Cahillane (07e28013) at 14 Mar 20:36
Added verbose flag to acquire_data() function in nds2utils/data_uni...
Fixing verbose so it doesn't spam the terminal in loops
Craig Cahillane (28fb0ba1) at 19 Jan 19:30
Added server_selection() function to automatically select a server ...
Craig Cahillane (8246f922) at 13 Jan 20:19
Fixed small typo averagin -> averaging in get_psds
Craig Cahillane (f63192dd) at 14 Dec 12:21
Fixed problem where gps_start and gps_stop are sometimes not ints w...
Craig Cahillane (9cba4a7a) at 22 Nov 23:25
Commiting version 0.1.5, which fixed find_channels to print the tim...
Craig Cahillane (af39a149) at 26 Oct 19:19
Added decimation_example.py