Prototypes | |
static long | get_file_len (FILE *fp) |
static BOOLEAN | consistent_mSFT_header (SFTtype header1, UINT4 version1, UINT4 nsamples1, UINT2 windowspec1, SFTtype header2, UINT4 version2, UINT4 nsamples2, UINT2 windowspec2) |
static BOOLEAN | timestamp_in_list (LIGOTimeGPS timestamp, LIGOTimeGPSVector *list) |
SFT catalog create/destroy functions | |
SFTCatalog * | XLALSFTdataFind (const CHAR *file_pattern, const SFTConstraints *constraints) |
Find the list of SFTs matching the file_pattern and satisfying the given constraints, return an SFTCatalog of the matching SFTs. More... | |
void | XLALDestroySFTCatalog (SFTCatalog *catalog) |
Free an 'SFT-catalogue'. More... | |
MultiSFTCatalogView * | XLALGetMultiSFTCatalogView (const SFTCatalog *catalog) |
Return a MultiSFTCatalogView generated from an input SFTCatalog. More... | |
void | XLALDestroyMultiSFTCatalogView (MultiSFTCatalogView *multiView) |
Destroys a MultiSFTCatalogView, without freeing the original catalog that the 'view' was referring to, which must be destroyed separately using XLALDestroySFTCatalog(). More... | |
SFT catalog property functions | |
int | XLALCheckCRCSFTCatalog (BOOLEAN *crc_check, SFTCatalog *catalog) |
This function reads in the SFTs in the catalog and validates their CRC64 checksums. More... | |
LALStringVector * | XLALListIFOsInCatalog (const SFTCatalog *catalog) |
Return a sorted string vector listing the unique IFOs in the given catalog. More... | |
INT4 | XLALCountIFOsInCatalog (const SFTCatalog *catalog) |
Count the number of the unique IFOs in the given catalog. More... | |
const CHAR * | XLALshowSFTLocator (const struct tagSFTLocator *locator) |
Mostly for debugging purposes: provide a user-API to allow inspecting the SFT-locator [which is an OPAQUE entry in the SFTCatalog!]. More... | |
int | XLALSFTCatalogTimeslice (SFTCatalog *slice, const SFTCatalog *catalog, const LIGOTimeGPS *minStartGPS, const LIGOTimeGPS *maxStartGPS) |
Set a SFT catalog 'slice' to a timeslice of a larger SFT catalog 'catalog', with entries restricted to the interval ['minStartGPS','maxStartGPS') according to XLALCWGPSinRange(). More... | |
SFTCatalog * | XLALReturnSFTCatalogTimeslice (const SFTCatalog *catalog, const LIGOTimeGPS *minStartGPS, const LIGOTimeGPS *maxStartGPS) |
SFT catalog generation functions | |
SFTCatalog * | XLALAddToFakeSFTCatalog (SFTCatalog *catalog, const CHAR *detector, const LIGOTimeGPSVector *timestamps) |
Create a 'fake' SFT catalog which contains only detector and timestamp information. More... | |
SFTCatalog * | XLALMultiAddToFakeSFTCatalog (SFTCatalog *catalog, const LALStringVector *detectors, const MultiLIGOTimeGPSVector *timestamps) |
Multi-detector and multi-timestamp wrapper of XLALAddToFakeSFTCatalog(). More... | |