-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from sot/package-and-perigee
Modernize low Kalman events processing and output
- Loading branch information
Showing
15 changed files
with
1,421 additions
and
217 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ref-names: $Format:%D$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.git_archival.txt export-subst |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
repos: | ||
- repo: https://github.com/psf/black | ||
rev: 22.6.0 | ||
hooks: | ||
- id: black | ||
language_version: python3.8 | ||
|
||
- repo: https://github.com/pycqa/isort | ||
rev: 5.10.1 | ||
hooks: | ||
- id: isort | ||
name: isort (python) |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Licensed under a 3-clause BSD style license - see LICENSE.rst | ||
""" | ||
Ska_helpers is a collection of utilities for the Ska3 runtime environment. | ||
""" | ||
from ska_helpers.version import get_version | ||
|
||
__version__ = get_version(__package__) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
<!doctype html> | ||
<html lang=en> | ||
|
||
<head> | ||
<meta charset=utf-8> | ||
<title>Perigee {{dirname}}</title> | ||
<style type="text/css"> | ||
table { | ||
border-width: 1px; | ||
border-spacing: 0px; | ||
border-style: outset; | ||
border-color: gray; | ||
border-collapse: separate; | ||
} | ||
|
||
table th, | ||
td { | ||
border-width: 1px; | ||
padding: 1px 5px 1px 5px; | ||
border-style: solid; | ||
border-color: gray; | ||
} | ||
</style> | ||
</head> | ||
|
||
<body> | ||
{% if evt_perigee_prev_dirname %} <a href="../../{{evt_perigee_prev_dirname}}/index.html">Previous</a>{% | ||
endif %} | ||
<a href="../../index.html">Index</a> | ||
{% if evt_perigee_next_dirname %} <a href="../../{{evt_perigee_next_dirname}}/index.html">Next</a>{% endif %} | ||
<h1>Perigee Kalman plot {{date_perigee}} ({{dirname}})</h1> | ||
{{kalman_plot_html}} | ||
<p></p> | ||
{% if has_low_kalmans %} | ||
<h2> Low Kalman intervals </h2> | ||
{{low_kalmans_html}} | ||
{% endif %} | ||
<p></p> | ||
<table> | ||
<tr> | ||
<th>Obsid</th> | ||
{% for obsid in obsids %} | ||
</tr> | ||
<tr> | ||
<td><a | ||
href="https://web-kadi.cfa.harvard.edu/mica/?obsid_or_date={{obsid}}" | ||
target="_blank" rel="noopener noreferrer"> | ||
{{obsid}} </a> </td> | ||
</tr> | ||
{% endfor %} | ||
</table> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
<!doctype html> | ||
<html lang=en> | ||
|
||
<head> | ||
<meta charset=utf-8> | ||
<title>Perigee {{date_perigee}}</title> | ||
<style type="text/css"> | ||
table { | ||
border-width: 1px; | ||
border-spacing: 0px; | ||
border-style: outset; | ||
border-color: gray; | ||
border-collapse: separate; | ||
background-color: white; | ||
} | ||
|
||
table th, | ||
td { | ||
border-width: 1px; | ||
padding: 1px 5px 1px 5px; | ||
border-style: solid; | ||
border-color: gray; | ||
background-color: white; | ||
} | ||
</style> | ||
</head> | ||
|
||
<body> | ||
{% if prev %} <a href="{{prev}}/index.html">Previous</a>{% endif %} | ||
{% if index %} <a href="{{index}}/index.html">Index</a>{% endif %} | ||
{% if next %} <a href="{{next}}/index.html">Next</a>{% endif %} | ||
<h1>Perigee Kalman index page: {{description}}</h1> | ||
<table> | ||
<tr> | ||
<th>Perigee ID</th> | ||
<th>Date</th> | ||
<th>N≤3 for >120 s</th> | ||
<th>N≤2 for >20 s</th> | ||
<th>N≤1 for >10 s</th> | ||
<th>N≤3</th> | ||
<th>N≤2</th> | ||
<th>N≤1</th> | ||
</tr> | ||
{% for row in kalman_stats %} | ||
<tr> | ||
<td><a href="{{row.dirname}}/index.html">{{row.dirname}}</a> </td> | ||
<td>{{row.perigee}}</td> | ||
<td>{{row.n3_ints}}</td> | ||
<td>{{row.n2_ints}}</td> | ||
<td>{{row.n1_ints}}</td> | ||
<td>{{row.n3_cnt}}</td> | ||
<td>{{row.n2_cnt}}</td> | ||
<td>{{row.n1_cnt}}</td> | ||
</tr> | ||
{% endfor %} | ||
</table> | ||
|
||
{% if years %} | ||
<h2>Perigee plots by year</h2> | ||
<table> | ||
<tr><th>Year</th></tr> | ||
{% for year in years %} | ||
<tr><td><a href="{{year}}/index.html">{{year}}</a></td></tr> | ||
{% endfor %} | ||
</table> | ||
{% endif %} | ||
|
||
</body> | ||
|
||
</html> |
Oops, something went wrong.