wiki:HetDescription/jrf/tu_programming

Version 1 (modified by admin, 7 years ago) (diff)

--

Programming in the Hetdex python environment

TCS files

  • tcssubsystem.py
  • TCSNamed.py
  • TCSLog.py
  • TCSEventData.py
  • tcsdb.py

hetlib files

  • tcsutils.py
    1. start_clients()
    2. getposition()
    3. moveStructure()
    4. named_lookup()
  • hetutils.py
    1. degrees_to_hours(deg)
    2. hours_to_degrees(hr)
    3. radians_to_hours(rad)
    4. hours_to_radians(hr)
    5. modulo(x, y)
    6. clipToCircle_deg(deg)
    7. clipToCircle_rad(rad)
    8. BestAzimuth?(dec_deg)
    9. Tde(azimuth_deg)
    10. Ho(azimuth_deg)
    11. Pa(azimuth_deg)
    12. Att(azimuth_deg, dec_deg)
    13. Constants
      1. Latitude_deg
      2. Latitude_rad
      3. LongitudeWest_deg
      4. LongitudeWest_rad
      5. LongitudeEast_deg
      6. LongitudeEast_rad
      7. Altitude_deg
      8. Altitude_rad
      9. Height_meters
      10. Fs_meters
      11. Fs_millimeters
      12. BetaLimit_deg
      13. BetaLimit_rad

  • tcsconfig.py
  • spectrograph.py
  • Points.py