Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bilby
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
Sylvia Biscoveanu
bilby
Commits
385fc3fb
Commit
385fc3fb
authored
3 years ago
by
Sylvia Biscoveanu
Browse files
Options
Downloads
Patches
Plain Diff
Fix latitutde and longitude calculation
parent
cc9a73fd
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#330037
failed
3 years ago
Stage: initial
Stage: test
Stage: docs
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bilby/gw/detector/networks.py
+2
-2
2 additions, 2 deletions
bilby/gw/detector/networks.py
with
2 additions
and
2 deletions
bilby/gw/detector/networks.py
+
2
−
2
View file @
385fc3fb
...
...
@@ -317,8 +317,8 @@ class TriangularInterferometer(InterferometerList):
xarm_azimuth
+=
240
yarm_azimuth
+=
240
latitude
+=
np
.
arctan
(
length
*
np
.
sin
(
xarm_azimuth
*
np
.
pi
/
180
)
*
1e3
/
utils
.
radius_of_earth
)
longitude
+=
np
.
arctan
(
length
*
np
.
cos
(
xarm_azimuth
*
np
.
pi
/
180
)
*
1e3
/
utils
.
radius_of_earth
)
latitude
+=
np
.
arctan
(
length
*
np
.
sin
(
xarm_azimuth
*
np
.
pi
/
180
)
*
1e3
/
utils
.
radius_of_earth
)
*
180
/
np
.
pi
longitude
+=
np
.
arctan
(
length
*
np
.
cos
(
xarm_azimuth
*
np
.
pi
/
180
)
*
1e3
/
utils
.
radius_of_earth
)
*
180
/
np
.
pi
def
get_empty_interferometer
(
name
):
...
...
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