Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
gstlal
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Duncan Macleod
gstlal
Commits
4f9be102
Commit
4f9be102
authored
6 years ago
by
Chad Hanna
Browse files
Options
Downloads
Patches
Plain Diff
Add makefile to split banks
parent
ba2e870f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gstlal-inspiral/share/O3/online/banks/Makefile.splitbanks
+32
-0
32 additions, 0 deletions
gstlal-inspiral/share/O3/online/banks/Makefile.splitbanks
with
32 additions
and
0 deletions
gstlal-inspiral/share/O3/online/banks/Makefile.splitbanks
0 → 100644
+
32
−
0
View file @
4f9be102
all
:
bns_hyper.xml.gz nsbh_hyper.xml.gz bbh_hyper.xml.gz imbh_hyper.xml.gz
sqlite3 bns_hyper.sqlite
"SELECT count(*) FROM sngl_inspiral;"
sqlite3 nsbh_hyper.sqlite
"SELECT count(*) FROM sngl_inspiral;"
sqlite3 bbh_hyper.sqlite
"SELECT count(*) FROM sngl_inspiral;"
sqlite3 imbh_hyper.sqlite
"SELECT count(*) FROM sngl_inspiral;"
sqlite3 gstlal_hyperbank.sqlite
"SELECT count(*) FROM sngl_inspiral;"
gstlal_hyperbank.xml.gz
:
wget https://git.ligo.org/lscsoft/gstlal/raw/master/gstlal-inspiral/share/O3/gstlal_bank.xml.gz?inline
=
false
gstlal_hyperbank.sqlite
:
gstlal_hyperbank.xml.gz
ligolw_sqlite
-d
$@
-v
gstlal_hyperbank.xml.gz
bns_hyper.xml.gz
:
gstlal_hyperbank.sqlite
cp
gstlal_hyperbank.sqlite bns_hyper.sqlite
sqlite3 bns_hyper.sqlite
"DELETE FROM sngl_inspiral WHERE mass1 >= 2.0 or mass2 >= 2.0;"
ligolw_sqlite
-d
bns_hyper.sqlite
-v
-x
$@
nsbh_hyper.xml.gz
:
gstlal_hyperbank.sqlite
cp
gstlal_hyperbank.sqlite nsbh_hyper.sqlite
sqlite3 nsbh_hyper.sqlite
"DELETE FROM sngl_inspiral WHERE NOT (mass1 >= 2.0 and mass2 < 2.0);"
ligolw_sqlite
-d
nsbh_hyper.sqlite
-v
-x
$@
bbh_hyper.xml.gz
:
gstlal_hyperbank.sqlite
cp
gstlal_hyperbank.sqlite bbh_hyper.sqlite
sqlite3 bbh_hyper.sqlite
"DELETE FROM sngl_inspiral WHERE NOT(mass1 >=2.0 and mass2 >=2.0 and (mass1 + mass2 < 100));"
ligolw_sqlite
-d
bbh_hyper.sqlite
-v
-x
$@
imbh_hyper.xml.gz
:
gstlal_hyperbank.sqlite
cp
gstlal_hyperbank.sqlite imbh_hyper.sqlite
sqlite3 imbh_hyper.sqlite
"DELETE FROM sngl_inspiral WHERE NOT(mass1 >=2.0 and mass2 >=2.0 and (mass1 + mass2 > 100));"
ligolw_sqlite
-d
imbh_hyper.sqlite
-v
-x
$@
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment