Set of tools to read, modify and run DTT-DIAGGUI templates remotely on LIGO/CyMAC CDS machines from a local host machine.
## File info
- **@LigoLWText** : A class file that is used to read and modify DTT DIAGGUI .xml files.
- **dtt2mlab.m** : Main file that uses @LigoLWText and dtt2mlab.py and executes the template via diag shell script.
- **dtt2mlab.py** : Python helper that connects dtt2mlab.m and the diag shell utility.
- **test_dtt2mlab.m** : Example script that shows how to read a DTT DIAGGUI tempalte .xml file from myTemplates folder, modify it accdording user specifications and then execute it direcly from within MATLAB.
- **execute_on_remote_machine** : Script to execute test_dtt2mlab.m on a remote machine and fetch back the result.
## Test info
Tested at MIT LIGO (CTN Cymac CDS machine) using MATLAB R2020b and Python 3.7.3
## Steps
- First open DTT-DIAGGUI, setup a basic maeasurement and save the template .xml file inside my myTemplates repository.
- Then use the test_dtt2mlab.m file, provide the necessary modifications and execute the file.
- Use the generated result struct (or the saved result.mat file inside results folder) for further analysis.
## Instructions for remote execution from a local machine
- Create the template .xml file
- Use test_dtt2mlab.m to set the new parameters
- Use execute_on_remote_machine.m to run it on a remote machine and fetch the the results.
## ToDo
- Currently only power spectrum measurements are tested.
- Transfer Function measurements to be added soon.