Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
LISA Instrument
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LISA Simulation
LISA Instrument
Commits
394f2744
Commit
394f2744
authored
2 years ago
by
Jean-Baptiste Bayle
Browse files
Options
Downloads
Patches
Plain Diff
Change test GW file to v2.0 (instead of v2.0.dev)
parent
fe660892
No related branches found
No related tags found
1 merge request
!132
Resolve "Change test GW file to v2.0 (instead of v2.0.dev)"
Pipeline
#199485
passed
2 years ago
Stage: test
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitattributes
+1
-1
1 addition, 1 deletion
.gitattributes
tests/gws-2-0.h5
+3
-0
3 additions, 0 deletions
tests/gws-2-0.h5
tests/test_gws.py
+3
-3
3 additions, 3 deletions
tests/test_gws.py
with
7 additions
and
4 deletions
.gitattributes
+
1
−
1
View file @
394f2744
...
...
@@ -5,6 +5,6 @@ tests/esa-trailing-orbits-2-0.h5 filter=lfs diff=lfs merge=lfs -text
tests/keplerian-fplan-1-1.h5 filter=lfs diff=lfs merge=lfs -text
tests/esa-trailing-fplan-1-1.h5 filter=lfs diff=lfs merge=lfs -text
tests/gws-1-1.h5 filter=lfs diff=lfs merge=lfs -text
tests/gws-2-0
-dev
.h5 filter=lfs diff=lfs merge=lfs -text
tests/gws-2-0.h5 filter=lfs diff=lfs merge=lfs -text
tests/glitch-1-1.h5 filter=lfs diff=lfs merge=lfs -text
tests/glitch-1-0.h5 filter=lfs diff=lfs merge=lfs -text
This diff is collapsed.
Click to expand it.
tests/gws-2-0
-dev
.h5
→
tests/gws-2-0.h5
LFS
+
3
−
0
View file @
394f2744
No preview for this file type
This diff is collapsed.
Click to expand it.
tests/test_gws.py
+
3
−
3
View file @
394f2744
...
...
@@ -143,7 +143,7 @@ def test_gw_file_1_1():
-
(
instru
.
central_freq
+
instru
.
local_usb_offsets
[
mosa
])
*
gwf
[
f
'
tps/l_
{
mosa
}
'
][:]
def
test_gw_file_2_0_dev
():
"""
Test that we can read GW files v2.0
.dev
with orbit files v2.0.
"""
Test that we can read GW files v2.0 with orbit files v2.0.
Test GW file can be generated using LISA GW Response and the following script.
...
...
@@ -163,10 +163,10 @@ def test_gw_file_2_0_dev():
gw_beta=0, gw_lambda=0,
)
galbin.write(
'
tests/gws-2-0
-dev
.h5
'
)
galbin.write(
'
tests/gws-2-0.h5
'
)
"""
gw_file
=
'
tests/gws-2-0
-dev
.h5
'
gw_file
=
'
tests/gws-2-0.h5
'
gwf
=
File
(
gw_file
,
'
r
'
)
instru
=
Instrument
(
...
...
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