| 49 | == New script (testing mode for now) == #newscript |
| 50 | |
| 51 | Run {{{~sir/dev/astro/operations/virus_tests.sh <vac|dsf> [-skipip]}}} |
| 52 | |
| 53 | "skipip" only if this test done during night when you done not need that script turn on IP and VG when finished. [[br]] |
| 54 | Script first warm up lamps and entering test mode to sdetermine vorrect exposure time. It will ask for max flux level after each test epposure and will display vorrectd exp time. |
| 55 | |
| 56 | Here is an example DSF run |
| 57 | |
| 58 | {{{ |
| 59 | [astronomer@mcs tmp]$ ~sir/dev/astro/operations/virus_tests.sh dsf -skipip -debug |
| 60 | 2019-11-09T05:35:25 Turn on LDLS |
| 61 | 2019-11-09T05:35:25 Warming up LDLS |
| 62 | 00:00:00 |
| 63 | |
| 64 | LDLS exp time ('next' to exit test mode, 'quit' to exit the script): 1.3 |
| 65 | 2019-11-09T05:37:49 Getting 1 LDLS exposure with 1.3 s |
| 66 | |
| 67 | Max flux from histogram [6515:1] ('next' to exit test mode, 'quit' to exit the script): 64000 |
| 68 | 2019-11-09T05:37:53 exp time is 0.9 |
| 69 | |
| 70 | LDLS exp time ('next' to exit test mode, 'quit' to exit the script): next |
| 71 | |
| 72 | Run exposure? [Y/N]:y |
| 73 | 2019-11-09T05:37:59 Getting 2 LDLS exposures with 0.9 s |
| 74 | 2019-11-09T05:37:59 Finishing work |
| 75 | }}} |