Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
GraceDB Server
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
Michael Coughlin
GraceDB Server
Commits
78c93144
Commit
78c93144
authored
5 years ago
by
Brandon Piotrzkowski
Committed by
Alexander Pace
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add RAVEN VOEvent variant
parent
9adb9cb0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gracedb/events/models.py
+17
-0
17 additions, 0 deletions
gracedb/events/models.py
with
17 additions
and
0 deletions
gracedb/events/models.py
+
17
−
0
View file @
78c93144
...
...
@@ -1008,6 +1008,23 @@ class VOEventBase(CleanSaveModel):
validators
=
[
models
.
fields
.
validators
.
MinValueValidator
(
0.0
),
models
.
fields
.
validators
.
MaxValueValidator
(
1.0
)])
# Additional RAVEN Fields
ext_gcn
=
models
.
CharField
(
max_length
=
20
,
default
=
""
,
blank
=
True
,
editable
=
False
)
ext_pipeline
=
models
.
CharField
(
max_length
=
20
,
default
=
""
,
blank
=
True
,
editable
=
False
)
ext_search
=
models
.
CharField
(
max_length
=
20
,
default
=
""
,
blank
=
True
,
editable
=
False
)
time_coinc_far
=
models
.
FloatField
(
null
=
True
,
default
=
None
,
blank
=
True
,
validators
=
[
models
.
fields
.
validators
.
MinValueValidator
(
0.0
)])
space_coinc_far
=
models
.
FloatField
(
null
=
True
,
default
=
None
,
blank
=
True
,
validators
=
[
models
.
fields
.
validators
.
MinValueValidator
(
0.0
)])
comb_skymap_filename
=
models
.
CharField
(
max_length
=
100
,
null
=
True
,
default
=
None
,
blank
=
True
)
delta_t
=
models
.
FloatField
(
null
=
True
,
default
=
None
,
blank
=
True
,
validators
=
[
models
.
fields
.
validators
.
MinValueValidator
(
-
1000
),
models
.
fields
.
validators
.
MaxValueValidator
(
1000
)])
def
fileurl
(
self
):
# Override this method on derived classes
return
NotImplemented
...
...
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