40m QIL Cryo_Lab CTN SUS_Lab TCS_Lab OMC_Lab CRIME_Lab FEA ENG_Labs OptContFac Mariner WBEEShop
  40m Log  Not logged in ELOG logo
Entry  Mon Jun 3 21:03:54 2019, Milind, Update, Cameras, Steps to interact with GigE sitemap.pdf
    Reply  Tue Jun 4 22:24:45 2019, Milind, Update, Cameras, Steps to interact with GigE 
       Reply  Tue Jun 4 23:41:13 2019, gautam, Update, Cameras, Steps to interact with GigE 
          Reply  Wed Jun 5 22:30:13 2019, Milind, Update, Cameras, Steps to interact with GigE 
             Reply  Thu Jun 6 16:01:52 2019, Milind, Update, Cameras, Steps to interact with GigE terminal_medm_error.pdf
                Reply  Mon Jun 10 22:22:19 2019, Milind, Update, Cameras, Steps to interact with GigE 
                   Reply  Thu Jun 13 21:29:52 2019, Milind, Update, Cameras, Steps to interact with GigE terminal_error_server.pdf
Message ID: 14661     Entry time: Mon Jun 10 22:22:19 2019     In reply to: 14657     Reply to this: 14671
Author: Milind 
Type: Update 
Category: Cameras 
Subject: Steps to interact with GigE 

Steps to take snapshots using GigE at different exposures [Instructions for Kruthi]:

  1. Setup C1-CAM-ETMX.ini (/opt/rtcds/caltech/c1/scripts/GigE/SnapPy_pypylon/C1-CAM-ETMX.ini) appropriately. The parameter Number of Snapshots determines how many snapshots will be taken at any given exposure. Set Name Overlay, Time Overlay, Calculation Overlay, Calculations (if using very low values of exposure) and Auto Exposure to False. Ensure that that the IP address of the Camera in use and that in the configuration file match.
  2. Launch a server using the following commands (as described in elog 14649)
    1. cd /opt/rtcds/caltech/c1/scripts/GigE/SnapPy_pypylon
    2. python camera_server.py -c C1-CAM-ETMX.ini
  3. Open another terminal in the same directory and then run the following command
    1. python exposure_variation.py --minval <minval> --maxval <maxval> --step <step> where
      1. minval: lower bound of range of exposure values, defaults to 150
      2. maxval: upper bound of range of exposure values, defaults to 100000
      3. step: step size of variation in the range [minval, maxval], defaults to 2000

The python script takes in the above parameters and then takes snapshots by setting the exposure to values starting at minval and going upto maxval incrementing by step at each turn. This uses a simple for loop and is nothing elaborate.


A few unrelated updates:

  1. On a sidenote, I installed Sublime Text editor on rossa following the instructions at this site (check install using yum section). Further, I have also installed miniconda but did not set it up fully as I was in a rush and did not want to disturb any previously set up environment variables.
  2. I have cloned Gabriele's repository and am trying to get it to work on my system. As Gautam has pointed out that the end goal is to get stuff working on the lab machines, I will sharea .yml file with the necessary environment details upon completion.
  3. I will upload details of how I am going to construct the two learning tasks that Rana, Gautam and I discussed in a day or two including details of the use of simulation data for training data in the absence of real data (until Kruthi is done setting up the GigE) which Gautam suggested I do to speed things up.
ELOG V3.1.3-