40m QIL Cryo_Lab CTN SUS_Lab TCS_Lab OMC_Lab CRIME_Lab FEA ENG_Labs OptContFac Mariner WBEEShop
  ATF eLog  Not logged in ELOG logo
Entry  Thu Sep 16 10:33:59 2021, Aidan, Computing, 2um Photodiodes, Automation and analysis scripts for 2um data taking autorun2021.shmaximize_output_power.pyA1_analysis.py
    Reply  Mon Sep 20 14:26:38 2021, rana, Computing, 2um Photodiodes, Automation and analysis scripts for 2um data taking 
Message ID: 2669     Entry time: Thu Sep 16 10:33:59 2021     Reply to this: 2670
Author: Aidan 
Type: Computing 
Category: 2um Photodiodes 
Subject: Automation and analysis scripts for 2um data taking 

The attached files are the scripts used to take data during the PD temperature cycling/testing and to retrieve and analyze data after the fact.

  • ~/JPL_PD/scripts/autorun2021.sh
    • ~/JPL_PD/scripts/piezo_mirror/maximize_output_power.py
  • ~/JPL_PD/data/A1_analysis/A1_analysis.py
Attachment 1: autorun2021.sh  4 kB  Uploaded Thu Sep 16 11:37:54 2021  | Hide | Hide all
#diode name
i=1001
diode=A1
caput C4:TST-FM15_OFFSET 0
sleep 1
while :; do
        #-----------------------------------------------------
        # dark current
        echo =======================
        echo ----- TOP OF LOOP -----
... 141 more lines ...
Attachment 2: maximize_output_power.py  4 kB  Uploaded Thu Sep 16 11:38:03 2021  | Hide | Hide all
# script to maximize the output power of the piezo
import serial
import time
import os, sys, subprocess
import numpy as np

def slowDownJog(ser):
    ser.write('1SU50\r\n')
    time.sleep(0.1)
... 195 more lines ...
Attachment 3: A1_analysis.py  5 kB  Uploaded Thu Sep 16 11:38:11 2021  | Hide | Hide all
# analysis od the A1 JPL PD diode
# Aidan Brooks - 10-Sept-2021

import cdsutils
import numpy as np
import matplotlib.pyplot as plt
import os, glob
import scipy.signal

... 172 more lines ...
ELOG V3.1.3-