Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
pygwinc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
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
Container Registry
Model registry
Operate
Environments
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
gwinc
pygwinc
Commits
08e466da
Commit
08e466da
authored
4 years ago
by
Jameson Graef Rollins
Browse files
Options
Downloads
Patches
Plain Diff
CI: fix paths to ifos for docs
parent
d15bb9da
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#119522
passed
4 years ago
Stage: dist
Stage: test
Stage: docs
Stage: deploy
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+35
-28
35 additions, 28 deletions
.gitlab-ci.yml
IFO.md
+11
-11
11 additions, 11 deletions
IFO.md
README.md
+17
-23
17 additions, 23 deletions
README.md
with
63 additions
and
62 deletions
.gitlab-ci.yml
+
35
−
28
View file @
08e466da
...
...
@@ -3,7 +3,7 @@ stages:
-
test
-
gen_cache
-
update_cache
-
d
eploy_prep
-
d
ocs
-
deploy
# build the docker image we will use in all the jobs, with all
...
...
@@ -43,52 +43,59 @@ test:
-
gwinc_test_report.pdf
expose_as
:
'
GWINC
test
failure
report
PDF'
# prep for doc generation
clean_docs
:
stage
:
deploy_prep
needs
:
-
test
script
:
-
rm -rf public
-
mkdir public
artifacts
:
when
:
always
paths
:
-
public
# create plots for the canonical IFOs
ifo
s
:
stage
:
d
eploy
ifo
:
stage
:
d
ocs
needs
:
-
clean_docs
-
test
image
:
$CI_REGISTRY_IMAGE/images/base:$CI_COMMIT_REF_NAME
script
:
-
mkdir -p
public/
ifo
-
mkdir -p ifo
-
export PYTHONPATH=/inspiral_range
-
for ifo in $(python3 -c "import gwinc; print(' '.join(gwinc.IFOS))"); do
-
python3 -m gwinc $ifo -s
public/
ifo/$ifo.png
-
python3 -m gwinc $ifo -s
public/
ifo/$ifo.h5
-
python3 -m gwinc $ifo -s ifo/$ifo.png
-
python3 -m gwinc $ifo -s ifo/$ifo.h5
-
done
-
python3 -m gwinc.ifo -s
public/
ifo/all_compare.png
-
python3 -m gwinc.ifo -s ifo/all_compare.png
artifacts
:
when
:
always
paths
:
-
public/ifo
-
ifo
expire_in
:
4w
# generate the html doc web pages
pages
:
stage
:
d
eploy
only
:
-
master
html
:
stage
:
d
ocs
#
only:
#
- master
needs
:
-
clean_docs
-
test
image
:
$CI_REGISTRY_IMAGE/images/base:$CI_COMMIT_REF_NAME
script
:
-
rm -rf public
-
apt-get install -y -qq python3-sphinx-rtd-theme
-
cd docs
-
make html
-
cd ..
-
mv ./build/sphinx/html/* public/
-
mv ./build/sphinx/html public
artifacts
:
when
:
always
paths
:
-
public
expire_in
:
4w
pages
:
stage
:
deploy
# only:
# - master
needs
:
-
job
:
ifo
artifacts
:
true
-
job
:
html
artifacts
:
true
image
:
$CI_REGISTRY_IMAGE/images/base:$CI_COMMIT_REF_NAME
script
:
-
mv ifo public/
artifacts
:
when
:
always
paths
:
...
...
This diff is collapsed.
Click to expand it.
IFO.md
+
11
−
11
View file @
08e466da
...
...
@@ -2,43 +2,43 @@
CI-generated plots and data for all IFOs included in pygwinc.


## aLIGO
*
[
ifo.yaml
](
gwinc/ifo/aLIGO/ifo.yaml
)
*
[
aLIGO.h5
](
https://gwinc.docs.ligo.org/pygwinc/aLIGO.h5
)
*
[
aLIGO.h5
](
https://gwinc.docs.ligo.org/pygwinc/
ifo/
aLIGO.h5
)


## A+
*
[
ifo.yaml
](
gwinc/ifo/Aplus/ifo.yaml
)
*
[
Aplus.h5
](
https://gwinc.docs.ligo.org/pygwinc/Aplus.h5
)
*
[
Aplus.h5
](
https://gwinc.docs.ligo.org/pygwinc/
ifo/
Aplus.h5
)


## Voyager
*
[
ifo.yaml
](
gwinc/ifo/Voyager/ifo.yaml
)
*
[
Voyager.h5
](
https://gwinc.docs.ligo.org/pygwinc/Voyager.h5
)
*
[
Voyager.h5
](
https://gwinc.docs.ligo.org/pygwinc/
ifo/
Voyager.h5
)


## Cosmic Explorer 1
*
[
ifo.yaml
](
gwinc/ifo/CE1/ifo.yaml
)
*
[
CE1.h5
](
https://gwinc.docs.ligo.org/pygwinc/CE1.h5
)
*
[
CE1.h5
](
https://gwinc.docs.ligo.org/pygwinc/
ifo/
CE1.h5
)


## Cosmic Explorer 2
*
[
ifo.yaml
](
gwinc/ifo/CE2/ifo.yaml
)
*
[
CE2.h5
](
https://gwinc.docs.ligo.org/pygwinc/CE2.h5
)
*
[
CE2.h5
](
https://gwinc.docs.ligo.org/pygwinc/
ifo/
CE2.h5
)


This diff is collapsed.
Click to expand it.
README.md
+
17
−
23
View file @
08e466da
...
...
@@ -2,12 +2,14 @@
# Python Gravitational Wave Interferometer Noise Calculator

[
](IFO.md)
`pygwinc`
is a multi-faceted tool for processing and plotting noise
budgets for ground-based gravitational wave detectors. It's primary
feature is a collection of mostly analytic noise calculation functions
for various sources of noise affecting detectors (
`gwinc.noise`
):
feature is a collection of mostly analytic
[
noise calculation
functions
](
#noise-functions
)
for various sources of noise affecting
detectors (
`gwinc.noise`
):
*
quantum noise
*
mirror coating thermal noise
...
...
@@ -17,22 +19,20 @@ for various sources of noise affecting detectors (`gwinc.noise`):
*
Newtonian/gravity-gradient noise
*
residual gas noise
See
[
noise functions
](
#noise-functions
)
below.
`pygwinc`
also includes a generalized noise budgeting tool
(
`gwinc.nb`
) that allows users to create arbitrary noise budgets (for
any experiment, not just ground-based GW detectors) using measured or
analytically calculated data. See the
[
budget
interface
](
#Budget-interface
)
section below.
`pygwinc`
is also a generalized noise budgeting tool (
`gwinc.nb`
) that
allows users to create arbitrary noise budgets (for any experiment,
not just ground-based GW detectors) using measured or analytically
calculated data. See the
[
budget interface
](
#Budget-interface
)
section below.
`pygwinc`
includes canonical budgets for various well-known current
and future detectors (
`gwinc.ifo`
):
and future
GW
detectors (
`gwinc.ifo`
):
*
[
aLIGO
](
https://gwinc.docs.ligo.org/pygwinc/aLIGO.png
)
*
[
A+
](
https://gwinc.docs.ligo.org/pygwinc/Aplus.png
)
*
[
Voyager
](
https://gwinc.docs.ligo.org/pygwinc/Voyager.png
)
*
[
Cosmic Explorer 1
](
https://gwinc.docs.ligo.org/pygwinc/CE1.png
)
*
[
Cosmic Explorer 2
](
https://gwinc.docs.ligo.org/pygwinc/CE2.png
)
*
[
aLIGO
](
https://gwinc.docs.ligo.org/pygwinc/
ifo/
aLIGO.png
)
*
[
A+
](
https://gwinc.docs.ligo.org/pygwinc/
ifo/
Aplus.png
)
*
[
Voyager
](
https://gwinc.docs.ligo.org/pygwinc/
ifo/
Voyager.png
)
*
[
Cosmic Explorer 1
](
https://gwinc.docs.ligo.org/pygwinc/
ifo/
CE1.png
)
*
[
Cosmic Explorer 2
](
https://gwinc.docs.ligo.org/pygwinc/
ifo/
CE2.png
)
See
[
IFO.md
](
IFO.md
)
for the latest CI-generated plots and hdf5 cached
data.
...
...
@@ -325,13 +325,7 @@ traces = budget.run()
```
The IFOs included in
`gwinc.ifo`
provide examples of the use of the
budget interface:
*
[
aLIGO
](
gwinc/ifo/aLIGO
)
*
[
Aplus
](
gwinc/ifo/Aplus
)
*
[
Voyager
](
gwinc/ifo/Voyager
)
*
[
CE1
](
master/gwinc/ifo/CE1
)
*
[
CE2
](
master/gwinc/ifo/CE2
)
budget interface (e.g.
[
gwinc.ifo.aLIGO
](
gwinc/ifo/aLIGO
)
).
### extracting single noise terms
...
...
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