-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Guide reporting #197
Merged
Merged
Guide reporting #197
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
c712334
First draft of guide reporting
jeanconn 99d2b2b
Lower vmax for spoiler stars to allow seeing them
taldcroft 10b9e38
Fix PEP8
taldcroft 805c2be
Add coding and license
taldcroft 71d6fa4
Get rid of the Tom coordinate labels hack
taldcroft 56dfd7c
Add spoiler mag labels and other tidying
taldcroft 17b0fbf
Refactor plotting into two separate functions
taldcroft 3d56b9e
Consistent naming (guide is guide cand, star is field star)
taldcroft b94e73c
Auto-format COLOR1 to 2 decimal places
taldcroft f7543db
Remove MAG_ACA and MAG_ACA_ERR from table
taldcroft dede057
Include guide_index_template.html in package data
taldcroft 1809a71
Add guide star catalog to report
taldcroft f09e3a2
Put back MAG_ACA_ERR
taldcroft 15a0138
Add ASPQ1 to guide & guide candidates table
taldcroft File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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,103 @@ | ||
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | ||
<html> | ||
<head> | ||
<title>Proseco guide star selection summary</title> | ||
<link href="/mta/ASPECT/aspect.css" rel="stylesheet" type="text/css" media="all" /> | ||
<style> | ||
h1,h2,h3,h4 { | ||
color: #990000; | ||
} | ||
|
||
table.table-striped { | ||
border-width: thin thin thin thin; | ||
border-spacing: 1px; | ||
border-style: outset outset outset outset; | ||
border-color: gray gray gray gray; | ||
border-collapse: separate; | ||
background-color: white; | ||
} | ||
|
||
table.table-striped th { | ||
border-width: 1px 1px 1px 1px; | ||
padding: 1px 3px 1px 3px; | ||
border-color: gray; | ||
border-style: inset; | ||
} | ||
table.table-striped td { | ||
border-width: 1px 1px 1px 1px; | ||
padding: 1px 3px 1px 3px; | ||
border-style: inset; | ||
border-color: gray; | ||
text-align: right; | ||
} | ||
</style> | ||
</head> | ||
|
||
<body> | ||
|
||
<!--#include virtual="/mta/ASPECT/header.html"--> | ||
|
||
<h1> Obsid {{obsid}} at {{date}}</h1> | ||
|
||
<table class="table-striped"> | ||
<tr> <td> <b>RA</b> </td> <td> {{ att[0] }} </td> </tr> | ||
<tr> <td> <b>Dec</b> </td> <td> {{ att[1] }} </td> </tr> | ||
<tr> <td> <b>Roll</b> </td> <td> {{ att[2] }} </td> </tr> | ||
<tr> <td> <b>t_ccd</b> </td> <td> {{ t_ccd_guide }} </td> </tr> | ||
<tr> <td> <b>dither_y</b> </td> <td> {{ dither_guide.y }} </td> </tr> | ||
<tr> <td> <b>dither_z</b> </td> <td> {{ dither_guide.z }} </td> </tr> | ||
<tr> <td> <b>n_guide</b> </td> <td> {{ n_guide }} </td> </tr> | ||
<tr> <td> <b>include_ids</b> </td> <td> {{ str_include_ids }} </td> </tr> | ||
<tr> <td> <b>exclude_ids</b> </td> <td> {{ str_exclude_ids }} </td> </tr> | ||
</table> | ||
|
||
|
||
|
||
<h2> Guide star catalog </h2> | ||
|
||
<table> | ||
<tr> | ||
<td> {{ guides_table | safe }} </td> | ||
</tr> | ||
</table> | ||
|
||
|
||
<h2> Candidates stars summary </h2> | ||
|
||
<table> | ||
<tr> | ||
<td> {{ cand_guides_table | safe }} </td> | ||
</tr> | ||
</table> | ||
|
||
|
||
<h2> Star details </h2> | ||
<table> | ||
{% for star in cand_guides %} | ||
<hr></hr> | ||
<h3 id="{{star['id']}}"> AGASC ID {{ star['id'] }} ({{star['selected']}})</h3> | ||
|
||
<table> | ||
|
||
<tr><td>{{ star['guide_table'] | safe }}</td></tr> | ||
<tr><td><img src="{{star['candidate_plot'] | safe}}"></td></tr> | ||
</table> | ||
|
||
|
||
<h4>Progress through star selection stages<h4> | ||
<table> | ||
{% for line in star['log'] %} | ||
<tr> | ||
<td><tt> {{line}} </tt></td> | ||
</tr> | ||
{% endfor %} | ||
</table> | ||
{% endfor %} | ||
</table> | ||
|
||
|
||
<!--#include virtual="/mta/ASPECT/footer.html"--> | ||
<!--footer end--> | ||
|
||
</body> | ||
</html> |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I want ASPQ1 too
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done in 15a0138.