Index of /~tcs3/tcs3/data/hist

Icon  Name                    Last modified      Size  Description
[PARENTDIR] Parent Directory - [TXT] README.txt 2021-08-09 14:56 5.2K [   ] coll.gp 2009-01-26 13:14 1.5K [   ] gdata.240124.032022.dat 2024-01-24 03:20 86K [   ] gdata.240328.020425.dat 2024-03-28 02:04 86K [   ] gdata.240406.221218.dat 2024-04-06 22:12 86K [   ] gdata.240415.092307.dat 2024-04-15 09:23 86K [   ] gdata.240415.092804.dat 2024-04-15 09:28 85K [   ] gdata.240415.092855.dat 2024-04-15 09:28 85K [   ] gdata.240415.093244.dat 2024-04-15 09:32 84K [   ] gdata.240415.093559.dat 2024-04-15 09:35 84K [   ] gdata.240415.093631.dat 2024-04-15 09:36 84K [   ] gdata.240415.095048.dat 2024-04-15 09:50 84K [   ] gdata.240415.095116.dat 2024-04-15 09:51 84K [   ] gdata.240415.095302.dat 2024-04-15 09:53 84K [   ] gdata.240415.100155.dat 2024-04-15 10:01 84K [   ] gdata.240415.103532.dat 2024-04-15 10:35 86K [   ] gdata.240415.103754.dat 2024-04-15 10:37 84K [   ] gdata.240415.104255.dat 2024-04-15 10:42 85K [   ] gdata.240415.135737.dat 2024-04-15 13:57 84K [   ] gdata.240423.102221.dat 2024-04-23 10:22 85K [   ] gdata.240513.101220.dat 2024-05-13 10:12 85K [   ] gdata.240517.031437.dat 2024-05-17 03:14 84K [   ] gdata.240517.152628.dat 2024-05-17 15:26 86K [   ] gdata.240517.152917.dat 2024-05-17 15:29 86K [   ] gdata.240610.113129.dat 2024-06-10 11:31 85K [   ] gdata.240701.024720.dat 2024-07-01 02:47 85K [   ] gdata.240701.024852.dat 2024-07-01 02:48 86K [   ] gdata.240705.211024.dat 2024-07-05 21:10 86K [   ] gdata.240705.211254.dat 2024-07-05 21:12 84K [   ] gdata.240705.212616.dat 2024-07-05 21:26 84K [   ] gdata.240705.215440.dat 2024-07-05 21:54 84K [   ] gdata.240705.221044.dat 2024-07-05 22:10 84K [   ] gdata.240720.010746.dat 2024-07-20 01:07 85K [   ] gdata.240720.011823.dat 2024-07-20 01:18 85K [   ] gdata.240720.014631.dat 2024-07-20 01:46 86K [   ] gdata.240724.012506.dat 2024-07-24 01:25 85K [   ] gdata.240804.054128.dat 2024-08-04 05:41 85K [   ] gdata.240814.050210.dat 2024-08-14 05:02 85K [   ] gdata.240814.050314.dat 2024-08-14 05:03 85K [   ] gdata.240830.050807.dat 2024-08-30 05:08 86K [   ] gdata.240830.051227.dat 2024-08-30 05:12 85K [   ] gdata.240830.051422.dat 2024-08-30 05:14 85K [   ] gdata.241008.103743.dat 2024-10-08 10:37 85K [   ] gdata.250116.005608.dat 2025-01-16 00:56 85K [   ] mcc.gp 2012-10-19 15:58 4.2K [   ] mccs.gp 2006-03-23 13:13 1.9K [   ] mccx.gp 2009-03-25 08:43 4.0K [DIR] old_gp/ 2005-12-15 09:58 - [   ] t.gp 2009-05-01 14:03 4.5K [   ] x 2009-05-20 08:13 1.6K

1. This directory contains data from the tcs3 history.
    This tcs3 can generate 2 type of history data:

       1. pfast - can stream the history data using message queues.
       1. mcc - can dump the contents of the sm.atcs.history[] array (10 seconds 
                of data @ 20Hz).

    The mcc method is preferred, as I found problems with streaming using
    message queues. (This may be delected from the tcs3 in the future).

   data format is: (alway check the code, see t3lib/t3_command.c:do_hist_save())

      fprintf(fp,
      " %4.3f %d %15.9lf %11.7lf %11.7lf %15.9lf %11.7lf %11.7lf "
      "%d %15.9lf %11.7lf %11.7lf %11.7lf %11.7lf "
      "%11.7lf %11.7lf %11.7lf %11.7lf %11.7lf %11.7lf %11.7lf %11.7lf "
      "%10.6f %10.6f %9.6f %9.6f %9.6f %9.6f "
      "%9.6f %9.6f %9.6f %9.6f %9.6f %9.6f %9.6f %.0f %.0f "
      "%.2f %.2f %.2f %d %d %d %d %d %d  \n",
      esec,                                                  //  1 
      hist[i].vtcs_mode,                                     //  2
      hist[i].vtcs_mjd,                                      //  3 
      hist[i].vtcs_pos.ha,      hist[i].vtcs_pos.dec,        //  4,5. 
      hist[i].vtcs_next_mjd,                                 //  6
      hist[i].vtcs_next_pos.ha, hist[i].vtcs_next_pos.dec,   //  7,8
      hist[i].rtcs_mode,                                     //  9
      hist[i].rtcs_mjd,                                      // 10
      hist[i].rtcs_dpos.ha,     hist[i].rtcs_dpos.dec,       // 11,12
      hist[i].rtcs_vel.ha,      hist[i].rtcs_vel.dec,        // 13,14 
      hist[i].motor_dpos.ha,    hist[i].motor_dpos.dec,      // 15,16 
      hist[i].motor_apos.ha,    hist[i].motor_apos.dec,      // 17,18 
      hist[i].motor_avel.ha,    hist[i].motor_avel.dec,      // 19,20 
      hist[i].motor_accel.ha,   hist[i].motor_accel.dec,     // 21,22 
      hist[i].motor_tac.ha,     hist[i].motor_tac.dec,       // 23,24 
      hist[i].motor_dac1.ha,    hist[i].motor_dac2.ha,       // 25,26 - west,north
      hist[i].motor_dac1.dec,   hist[i].motor_dac2.dec,      // 27,28 - east,south
      hist[i].current_e,        hist[i].current_w,           // 29,30 
      hist[i].current_n,        hist[i].current_s,           // 31,32 
      hist[i].current_d1,       hist[i].current_d2,          // 33,34 
      hist[i].current_d3,                                    // 35
      hist[i].motor_ival.ha,    hist[i].motor_ival.dec,      // 36,37 
      hist[i].coll_NS_apos,                                  // 38
      hist[i].coll_EW_apos,                                  // 39
      hist[i].focus_apos,                                    // 40
      hist[i].coll_N_DO,                                     // 41
      hist[i].coll_S_DO,                                     // 42
      hist[i].coll_E_DO,                                     // 43
      hist[i].coll_W_DO,                                     // 44
      hist[i].focus_in_DO,                                   // 45
      hist[i].focus_out_DO                                   // 46
      );



  OR list by columns

      1. Elapse time in seconds.
      2. vtcs_mode
      3. vtcs_mjd, days
      4. vtcs_pos.ha,  radians
      5. vtcs_pos.dec, radians
      6. vtcs_next_mjd, days
      7. vtcs_next_pos.ha,  radians
      8. vtcs_next_pos.dec, radians
      9. Rtcs_mode
     10. rtcs.mjd, days
     11. rtcs_dpos.ha,  radians
     12. rtcs_dpos.dec, radians
     13. rtcs_vel.ha,  radians
     14. rtcs_vel.dec, radians
     15. motor_dpos.ha,  radians
     16. motor_dpos.dec, radians
     17. motor_apos.ha,  radians
     18. motor_apos.dec, radians
     19. motor_vel.ha, radians
     20. motor_vel.dec, radians
     21. motor_accel.ha, radians
     22. motor_accel.dec, radians
     23. motor_tac.ha, volts, SB output
     24. motor_tac.dec, volts, SB output
     25. motor_dac1.ha, volts,  west
     26. motor_dac1.dec, volts, north
     27. motor_dac2.ha, volts,  east
     28. motor_dac2.dec, volts, south
     29. current_e, amps (volt * 11.66)
     30. current_w, amps (volt * 11.66)
     31. current_n, amps (volt * 11.66)
     32. current_s, amps (volt * 11.66)
     33. current_d1, amps (volt * 11.66)
     34. current_d2, amps (volt * 11.66)
     35. current_d3, amps (volt * 11.66)
     36. motor_ival.ha, pmac units
     37. motor_ival.dec, pmac units
     38. collimation NS actual position, volts
     39. collimation EW actual position, volts
     40. focus actual position, volts
     41. collimation N digital out, 0=off 1=move
     42. collimation S digital out, 0=off 1=move
     43. collimation E digital out, 0=off 1=move
     44. collimation W digital out, 0=off 1=move
     45. focus  in digital out, 0=off 1=move
     46. focus out digital out, 0=off 1=move
     47. optional_data_1
     48. optional_data_2 

2. Include in this directory are gnuplot script to produced graphs using the data:

   mcc.gp  - produces a .pdf of the ha & dec data, similiar to the MCC Details Perf-G screen.
             2 pages are in the .pdf. Page 1 is HA data, Page 2 is Dec data.

   coll.gp  - produces a .pdf of the focus and collimation data. 


   The use the scripts:

     > gnuplot
     gnuplot> call 'mcc.gp' 'inputData.dat' 'outputFile.pdf'

     call 'mcc.gp' 'gdata.210809.142204.dat' 'gdata.210809.142204.pdf'