Path updated
Some checks failed
esbo_ds/ESBO-ETC/pipeline/head There was a failure building this commit
Some checks failed
esbo_ds/ESBO-ETC/pipeline/head There was a failure building this commit
This commit is contained in:
parent
b618b9cbab
commit
f21449d977
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@ -28,13 +28,16 @@ pipeline {
|
|||||||
// clear out old files
|
// clear out old files
|
||||||
sh 'rm -rf ${BUILD_DIR}'
|
sh 'rm -rf ${BUILD_DIR}'
|
||||||
sh 'rm -f ${SPHINX_DIR}/sphinx-build.log'
|
sh 'rm -f ${SPHINX_DIR}/sphinx-build.log'
|
||||||
sh 'ls ${WORKSPACE}'
|
sh 'ls'
|
||||||
|
sh 'pyenv/bin/sphinx-build -b html docs/source docs/build/html'
|
||||||
|
/*
|
||||||
sh '''
|
sh '''
|
||||||
${WORKSPACE}/pyenv/bin/sphinx-build \
|
${WORKSPACE}/pyenv/bin/sphinx-build \
|
||||||
-q -w ${SPHINX_DIR}/sphinx-build.log \
|
-q -w ${SPHINX_DIR}/sphinx-build.log \
|
||||||
-b html \
|
-b html \
|
||||||
-d ${SPHINX_DIR}/${BUILD_DIR}/doctrees ${SPHINX_DIR}/${SOURCE_DIR} ${SPHINX_DIR}/${BUILD_DIR}
|
-d ${SPHINX_DIR}/${BUILD_DIR}/doctrees ${SPHINX_DIR}/${SOURCE_DIR} ${SPHINX_DIR}/${BUILD_DIR}
|
||||||
'''
|
'''
|
||||||
|
*/
|
||||||
archiveArtifacts 'docs/build/html'
|
archiveArtifacts 'docs/build/html'
|
||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
|
@ -1,62 +1,63 @@
|
|||||||
<root>
|
<root>
|
||||||
<common>
|
<common>
|
||||||
<wl_min val="3" val_unit="um" comment="Shortest wavelength used for binning input spectra"/>
|
<wl_min val="207.5" val_unit="um" comment="Shortest wavelength used for binning input spectra"/>
|
||||||
<wl_max val="5" val_unit="um" comment="Shortest wavelength used for binning input spectra"/>
|
<wl_max val="207.8" val_unit="um" comment="Shortest wavelength used for binning input spectra"/>
|
||||||
<wl_delta val="1" val_unit="nm" comment="Wavelength increment used for binning input spectra"/>
|
<wl_delta val="0.15" val_unit="nm" comment="Wavelength increment used for binning input spectra"/>
|
||||||
<!-- <res val="1000" val_unit=""-->
|
<res val="1.3127e6" val_unit=""
|
||||||
<!-- comment="Resolving power for common spectral binning. A linear binning wavelength integral is estimated as wl_min/R"/>-->
|
comment="Resolving power for common spectral binning. A linear binning wavelength integral is estimated as wl_min/R"/>
|
||||||
<d_aperture val="0.5" val_unit="m" comment="Diameter of the telescope aperture"/>
|
<d_aperture val="5" val_unit="m" comment="Diameter of the telescope aperture"/>
|
||||||
<psf val="Airy" osf="10" osf_unit="" comment="PSF of the optical system. Can be Airy or a file"/>
|
<psf val="Airy" osf="10" osf_unit="" comment="PSF of the optical system. Can be Airy or a file"/>
|
||||||
<!-- <psf val="data/psf_2um.txt" osf="10" osf_unit="" comment="PSF of the optical system. Can be Airy or a file"/>-->
|
<!-- <psf val="data/psf_2um.txt" osf="10" osf_unit="" comment="PSF of the optical system. Can be Airy or a file"/>-->
|
||||||
<!-- <jitter_sigma val="10" val_unit="arcsec" comment="Sigma of the telescope jitter"/>-->
|
<!-- <jitter_sigma val="10" val_unit="arcsec" comment="Sigma of the telescope jitter"/>-->
|
||||||
<output path="output" format="fits" comment="Output directory to store output files"/>
|
<output path="output" format="fits" comment="Output directory to store output files"/>
|
||||||
<exposure_time val="0.1, 1.2" val_unit="s" comment="The exposure time"/>
|
<exposure_time val="2300" val_unit="s" comment="The exposure time"/>
|
||||||
<!-- <snr val="10, 10, 10" val_unit="" comment="Desired signal to noise ratio"/>-->
|
<!-- <snr val="10, 10, 10" val_unit="" comment="Desired signal to noise ratio"/>-->
|
||||||
<!-- <snr val="data/snr.csv" comment="Desired signal to noise ratio"/>-->
|
<!-- <snr val="data/snr.csv" comment="Desired signal to noise ratio"/>-->
|
||||||
<!-- <snr val="10" val_unit="" comment="Desired signal to noise ratio"/>-->
|
<!-- <snr val="10" val_unit="" comment="Desired signal to noise ratio"/>-->
|
||||||
</common>
|
</common>
|
||||||
|
|
||||||
<astroscene>
|
<astroscene>
|
||||||
<target type="BlackBodyTarget" temp="5778" temp_unit="K" mag="10" mag_unit="mag" band="M"
|
<target type="BlackBodyTarget" temp="26" temp_unit="K"/>
|
||||||
comment="Modeling the sun as mag 10 star. Size can be point or extended"/>
|
<!-- <target type="FileTarget" file="data/target/science_case_point.csv"/>-->
|
||||||
<optical_component type="Atmosphere" transmittance="data/atmosphere/ESBO-DS_transmittance.txt"
|
<!-- <target type="FileTarget" file="data/target/science_case.csv"/>-->
|
||||||
emission="data/atmosphere/ESBO-DS_emission.txt" comment="Including the atmosphere"/>
|
<optical_component type="Atmosphere" transmittance="data/atmosphere/science_case_hcl.csv"/>
|
||||||
|
<optical_component type="CosmicBackground" temp="2.725" temp_unit="K"/>
|
||||||
|
<optical_component type="Atmosphere" transmittance="data/atmosphere/science_case.csv"
|
||||||
|
emission="data/atmosphere/science_case_emission.csv"/>
|
||||||
<!-- <optical_component type="StrayLight" emission="data/strayLight/emission.csv"-->
|
<!-- <optical_component type="StrayLight" emission="data/strayLight/emission.csv"-->
|
||||||
<!-- comment="Including arbitrary noise sources"/>-->
|
<!-- comment="Including arbitrary noise sources"/>-->
|
||||||
</astroscene>
|
</astroscene>
|
||||||
|
|
||||||
<common_optics>
|
<common_optics>
|
||||||
<optical_component type="Mirror" reflectance="data/mirror/Reflectance_UV-enhanced-aluminium-mirror.txt"
|
<optical_component type="Mirror" reflectance="data/mirror/science_case.csv"
|
||||||
emissivity="1" temp="70" temp_unit="K" obstruction="0.04" comment="M1"/>
|
emissivity="0.05" temp="-15" temp_unit="Celsius" obstruction="0.004"
|
||||||
<optical_component type="Mirror" reflectance="data/mirror/Reflectance_UV-enhanced-aluminium-mirror.txt"
|
obstructor_temp="-20" obstructor_temp_unit="Celsius" obstructor_emissivity="0.05"
|
||||||
emissivity="1" temp="70" temp_unit="K" comment="M2"/>
|
comment="M1"/>
|
||||||
<optical_component type="Mirror" reflectance="data/mirror/Reflectance_UV-enhanced-aluminium-mirror.txt"
|
<optical_component type="Mirror" reflectance="data/mirror/science_case.csv"
|
||||||
emissivity="1" temp="70" temp_unit="K" comment="M3"/>
|
emissivity="0.05" temp="-20" temp_unit="Celsius" comment="M2"/>
|
||||||
<!-- <optical_component type="Filter" band="M"-->
|
<optical_component type="Mirror" reflectance="data/mirror/science_case.csv"
|
||||||
<!-- emissivity="data/filter/emissivity.csv" temp="70" temp_unit="K" comment="Filter wheel"/>-->
|
emissivity="0.05" temp="-20" temp_unit="Celsius" comment="M3"/>
|
||||||
<!-- <optical_component type="Filter" start="400" start_unit="nm" end="480" end_unit="nm"-->
|
<optical_component type="Mirror" reflectance="data/mirror/science_case.csv"
|
||||||
<!-- emissivity="data/filter/emissivity.csv" temp="70" temp_unit="K" comment="Filter wheel"/>-->
|
emissivity="0.05" temp="-20" temp_unit="Celsius" comment="M4"/>
|
||||||
|
<optical_component type="Mirror" reflectance="data/mirror/science_case.csv"
|
||||||
|
emissivity="0.05" temp="-20" temp_unit="Celsius" comment="M5"/>
|
||||||
|
<optical_component type="Mirror" reflectance="data/mirror/science_case.csv"
|
||||||
|
emissivity="0.05" temp="4" temp_unit="K" comment="M6"/>
|
||||||
|
<optical_component type="Mirror" reflectance="data/mirror/science_case.csv"
|
||||||
|
emissivity="0.05" temp="4" temp_unit="K" comment="M7"/>
|
||||||
|
<optical_component type="Mirror" reflectance="data/mirror/science_case.csv"
|
||||||
|
emissivity="0.05" temp="4" temp_unit="K" comment="M8"/>
|
||||||
</common_optics>
|
</common_optics>
|
||||||
|
|
||||||
<instrument>
|
<instrument>
|
||||||
<optical_component type="Lens" transmittance="data/lens/Reflectance_UV-enhanced-aluminium-mirror.txt"
|
<sensor type="Heterodyne">
|
||||||
emissivity="1" temp="70" temp_unit="K" comment="M4"/>
|
<aperture_efficiency val="0.55" val_unit=""/>
|
||||||
<sensor type="Imager">
|
<main_beam_efficiency val="0.67" val_unit=""/>
|
||||||
<f_number val="13" val_unit="" comment="The working f/#"/>
|
<receiver_temp val="1050" val_unit="K"/>
|
||||||
<pixel_geometry val="1024, 1024" val_unit="pix" comment="Pixel geometry"/>
|
<eta_fss val="0.97" val_unit=""/>
|
||||||
<center_offset val="0.0, 0.0" val_unit="pix" comment="Shift of the array center"/>
|
<lambda_line val="207.613" val_unit="um"/>
|
||||||
<pixel>
|
<kappa val="1" val_unit=""/>
|
||||||
<quantum_efficiency val="data/ccd/PCO-Edge-42-QE.txt" comment="Quantum efficiency of the detector pixel"/>
|
<!-- <n_on val="10" val_unit=""/>-->
|
||||||
<pixel_size val="6.5" val_unit="um"/>
|
|
||||||
<dark_current val="0.6" val_unit="electron / (pix * s)" comment="Detector dark current"/>
|
|
||||||
<sigma_read_out val="1.4" val_unit="electron(1/2) / pix" comment="Detector readout noise in e-rms"/>
|
|
||||||
<well_capacity val="30000" val_unit="electron" comment="Well capacity of a pixel"/>
|
|
||||||
</pixel>
|
|
||||||
<photometric_aperture comment="The photometric aperture used to calculate signal and noise.">
|
|
||||||
<shape val="square" comment="Shape of the photometric aperture. Can be square / circle"/>
|
|
||||||
<contained_energy val="80" comment="Contained energy for calculating the SNR. Can be Peak, FWHM, Min or the percentage of encircled energy."/>
|
|
||||||
<!-- <contained_pixels val="100" val_unit="pix" comment="Number of contained pixels."/>-->
|
|
||||||
</photometric_aperture>
|
|
||||||
</sensor>
|
</sensor>
|
||||||
</instrument>
|
</instrument>
|
||||||
</root>
|
</root>
|
||||||
|
@ -314,8 +314,8 @@ class Heterodyne(ASensor):
|
|||||||
else:
|
else:
|
||||||
signal = SpectralQty(signal.wl, signal.qty.to(u.W / (u.m ** 2 * u.Hz * u.sr),
|
signal = SpectralQty(signal.wl, signal.qty.to(u.W / (u.m ** 2 * u.Hz * u.sr),
|
||||||
equivalencies=u.spectral_density(signal.wl)))
|
equivalencies=u.spectral_density(signal.wl)))
|
||||||
t_signal = signal * (u.sr * self.__main_beam_efficiency * self.__lambda_line ** 2 / (
|
t_signal = signal * (self.__main_beam_efficiency * signal.wl ** 2 / (
|
||||||
2 * k_B) * self.__eta_fss)
|
2 * k_B) * self.__eta_fss * u.sr)
|
||||||
t_signal = SpectralQty(t_signal.wl, t_signal.qty.decompose())
|
t_signal = SpectralQty(t_signal.wl, t_signal.qty.decompose())
|
||||||
logger.debug("Spectral signal temperature")
|
logger.debug("Spectral signal temperature")
|
||||||
logger.debug(t_signal)
|
logger.debug(t_signal)
|
||||||
|
Loading…
Reference in New Issue
Block a user