Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
G
gracedb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
99
Issues
99
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
1
Merge Requests
1
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lscsoft
gracedb
Commits
a2d83186
Commit
a2d83186
authored
Jun 03, 2019
by
Jonah Kanner
🤓
Committed by
GraceDB
Jun 24, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
better far fromat
parent
54e9c062
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
26 deletions
+21
-26
gracedb/superevents/views.py
gracedb/superevents/views.py
+1
-1
gracedb/templates/superevents/public.html
gracedb/templates/superevents/public.html
+20
-25
No files found.
gracedb/superevents/views.py
View file @
a2d83186
...
...
@@ -245,7 +245,7 @@ class SupereventPublic2(DisplayFarMixin, ListView):
se
.
t0_utc
=
se
.
t0_iso
.
split
()[
1
]
# Get display FARs for preferred_event
se
.
disp_far
=
self
.
get_display_far
(
obj
=
se
.
preferred_event
)[
0
]
se
.
far_hz
,
se
.
far_hr
,
se
.
far_limit
=
self
.
get_display_far
(
obj
=
se
.
preferred_event
)
...
...
gracedb/templates/superevents/public.html
View file @
a2d83186
...
...
@@ -37,20 +37,16 @@
<th
scope=
"col"
data-tablesaw-sortable-col
data-tablesaw-priority=
"1"
>
Possible Source (Probability)
</th>
<th
scope=
"col"
data-tablesaw-sortable-col
data-tablesaw-priority=
"2"
>
UTC
</th>
<th
scope=
"col"
data-tablesaw-col
data-tablesaw-priority=
"3"
>
GCN
</th>
<th
scope=
"col"
data-tablesaw-col
data-tablesaw-priority=
"6"
>
Location
</th>
<th
scope=
"col"
data-tablesaw-col
data-tablesaw-priority=
"4"
>
Location
</th>
<th
scope=
"col"
data-tablesaw-sortable-col
data-tablesaw-priority=
"5"
>
FAR
</th>
<th
scope=
"col"
data-tablesaw-sortable-col
data-tablesaw-priority=
"6"
>
Comments
</th>
<th
scope=
"col"
data-tablesaw-sortable-col
data-tablesaw-priority=
"0"
>
GPS
</th>
{% if not user_is_external %}
<th
scope=
"col"
data-tablesaw-col
data-tablesaw-priority=
"5"
>
Ω
Scan
</th>
{% endif %}
<th
scope=
"col"
data-tablesaw-sortable-col
data-tablesaw-priority=
"4"
>
Comments
</th>
<th
scope=
"col"
data-tablesaw-sortable-col
data-tablesaw-priority=
"5"
>
GPS
</th>
<th
scope=
"col"
data-tablesaw-sortable-col
data-tablesaw-sortable-numeric
data-tablesaw-priority=
"0"
>
FAR (Hz)
</th>
<th
scope=
"col"
data-tablesaw-col
data-tablesaw-priority=
"0"
>
VOEvent
</th>
{% if not user_is_external %}
<th
scope=
"col"
data-tablesaw-col
data-tablesaw-priority=
"0"
>
PE
</th>
<th
scope=
"col"
data-tablesaw-col
data-tablesaw-priority=
"6"
>
Ω
Scan
</th>
<th
scope=
"col"
data-tablesaw-col
data-tablesaw-priority=
"6"
>
PE
</th>
{% endif %}
</tr>
</thead>
<tbody>
...
...
@@ -61,34 +57,33 @@
<td
style=
'min-width:100px;'
><a
href=
/superevents/{{
event.superevent_id
}}
>
{{ event.default_superevent_id }}
</a></td>
<td
style=
'min-width:1
2
0px;'
>
{{ event.sourcetypes }}
</td>
<td
style=
'min-width:1
0
0px;'
>
{{ event.sourcetypes }}
</td>
<td
style=
'min-width:140px'
>
<span
style=
'font-size:0px;'
>
{{ event.t0_iso }}
</span>
{{ event.t_0_date }}
<br/>
{{ event.t0_utc }} UTC
</td>
<td>
<a
href=
{{
event.noticeurl
}}
>
Notice
</a><br/>
<a
href=
{{
event.gcnurl
}}
>
Circulars
</a>
<td
style=
'min-width:110px;'
>
<a
href=
{{
event.gcnurl
}}
>
GCN Circulars
</a><br/>
<a
href=
{{
event.noticeurl
}}
>
Notices
</a>
|
<a
href=
'/api/superevents/{{ event.default_superevent_id }}/voevents/'
>
VOE
</a>
</td>
<td>
<a
href=
'{{ event.maplocal }}'
>
<img
src=
'{{ event.maplocal }}'
width=
'200px'
/>
</a>
</td>
<td>
<a
href=
'{{ event.maplocal }}'
>
<img
src=
'{{ event.maplocal }}'
width=
'120px'
/>
</a>
</td>
<td
style=
'min-width:120px;'
><span
style=
'font-size:0px'
>
{{ event.far_hz|floatformat:10 }}
</span>
{{ event.far_hr }}
</td>
<td
style=
'min-width:80px;'
>
{{ event.comments |safe}}
</td>
<td>
{{ event.t_0|floatformat:2 }}
</td>
{% if not user_is_external %}
<td
style=
'min-width:70px'
>
<a
href=
'https://ldas-jobs.ligo-la.caltech.edu/~detchar/dqr/events/{{ event.superevent_id }}/L1deepomegascan/'
>
Ω
L1
</a><br/>
<a
href=
'https://ldas-jobs.ligo-wa.caltech.edu/~detchar/dqr/events/{{ event.superevent_id }}/H1deepomegascan/'
>
Ω
H1
</a>
</td>
</td>
<td>
{{ event.pe |safe}}
</td>
{% endif %}
<td>
{{ event.comments |safe}}
</td>
<td>
{{ event.t_0|floatformat:2 }}
</td>
<!-- <td> 1 per {{ event.ifar_yrs|floatformat:2 }} years</td> -->
<td>
{{ event.disp_far|stringformat:".2e" }}
</td>
<td>
<a
href=
'/api/superevents/{{ event.default_superevent_id }}/voevents/'
>
VOEvent
</a></td>
{% if not user_is_external %}
<td>
{{ event.pe |safe}}
</td>
{% endif %}
</tr>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment