Home | Trees | Indices | Help |
|
---|
|
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
Compute false alarm probability for a given rank using array of ranks for clean and glitch samples. Input arrays clean_ranks and glitch_ranks mst be sorted in ascending order. |
Compute detection probability for a given rank using array of ranks for clean and glitch samples. Input arrays clean_ranks and glitch_ranks mst be sorted in ascending order. |
Splits 2-d record array in N equal parts. If the the number of elements in array is not divisible by Nparts, all but last sub arrays are equal. It returns list of sub-arrays. |
Returns only clean samples from the set of random samples. By definition, a sample in unclean if there is a KW trigger with 0.1 seconds time window. |
Returns new recarray containing only those samples (triggers) that are in segments. segments is a list of tuples of the form (t1,t2). This function is not as efficient as it could be. It can be speed up if Triggers and segments are sorted. But sorting would mix glitches and clean samples. We sacrifice performance for clarity ( but should keep in mind optional speed up). |
Reads in KW auxiliary triggers from files. Triggers are storead in the 2-D array. The rows of the array are labelled by the names of the variables, which are read off of the first line of the input file. The columns are populated by the values of the corresponding variables. Every line (except the first) of the input file(s) corresponds to a column (or a KW trigger) in the array. |
Shuffle segmented trigger packets. The trigger packets are segmented with each dT seconds usig G PS time. |
Irrelevant channels and trigger parameters are excluded. excludechannels is a list of irrelevant channel names to be excluded. excludeparameters is a list of comma separated parameters. i.e. dur,freq,npts |
Converts KW auxiliary triggers into MVSC triggers. KWAuxGlitchTriggers - KW triggers corresponding to glitches in DARM KWAuxCleanTriggers - KW triggers correspondingto clean DARM data. |
Write MVSC triggers to file. If Classified = False, triggers are treated as unclassfied and saved in the input file for MVSC. If Classified = True, triggers as saved in the same format as output of MVSC. |
Reads in MVSC triggers from files. MVSC triggers are storead in the 2-D array. The rows of the array are labelled by the names of the variables, which are read off of the first(or second) line of the input file, depending on whether the triggers were classifed or not. The columns are populated by the values of the corresponding variables. Every line (except the first 1 or 2 lines) of the input file(s) corresponds to a column (or a MVSC trigger) in the array. |
Reads in the pickled output of CV data (eg: kwl1-35.track.9.pickle) and inverts the data storage. Returns a list of gwtrg's removed by the Cveto method. returned gwtrg's are labeled by tcent (and only tcent) and are associated with a given vconfig (vchan, vthr, vwin) and vstats (dsec, c_dsec, etc) input arg: filename: the file that is to be loaded. This must be a string output arg: gwtrg_vtd_tcent: a list of gwtrgs (labeled by tcent) with associated vconfig and vstats. the storage structure is: under each column: [tcent, [vconfig], [vstats]] check below for exact formats of vconfig and vstats. |
converts a channel name into an integer (or vice versa) using channels (a file) as a dictionary. channels should correspond to a file in which each line is a channel name, and the line number defines the int. the idea is to convert between OVL channel integers and channel names quickly. |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Dec 12 01:21:41 2017 | http://epydoc.sourceforge.net |