<& /htmlheader &>
<h2>Detection data for object <% $objectName %></h2>
<a href="magtplot?objectName=<% $objectName %>">Magnitude over time</a>
|
<a href="radecplot?objectName=<% $objectName %>">RA/DEC</a>
<hr>
<pre>
% foreach my $line (@stuff) {
<% $line %>
% }
</pre>
<& /htmlfooter &>

<%args>
$objectName
</%args>

<%init>
my $model = $m->notes('MODEL');
my @stuff;
@stuff = `(echo ID EPOCH RA_deg DEC_deg MAG OBSCODE OBJNAME; catDetections --instance $model $objectName) | column -t`;
chomp @stuff;
</%init>
