Commit 19586b2d authored by Kipp Cannon's avatar Kipp Cannon
Browse files

lalburst: move programs from lalapps

- lalapps_binj
- lalapps_power
- lalapps_binjfind
- lalapps_bucluster
- lalapps_bucut
- lalapps_burca
- lalapps_burca_tailor
- lalapps_cafe
- lalapps_gen_timeslides
- lalapps_plot_tisi
- lalapps_power_calc_likelihood
- lalapps_power_plot_binj
parent 921793eb
Pipeline #266305 failed with stages
in 25 minutes
......@@ -153,25 +153,12 @@ src/lalapps/LALAppsVCSInfo.h
src/lalapps/LALAppsVCSInfoHeader.h
src/lalapps/version2.c
src/online/lalapps_online_datafind
src/power/bucluster_test.xml.gz
src/power/lalapps_binj
src/power/lalapps_binj_pic
src/power/lalapps_binjfind
src/power/lalapps_bucluster
src/power/lalapps_bucut
src/power/lalapps_burca
src/power/lalapps_burca_tailor
src/power/lalapps_cafe
src/power/lalapps_gen_timeslides
src/power/lalapps_libbinj
src/power/lalapps_plot_tisi
src/power/lalapps_power
src/power/lalapps_power_calc_likelihood
src/power/lalapps_power_final
src/power/lalapps_power_likelihood_pipe
src/power/lalapps_power_online_pipe
src/power/lalapps_power_pipe
src/power/lalapps_power_plot_binj
src/power/lalapps_power_plot_binjtf
src/power/lalapps_power_plot_burstrate
src/power/lalapps_power_plot_detresponse
......
......@@ -123,16 +123,9 @@ test:
# set up test data (creates Z-ilwd_test_frame-600000000-1.gwf)
- framecpp_sample
# run --help
- lalapps_binj --help
- lalapps_binj_pic --help
- lalapps_binjfind --help
- lalapps_blindinj --help
- lalapps_bucluster --help
- lalapps_bucut --help
- lalapps_burca --help
- lalapps_burca_tailor --help
- lalapps_cache Z-ilwd_test_frame-600000000-1.gwf
- lalapps_cafe --help
- lalapps_calcexpsnr --help
- lalapps_cbc_sbank --help
- lalapps_cbc_sbank_choose_mchirp_boundaries --help
......@@ -165,7 +158,6 @@ test:
- lalapps_frjoin --verbose --output test.gwf Z-ilwd_test_frame-600000000-1.gwf
- lalapps_frread Z-ilwd_test_frame-600000000-1.gwf Z0:RAMPED_INT_2U_1
- lalapps_frview --help
- lalapps_gen_timeslides --help
- lalapps_gwf2xml --help
- lalapps_heterodyne_pulsar --help
- lalapps_inspfrinj --help
......@@ -177,13 +169,9 @@ test:
#- lalapps_knope_result_page --help <- needs scotchcorner
- lalapps_make_nr_hdf_catalog --help
- lalapps_path2cache <<< Z-ilwd_test_frame-600000000-1.gwf
- lalapps_plot_tisi --help
- lalapps_power --help
- lalapps_power_calc_likelihood --help
- lalapps_power_final --help
- lalapps_power_likelihood_pipe --help
- lalapps_power_pipe --help
- lalapps_power_plot_binj --help
- lalapps_power_plot_binjtf --help
- lalapps_psinject -h
- lalapps_pulsar_frequency_evolution --help
......
......@@ -6,39 +6,13 @@ include $(top_srcdir)/gnuscripts/lalsuite_python.am
include $(top_srcdir)/gnuscripts/lalapps_pulsar_test.am
include $(top_srcdir)/gnuscripts/lalsuite_help2man.am
BURSTPROGS = lalapps_binj
lalapps_binj_SOURCES = binj.c
if LALINSPIRAL
INSPPROGS = lalapps_power
lalapps_power_SOURCES = power.c
endif
bin_PROGRAMS = $(BURSTPROGS) $(INSPPROGS)
if HAVE_PYTHON
pybin_scripts = \
lalapps_binj_pic \
lalapps_binjfind \
lalapps_bucluster \
lalapps_bucut \
lalapps_burca \
lalapps_burca_tailor \
lalapps_cafe \
lalapps_gen_timeslides \
lalapps_plot_tisi \
lalapps_power_calc_likelihood \
lalapps_power_final \
lalapps_power_likelihood_pipe \
lalapps_power_pipe \
lalapps_power_plot_binjtf \
lalapps_power_plot_binj \
$(END_OF_LIST)
test_scripts += \
test_bucluster.sh \
$(END_OF_LIST)
test_extra_files += \
H1-POWER_S5-830046410-50274.xml.gz \
lalapps_power_plot_binjtf
$(END_OF_LIST)
endif
......@@ -46,7 +20,6 @@ pkgdata_DATA = power_pipe.ini
EXTRA_DIST += \
H1_L1_dt125_df128.png \
H1-POWER_S5-830046410-50274.xml.gz \
Z_histogram.png \
clustering_example.png \
conditioning.png \
......@@ -61,7 +34,6 @@ EXTRA_DIST += \
psds.png \
sk_histogram.png \
sksk.png \
test_bucluster.sh \
tiles_histogram.png \
tiles_histogram_adjusted.png \
timedomainfilter_04hz.png \
......@@ -70,5 +42,4 @@ EXTRA_DIST += \
$(END_OF_LIST)
MOSTLYCLEANFILES += \
bucluster_test.xml.gz \
$(END_OF_LIST)
......@@ -13,6 +13,21 @@ __pycache__
/_inst/
/lalburst-*/
AUTHORS
bin/lalapps_binj
bin/lalapps_power
bin/lalapps_binjfind
bin/lalapps_bucluster
bin/lalapps_bucut
bin/lalapps_burca
bin/lalapps_burca_tailor
bin/lalapps_cafe
bin/lalapps_gen_timeslides
bin/lalapps_libbinj
bin/lalapps_plot_tisi
bin/lalapps_power_calc_likelihood
bin/lalapps_power_plot_binj
bin/lalburst_version
bin/version.c
config.lt
debian/control
debian/liblal*.install
......@@ -51,11 +66,10 @@ lib/LALBurstVCSInfo.h
lib/LALBurstVCSInfoHeader.h
lib/stamp-h1
lib/stamp-h2
bin/lalburst_version
bin/version.c
swig/.swigdeps
swig/swiglal_*
swig/swiglalburst.i*
test/bucluster_test.xml.gz
test/CLRoutdata.asc
test/CLRTest
test/TfrPswvTest
......
......@@ -8,10 +8,15 @@ include $(top_srcdir)/gnuscripts/lalsuite_python.am
# -- C programs -------------
bin_PROGRAMS = \
lalapps_binj \
lalapps_power \
lalburst_version \
$(END_OF_LIST)
lalburst_version_SOURCES = version.c
lalapps_binj_SOURCES = binj.c
lalapps_power_SOURCES = power.c
TESTS += \
lalburst_version \
......@@ -22,6 +27,16 @@ TESTS += \
if HAVE_PYTHON
pybin_scripts = \
lalapps_binjfind \
lalapps_bucluster \
lalapps_bucut \
lalapps_burca \
lalapps_burca_tailor \
lalapps_gen_timeslides \
lalapps_cafe \
lalapps_plot_tisi \
lalapps_power_calc_likelihood \
lalapps_power_plot_binj \
$(END_OF_LIST)
TESTS += \
......
......@@ -42,6 +42,7 @@
#include <lal/Date.h>
#include <lal/LALBurstVCSInfo.h>
#include <lal/LALgetopt.h>
#include <lal/GenerateBurst.h>
#include <lal/LALConstants.h>
......@@ -58,11 +59,7 @@
#include <lal/TimeSeries.h>
#include <lal/XLALError.h>
#include <LALAppsVCSInfo.h>
#define CVS_REVISION "$Revision$"
#define CVS_SOURCE "$Source$"
#define CVS_DATE "$Date$"
#define PROGRAM_NAME "lalapps_binj"
......@@ -1103,7 +1100,7 @@ int main(int argc, char *argv[])
*/
lal_errhandler = LAL_ERR_EXIT;
XLALSetErrorHandler(XLALExitErrorHandler);
/*
......@@ -1112,7 +1109,7 @@ int main(int argc, char *argv[])
process_table_head = process = XLALCreateProcessTableRow();
if(XLALPopulateProcessTable(process, PROGRAM_NAME, lalAppsVCSIdentInfo.vcsId, lalAppsVCSIdentInfo.vcsStatus, lalAppsVCSIdentInfo.vcsDate, 0))
if(XLALPopulateProcessTable(process, PROGRAM_NAME, lalBurstVCSIdentInfo.vcsId, lalBurstVCSIdentInfo.vcsStatus, lalBurstVCSIdentInfo.vcsDate, 0))
exit(1);
XLALGPSTimeNow(&process->start_time);
......
......@@ -37,7 +37,7 @@ from ligo.lw import lsctables
from ligo.lw import utils as ligolw_utils
from ligo.lw.utils import process as ligolw_process
from ligo.lw.utils import time_slide as ligolw_time_slide
from lalapps import git_version
from lalburst import git_version
from lalburst import timeslides
......
......@@ -29,8 +29,6 @@
*/
#include "config.h"
#include <math.h>
#include <stdarg.h>
#include <stdio.h>
......@@ -47,6 +45,7 @@
#include <lal/LALFrStream.h>
#include <lal/FrequencySeries.h>
#include <lal/GenerateBurst.h>
#include <lal/LALBurstVCSInfo.h>
#include <lal/LALConstants.h>
#include <lal/LALDatatypes.h>
#include <lal/LALError.h>
......@@ -67,14 +66,8 @@
#include <lal/Units.h>
#include <lal/Window.h>
#include <LALAppsVCSInfo.h>
#define PROGRAM_NAME "lalapps_power"
#define CVS_REVISION "$Revision$"
#define CVS_SOURCE "$Source$"
#define CVS_DATE "$Date$"
/*
......@@ -1335,10 +1328,10 @@ int main(int argc, char *argv[])
gsl_rng *rng = NULL;
/*
* Command line
* Set error handler
*/
lal_errhandler = LAL_ERR_EXIT;
XLALSetErrorHandler(XLALExitErrorHandler);
/*
* Create the process and process params tables.
......@@ -1351,7 +1344,7 @@ int main(int argc, char *argv[])
*/
_process_table = XLALCreateProcessTableRow();
if(XLALPopulateProcessTable(_process_table, PROGRAM_NAME, lalAppsVCSIdentInfo.vcsId, lalAppsVCSIdentInfo.vcsStatus, lalAppsVCSIdentInfo.vcsDate, 9))
if(XLALPopulateProcessTable(_process_table, PROGRAM_NAME, lalBurstVCSIdentInfo.vcsId, lalBurstVCSIdentInfo.vcsStatus, lalBurstVCSIdentInfo.vcsDate, 9))
exit(1);
XLALGPSTimeNow(&_process_table->start_time);
......
......@@ -68,10 +68,12 @@ AM_INIT_AUTOMAKE([ \
# version requirements
MIN_LAL_VERSION="7.1.0"
MIN_LALFRAME_VERSION="1.5.2"
MIN_LALMETAIO_VERSION="2.0.0"
MIN_LALSIMULATION_VERSION="2.5.0"
MIN_PYTHON_LIGO_LW_VERSION="1.7.0"
AC_SUBST([MIN_LAL_VERSION])
AC_SUBST([MIN_LALFRAME_VERSION])
AC_SUBST([MIN_LALMETAIO_VERSION])
AC_SUBST([MIN_LALSIMULATION_VERSION])
AC_SUBST([MIN_PYTHON_LIGO_LW_VERSION])
......@@ -147,6 +149,7 @@ AC_CHECK_HEADERS([metaio.h],,[AC_MSG_ERROR([could not find the metaio.h header])
# check for lal libraries and headers
LALSUITE_CHECK_LIB([LAL],[${MIN_LAL_VERSION}],[XLALPerror],[lal/XLALError.h])
LALSUITE_CHECK_LIB([LALSupport],[${MIN_LAL_VERSION}],[XLALCacheImport],[lal/LALCache.h])
LALSUITE_CHECK_LIB([LALFrame],[${MIN_LALFRAME_VERSION}],[LALFrOpen],[lal/LALFrameL.h])
LALSUITE_CHECK_LIB([LALMetaIO],[${MIN_LALMETAIO_VERSION}],[XLALLIGOLwHasTable],[lal/LIGOLwXMLRead.h])
LALSUITE_CHECK_LIB([LALSimulation],[${MIN_LALSIMULATION_VERSION}],[XLALSimDetectorStrainREAL8TimeSeries],[lal/LALSimulation.h])
......
......@@ -13,6 +13,7 @@ Build-Depends:
lalsimulation-octave (>= @MIN_LALSIMULATION_VERSION@~),
libgsl-dev | libgsl0-dev (>= 1.9),
liblal-dev (>= @MIN_LAL_VERSION@~),
liblalframe-dev (>= @MIN_LALFRAME_VERSION@~),
liblalmetaio-dev (>= @MIN_LALMETAIO_VERSION@~),
liblalsimulation-dev (>= @MIN_LALSIMULATION_VERSION@~),
libmetaio-dev (>= 8.2),
......@@ -35,8 +36,14 @@ Standards-Version: 3.9.8
Package: liblalburst@LIBMAJOR@
Architecture: any
Depends:
${misc:Depends},
${shlibs:Depends},
${misc:Depends},
${shlibs:Depends},
libmetaio1 (>= 8.2),
zlib1g,
lal (>= @MIN_LAL_VERSION@~),
lalframe (>= @MIN_LALFRAME_VERSION@~),
lalmetaio (>= @MIN_LALMETAIO_VERSION@~),
lalsimulation (>= @MIN_LALSIMULATION_VERSION@~)
Description: LSC Algorithm Library Burst
The LSC Algorithm Burst Library for gravitational wave data analysis.
This package contains the shared-object libraries needed to run applications
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment