config_unit_simulunit1.xml 6.27 KB
<?xml version = '1.0' encoding = 'UTF-8'?>

<!--
=============================================================================
This File describes all the parameters that characterize a unit.
=============================================================================
One parameter <param></param> is defined using the following attributes:
section, key, value, type, unit, access, comment, label, reference, timestamp 

section : Category of the keyword
key : Key of the keyword
value : Useful value of the keyword
type : Python type to interpret the value
unit : Physical value to allow conversions
access : 0brwrwrw (rw for PI-Mount, rw for Maintenance, rw for Astronomers)
comment : Comment to be added as a popup in the web page
label : Text to describe the value in a web page (e.g. forms)
reference : Refere to the source of the value
timestamp : Date when the value has been last updated

=============================================================================
-->

<unit alias="SimulUnit1">

  <date_created>2018-04-13 00:38:14.461736</date_created>
  <!-- Select the unit as one unit and one or more channels -->
  <param section="instanciation" key="mount1" value="VirtualMount"/>
  <param section="instanciation" key="channel1" value="VirtualCamera"/>
  
  <!-- A mount definition -->
  <mount alias="VirtualMount">
    <!-- Set period parameters -->
    <param section="period" key="periods" value="(1, 2018, 9, 1, 2019, 3, 1), (2, 2019, 3, 1, 2019, 9, 1)" type="int" unit=""/>
    <param section="period" key="sun_elev_night" value="-10" type="float" unit="deg"/>
    <param section="partner" key="partners" value="(1, 'PAA', 45, 'Partner_A'), (1, 'PAB', 22, 'Partner_B'), (1, 'PAC', 33, 'Partner_C')" type="int" unit=""/>
    <!-- Set site parameters -->
    <param section="localization" key="home" value="GPS 1.477083 E 43.81667 150" type="str" unit=""/>
    <param section="localization" key="name" value="IRAP" type="str" unit="" comment="Institut de Recherche en Astrophysique et Planetologie"/>
    <param section="localization" key="iau_num" value="n.d" type="str" unit="" comment="Not defined"/>
    <!-- Set mount paramters for simulations and scheduler -->
    <param section="mount" key="axe_type" value="hadec" type="str" unit=""/>
    <param section="mount" key="ha_liminf" value="-90" type="float" unit="Angle"/>
    <param section="mount" key="ha_limsup" value="90" type="float" unit="Angle"/>
    <param section="mount" key="dec_liminf" value="-30" type="float" unit="Angle"/>
    <param section="mount" key="dec_limsup" value="89.7" type="float" unit="Angle"/>
    <param section="mount" key="ha_vel_profile" value="scurve" type="str" unit=""/>
    <param section="mount" key="dec_vel_profile" value="scurve" type="str" unit=""/>
  </mount>
  
  <!-- A channel definition -->
  <channel alias="VirtualCamera">
    <!-- Set a name to the camera -->
    <param section="channel" key="name" value="VirtualCam" type="str" unit=""/>
    <!-- Parameters of the  channel for the web form for a plan -->
    <param section="channel" key="plan" value="'filter': 'filters symbols', 'binning': 'detector binnings', 'exptime': 'detector exptime_mini exptime_maxi', 'nb_images': 'int 1 Inf', 'shutter': 'shutters', 'delay': 'float 0 Inf'" type="dict" unit=""/>
    <!-- Optical design of the channel for simulations -->
    <param section="optic" key="aperdiam" value="0.16" type="float" unit="m"/>
    <param section="optic" key="focleneq" value="0.53" type="float" unit="m"/>
    <param section="optic" key="efficiency" value="0.68" type="float" unit=""/>
    <!-- List of optical filters for plans and for simulations -->
    <param section="filters" key="symbols" value="B g r i gri" type="str" unit=""/>
    <param section="filters" key="efficiencies" value="0.75 0.85 0.85 0.85 0.85 0.85" type="float" unit=""/>
    <param section="filters" key="lambda_mins" value="0.37 0.40 0.55 0.70 0.40" type="float" unit="mu"/>
    <param section="filters" key="lambda_maxs" value="0.50 0.55  0.70 0.80 0.80" type="float" unit="mu"/>
    <!-- Camera properties for plans and for simulations -->
    <param section="detector" key="sensor_type" value="CCD" type="str" unit=""/>
    <param section="detector" key="efficiency" value="0.9" type="float" unit=""/>
    <param section="detector" key="binnings" value="(1, 1), (2, 2), (3, 3), (4,4)" type="int" unit=""/>
    <param section="detector" key="exptime_mini" value="0.1" type="float" unit="sec"/>
    <param section="detector" key="exptime_maxi" value="1000" type="float" unit="sec"/>
    <param section="detector" key="readouttime" value="10" type="float" unit="sec"/>
    <param section="detector" key="shutters" value="synchro, openned, closed" type="str" unit=""/>
    <param section="detector" key="nbcells1" value="4096" type="int" unit=""/>
    <param section="detector" key="cellsize1" value="15" type="float" unit="mu"/>
    <param section="detector" key="nbcells2" value="4096" type="int" unit=""/>
    <param section="detector" key="cellsize2" value="15" type="float" unit="mu"/>
    <param section="detector" key="readoutnoise" value="7.5" type="float" unit="electrons"/>
    <param section="detector" key="gain" value="2.5" type="float" unit="electrons/adu"/>
    <param section="detector" key="temperature" value="-50" type="float" unit="degC"/>
    <param section="detector" key="thermic_signal" value="0.05" type="float" unit="electrons/s"/>
    <!-- Atmospheric conditions for simulations -->
    <param section="atmosphere" key="temperature" value="300" type="float" unit="Kelvin"/>
    <param section="atmosphere" key="pressure" value="101325" type="float" unit="Pascal"/>
    <param section="atmosphere" key="humidity" value="50" type="float" unit="percent"/>
    <param section="atmosphere" key="seeing" value="1" type="float" unit="arcsec"/>
    <param section="atmosphere" key="transparency" value="0.8" type="float" unit="0b110101"/>
    <!-- Define the horizon line for scheduler -->
    <param section="horizon" key="amer_list" value="(0, 10), (50, 15), (60,10)" type="tuple" unit="Angle"/>
  </channel>
  
  <!-- A computer definition -->
  <computer alias="Computer1">
    <!-- Access autorizations -->
    <param section="access" key="mysql_host" value="127.0.0.1"/>
    <param section="access" key="mysql_user" value="pyros"/>
    <param section="access" key="mysql_pswd" value="DjangoPyros"/>
  </computer>
  
</unit>