Mercurial > repos > gregor.m > spyboat
comparison output_report.py @ 4:a4c6fcf2c456 draft
"planemo upload commit 0584e8878deaf91614c6bb3c0122975300132c25"
author | gregor.m |
---|---|
date | Thu, 26 Nov 2020 16:40:47 +0000 |
parents | 4d7f30a7e2f6 |
children | d5a4180410c4 |
comparison
equal
deleted
inserted
replaced
3:4d7f30a7e2f6 | 4:a4c6fcf2c456 |
---|---|
46 out_path = os.path.join(img_path, f'phase_frame{frame}.png') | 46 out_path = os.path.join(img_path, f'phase_frame{frame}.png') |
47 fig.savefig(out_path, dpi=DPI) | 47 fig.savefig(out_path, dpi=DPI) |
48 ppl.close(fig) | 48 ppl.close(fig) |
49 | 49 |
50 spyplot.period_snapshot(results['period'][frame], | 50 spyplot.period_snapshot(results['period'][frame], |
51 Wkwargs, | 51 Wkwargs['Tmin'],Wkwargs['Tmax'], |
52 time_unit = 'a.u.') | 52 time_unit = 'a.u.') |
53 | 53 |
54 fig = ppl.gcf() | 54 fig = ppl.gcf() |
55 out_path = os.path.join(img_path, f'period_frame{frame}.png') | 55 out_path = os.path.join(img_path, f'period_frame{frame}.png') |
56 fig.savefig(out_path, dpi=DPI) | 56 fig.savefig(out_path, dpi=DPI) |
128 ''' | 128 ''' |
129 galleries += new_gal | 129 galleries += new_gal |
130 | 130 |
131 html_string =f''' | 131 html_string =f''' |
132 <html> | 132 <html> |
133 <!-- this file got automatically created by 'output_report.py' --> | |
133 <title>SpyBOAT Output Report</title> | 134 <title>SpyBOAT Output Report</title> |
134 <head> | 135 <head> |
135 <!-- that doesn't work with galaxy.. --> | 136 <!-- that doesn't work with galaxy.. --> |
136 <!--link rel="stylesheet" href="styles.css"--> | 137 <!--link rel="stylesheet" href="styles.css"--> |
137 <style type="text/css"> | 138 <style type="text/css"> |