{# # Jinja2 template for PyDIET ETC results with the WIRCam instrument. # # Copyright CFHT/CNRS/OSUPS/CEA/UParisSaclay # Licensed under the MIT licence #} ETC estimate Instrument {{ r.instrument }} Filter {{ r.filter }} Pivot wavelength {% set spec = '{:.1f}' if r.lambda_pivot < 10000 else '{:.0f}' %} {{ spec.format(r.lambda_pivot) }} nm Rectangular bandwidth {% set spec = '{:.1f}' if r.bandwidth_rect < 10000 else '{:.0f}' %} {{ spec.format(r.bandwidth_rect) }} nm SNR {{ '{:.5n}'.format(r.snr) }} Exposure time {% set spec = '{:.3n}' if r.etime < 100 else '{:.0f}' %} {{ spec.format(r.etime) }} s Background saturation time {% set spec = '{:.3n}' if r.etime_skysat < 100 else '{:.0f}' %} {{ spec.format(r.etime_skysat) }} s Source saturation time {% set spec = '{:.3n}' if r.etime_sourcesat < 100 else '{:.0f}' %} {{ spec.format(r.etime_sourcesat) }} s Total time (including overheads) {% set spec = '{:.3n}' if r.ttime < 100 else '{:.0f}' %} {{ spec.format(r.ttime) }} s Full photometric zero-point (per second) {{ '{:.2f}'.format(r.zp) }} magAB Total background {{ '{:.2f}'.format(r.bkg_mag) }} magAB.arcsec-2