28 KiB
Executable File
Command line to Python
If you are already familiar with the command line interface to the slsDetectorSoftware here is a quick reference translating to Python commands
Commands labeled Mythen only or Gotthard only are currently not implemented in the Python class. If you need this functionallity please contact the SLS Detector Group
Commands
| Command | Python | Implementation | Tests |
|---|---|---|---|
| sls_detector_acquire | Detector.acq |
|
|
| test | Deprecated/Internal |
|
|
| help | help(Detector.acq) |
|
|
| exitserver | Deprecated/Internal |
|
|
| exitreceiver | Deprecated/Internal |
|
|
| flippeddatay | Detector.flipped_data_y |
|
|
| digitest | Deprecated/Internal |
|
|
| bustest | Deprecated/Internal |
|
|
| digibittest | Which detector? |
|
|
| reg | Detector.register |
|
|
| adcreg | DetectorApi.writeAdcRegister |
|
|
| setbit | DetectorApi.setBitInRegister |
|
|
| clearbit | DetectorApi.clearBitInRegister |
|
|
| getbit | Not implemented |
|
|
| r_compression | Not implemented in receiver |
|
|
| acquire | Detector.acq |
|
|
| busy | Detector.busy |
|
|
| status | Detector.status |
|
|
| status start | Detector.start_detector |
|
|
| status stop | Detector.stop_detector |
|
|
| data | Deprecated/Internal |
|
|
| frame | Deprecated/Internal |
|
|
| readctr | Gotthard only |
|
|
| resetctr | Gotthard only |
|
|
| resmat | Eiger.eiger_matrix_reset |
|
|
| free | Detector.free_shared_memory |
|
|
| hostname | Detector.hostname |
|
|
| add | Not implemented |
|
|
| replace | Not implemented |
|
|
| user | Not implemented |
|
|
| master | Not implemented |
|
|
| sync | Which detector? |
|
|
| online | Detector.online |
|
|
| checkonline | Not implemented |
|
|
| activate | Eiger.active |
|
|
| nmod | Detector.n_modules |
|
|
| maxmod | Deprecated/Internal |
|
|
| dr | Detector.dynamic_range |
|
|
| roi | Gotthard only |
|
|
| detsizechan | Detector.image_size |
|
|
| roimask | Not implemented |
|
|
| flippeddatax | Detector.flipped_data_x |
|
|
| tengiga | Eiger.tengiga |
|
|
| gappixels | Eiger.add_gappixels |
|
|
| flags | Detector.flags |
|
|
| extsig | Mythen and Gotthard only |
|
|
| programfpga | Jungfrau only |
|
|
| resetfpga | Jungfrau only |
|
|
| powerchip | Jungfrau.powerchip |
|
|
| led | Not implemented |
|
|
| auto_comp_disable | Jungfrau only |
|
|
| pulse | Used in Eiger.pulse_all_pixels |
|
|
| pulsenmove | Used in Eiger.pulse_all_pixels |
|
|
| pulsechip | Eiger.pulse_chip |
|
|
| checkdetversion | Detector.api_compatibility |
|
|
| checkrecversion | Detector.api_compatibility |
|
|
| moduleversion | Mythen only |
|
|
| detectornumber | Detector.detector_number |
|
|
| modulenumber | Mythen only |
|
|
| detectorversion | Detector.firmware_version |
|
|
| softwareversion | Detector.server_version |
|
|
| thisversion | Detector.client_version |
|
|
| receiverversion | Detector.receiver_version |
|
|
| timing | Detector.timing_mode |
|
|
| exptime | Detector.exposure_time |
|
|
| subexptime | Detector.sub_exposure_time |
|
|
| period | Detector.period |
|
|
| subdeadtime | Eiger.sub_deadtime |
|
|
| delay | Jungfrau.delay |
|
|
| gates | Jungfrau.n_gates |
|
|
| frames | Detector.n_frames |
|
|
| cycles | Detector.n_cycles |
|
|
| probes | Jungfrau.n_probes |
|
|
| measurements | Detector.n_measurements |
|
|
| samples | Chip test board only (new?) |
|
|
| storagecells | Jungfrau.n_storagecells |
|
|
| storagecell_start | Jungfrau.storagecell_start |
|
|
| exptimel | Mythen and Gotthard only |
|
|
| periodl | Mythen and Gotthard only |
|
|
| delayl | Mythen and Gotthard only |
|
|
| gatesl | Mythen and Gotthard only |
|
|
| framesl | Mythen and Gotthard only |
|
|
| cyclesl | Mythen and Gotthard only |
|
|
| probesl | Mythen and Gotthard only |
|
|
| now | Not implemented |
|
|
| timestamp | Mythen only |
|
|
| nframes | Not implemented |
|
|
| measuredperiod | Detector.measured_period |
|
|
| measuredsubperiod | Detector.measured_subperiod |
|
|
| clkdivider | Detector.readout_clock |
|
|
| setlength | Mythen only |
|
|
| waitstates | Mythen only |
|
|
| totdivider | Mythen only |
|
|
| totdutycycle | Mythen only |
|
|
| phasestep | Gotthard only |
|
|
| oversampling | New chip test board only |
|
|
| adcclk | New chip test board only |
|
|
| adcphase | New chip test board only |
|
|
| adcpipeline | New chip test board only |
|
|
| dbitclk | New chip test board only |
|
|
| dbitphase | New chip test board only |
|
|
| dbitpipeline | New chip test board only |
|
|
| config | Detector.load_config |
|
|
| rx_printconfig | Not implemented |
|
|
| parameters | Detector.load_parameters |
|
|
| setup | Not implemented |
|
|
| flatfield | Not implemented |
|
|
| ffdir | Not implemented |
|
|
| ratecorr | Detector.rate_correction |
|
|
| badchannels | Not implemented |
|
|
| angconv | Mythen only |
|
|
| globaloff | Not implemented |
|
|
| fineoff | Not implemented |
|
|
| binsize | Not implemented |
|
|
| angdir | Not implemented |
|
|
| moveflag | Not implemented |
|
|
| samplex | Not implemented |
|
|
| sampley | Not implemented |
|
|
| threaded | Detector.threaded |
|
|
| darkimage | Not implemented |
|
|
| gainimage | Not implemented |
|
|
| settingsdir | Detector.settings_path |
|
|
| trimdir | Not implemented |
|
|
| caldir | Not implemented |
|
|
| trimen | Detector.trimmed_energies |
|
|
| settings | Detector.settings |
|
|
| threshold | Detector.threshold |
|
|
| thresholdnotb | Not implemented |
|
|
| trimbits | Detector.load_trimbits |
|
|
| trim | Not implemented |
|
|
| trimval | Detector.trimbits |
|
|
| pedestal | Not implemented |
|
|
| vthreshold | Detector.vthreshold |
|
|
| vcalibration | Not implemented |
|
|
| vtrimbit | Not implemented |
|
|
| vpreamp | Not implemented |
|
|
| vshaper1 | Not implemented |
|
|
| vshaper2 | Not implemented |
|
|
| vhighvoltage | Detector.high_voltage |
|
|
| vapower | Not implemented |
|
|
| vddpower | Not implemented |
|
|
| vshpower | Not implemented |
|
|
| viopower | Not implemented |
|
|
| vref_ds | Jungfrau.dacs.vref_ds |
|
|
| vcascn_pb | Not implemented |
|
|
| vcascp_pb | Not implemented |
|
|
| vout_cm | Not implemented |
|
|
| vcasc_out | Not implemented |
|
|
| vin_cm | Not implemented |
|
|
| vref_comp | Not implemented |
|
|
| ib_test_c | Not implemented |
|
|
| dac0 | Not implemented |
|
|
| dac1 | Not implemented |
|
|
| dac2 | Not implemented |
|
|
| dac3 | Not implemented |
|
|
| dac4 | Not implemented |
|
|
| dac5 | Not implemented |
|
|
| dac6 | Not implemented |
|
|
| dac7 | Not implemented |
|
|
| vsvp | Eiger.dacs.vsvp |
|
|
| vsvn | Eiger.dacs.vsvn |
|
|
| vtr | Eiger.dacs.vtr |
|
|
| vrf | Eiger.dacs.vrf |
|
|
| vrs | Eiger.dacs.vrs |
|
|
| vtgstv | Eiger.dacs.vtgstv |
|
|
| vcmp_ll | Eiger.dacs.vcmp_ll |
|
|
| vcmp_ll | Eiger.dacs.vcmp_ll |
|
|
| vcall | Eiger.dacs.vcall |
|
|
| vcmp_rl | Eiger.dacs.vcmp_rl |
|
|
| vcmp_rr | Eiger.dacs.vcmp_rr |
|
|
| rxb_rb | Eiger.dacs.rxb_rb |
|
|
| rxb_lb | Eiger.dacs.rxb_lb |
|
|
| vcp | Eiger.dacs.vcp |
|
|
| vcn | Eiger.dacs.vcn |
|
|
| vis | Eiger.dacs.vis |
|
|
| iodelay | Eiger.dacs.iodelay |
|
|
| dac | Not implemented |
|
|
| adcvpp | Not implemented |
|
|
| v_a | Not implemented |
|
|
| v_b | Not implemented |
|
|
| v_c | Not implemented |
|
|
| v_d | Not implemented |
|
|
| v_io | Not implemented |
|
|
| v_chip | Not implemented |
|
|
| v_limit | Not implemented |
|
|
| vIpre | Not implemented |
|
|
| VcdSh | Not implemented |
|
|
| Vth1 | Not implemented |
|
|
| Vth2 | Not implemented |
|
|
| Vth3 | Not implemented |
|
|
| VPL | Not implemented |
|
|
| Vtrim | Not implemented |
|
|
| vIbias | Not implemented |
|
|
| vIinSh | Not implemented |
|
|
| cas | Not implemented |
|
|
| casSh | Not implemented |
|
|
| vIbiasSh | Not implemented |
|
|
| vIcin | Not implemented |
|
|
| vIpreOut | Not implemented |
|
|
| temp_adc | Not implemented |
|
|
| temp_fpga | Detector.temp.fpga |
|
|
| temp_fpgaext | Detector.temp.fpgaext |
|
|
| temp_10ge | Detector.temp.t10ge |
|
|
| temp_dcdc | Detector.temp.dcdc |
|
|
| temp_sodl | Detector.temp.sodl |
|
|
| temp_sodr | Detector.temp.sodr |
|
|
| adc | Not implemented |
|
|
| temp_fpgafl | Detector.temp.fpgafl |
|
|
| temp_fpgafr | Detector.temp.fpgafr |
|
|
| i_a | Not implemented |
|
|
| i_b | Not implemented |
|
|
| i_c | Not implemented |
|
|
| i_d | Not implemented |
|
|
| i_io | Not implemented |
|
|
| vm_a | Not implemented |
|
|
| vm_b | Not implemented |
|
|
| vm_c | Not implemented |
|
|
| vm_d | Not implemented |
|
|
| vm_io | Not implemented |
|
|
| temp_threshold | Jungfrau.temperature_threshold |
|
|
| temp_control | Jungfrau.temperature_control |
|
|
| temp_event | Jungfrau.temperature_event |
|
|
| outdir | Detector.file_path |
|
|
| fname | Detector.file_name |
|
|
| index | Detector.file_index |
|
|
| enablefwrite | Detector.file_write |
|
|
| overwrite | Detector.file_overwrite |
|
|
| currentfname | Not implemented |
|
|
| fileformat | Detector.file_format |
|
|
| positions | Deprecated/Internal |
|
|
| startscript | Deprecated/Internal |
|
|
| startscriptpar | Deprecated/Internal |
|
|
| stopscript | Deprecated/Internal |
|
|
| stopscriptpar | Deprecated/Internal |
|
|
| scriptbefore | Deprecated/Internal |
|
|
| scriptbeforepar | Deprecated/Internal |
|
|
| scriptafter | Deprecated/Internal |
|
|
| scriptafterpar | Deprecated/Internal |
|
|
| headerafter | Deprecated/Internal |
|
|
| headerbefore | Deprecated/Internal |
|
|
| headerbeforepar | Deprecated/Internal |
|
|
| headerafterpar | Deprecated/Internal |
|
|
| encallog | Deprecated/Internal |
|
|
| angcallog | Deprecated/Internal |
|
|
| scan0script | Deprecated/Internal |
|
|
| scan0par | Deprecated/Internal |
|
|
| scan0prec | Deprecated/Internal |
|
|
| scan0steps | Deprecated/Internal |
|
|
| scan0range | Deprecated/Internal |
|
|
| scan1script | Deprecated/Internal |
|
|
| scan1par | Deprecated/Internal |
|
|
| scan1prec | Deprecated/Internal |
|
|
| scan1steps | Deprecated/Internal |
|
|
| scan1range | Deprecated/Internal |
|
|
| rx_hostname | Detector.rx_hostname |
|
|
| rx_udpip | Detector.rx_udpip |
|
|
| rx_udpmac | Detector.rx_udpmac |
|
|
| rx_udpport | Detector.rx_udpport |
|
|
| rx_udpport2 | Detector.rx_udpport |
|
|
| rx_udpsocksize | Detector.rx_udpsocksize |
|
|
| rx_realudpsocksize | Detector.rx_realudpsocksize |
|
|
| detectormac | Detector.detector_mac |
|
|
| detectorip | Detector.detector_ip |
|
|
| txndelay_left | Eiger.delay.left |
|
|
| txndelay_right | Eiger.delay.right |
|
|
| txndelay_frame | Eiger.delay.frame |
|
|
| flowcontrol_10g | Eiger.flowcontrol_10g |
|
|
| zmqport | Detector.client_zmqport |
|
|
| rx_zmqport | Detector.rx_zmqport |
|
|
| rx_datastream | Detector.rx_datastream |
|
|
| zmqip | Detector.client_zmqip |
|
|
| rx_zmqip | Detector.rx_zmqip |
|
|
| rx_jsonaddheader | Detector.rx_jsonaddheader |
|
|
| configuremac | Detector.config_network |
|
|
| rx_tcpport | Detector.rx_tcpport |
||
| port | Not implemented |
|
|
| stopport | Not implemented |
|
|
| lock | Detector.lock |
|
|
| lastclient | Detector.last_client_ip |
|
|
| receiver start | Detector.start_receiver |
|
|
| receiver stop | Detector.stop_receiver |
|
|
| r_online | Detector.receiver_online |
|
|
| r_checkonline | Not implemented |
|
|
| framescaught | Detector.frames_caught |
|
|
| resetframescaught | Detector.reset_frames_caught |
|
|
| frameindex | Detector.receiver_frame_index |
|
|
| r_lock | Detector.lock_receiver |
|
|
| r_lastclient | Detector.receiver_last_client_ip |
|
|
| r_readfreq | Not implemented |
|
|
| rx_fifodepth | Detector.rx_fifodepth |
|
|
| r_silent | Not implemented |
|
|
| r_framesperfile | Detector.n_frames_per_file |
|
|
| r_discardpolicy | Detector.frame_discard_policy |
|
|
| r_padding | Detector.file_padding |
|
|
| adcinvert | Chip test board only |
|
|
| adcdisable | Chip test board only |
|
|
| pattern | Chip test board only |
|
|
| patword | Chip test board only |
|
|
| patioctrl | Chip test board only |
|
|
| patclkctrl | Chip test board only |
|
|
| patlimits | Chip test board only |
|
|
| patloop0 | Chip test board only |
|
|
| patnloop0 | Chip test board only |
|
|
| patwait0 | Chip test board only |
|
|
| patwaittime0 | Chip test board only |
|
|
| patloop1 | Chip test board only |
|
|
| patnloop1 | Chip test board only |
|
|
| patwait1 | Chip test board only |
|
|
| patwaittime1 | Chip test board only |
|
|
| patloop2 | Chip test board only |
|
|
| patnloop2 | Chip test board only |
|
|
| patwait2 | Chip test board only |
|
|
| patwaittime2 | Chip test board only |
|
|
| dut_clk | Chip test board only |
|
|