slsDetectorPackage/pyctbgui/tests/unit/data/moench04_start_trigger.alias
Dhanya Thattil 5b61ff24bb
Dev/pyctbgui merge (#960)
* added empty c extension

* added rotation to the decoding

* added color map, options and findex

* minor

* move checks to before acquisition

* added pixel map based decoder

* cleanup

* no thread creation for single thread processing

* added rotation and test to compare

* allow high and low water mark for zmq (also buffer size) for fast readouts

* removed roatation during decoding

* added Transpose to image and invert Y False to invert it

* retains the zoomed state after the first image of gui, catch and display exception if no detector connected

* moved start frame to dockable widget, removed extra frame number label, moved current measurement also to dockable widget, hide frame plot entirely when showing patternviewer

* first image dependin on which plot

* remember settings of main window size and position, dockewidget if docked, its size and posisiotn as well, then update it next time the gui is opened

* change in comment

* using c decoder for moench 04 and matterhorn

* catch exception from invalid image from decoder

* clean up

* update row and col when choosing image type, neeeded to show values

* fix for previous PR

* disable resetting colormap values
keep the range selected for every new acquisition

* fix typos + tested on virtual matterhorn

* minor print

* refactored Slow ADCs Tab

* refactored DAC tab

* refactored power supplies

* refactored signals tab

* refactored transceiver tab

* fix typo

* fix typo2

* remove commented code

* delete commented code

* delete commented code

* delete commented signals code

* remove commented code for transceiver tab

* refactor adc tab

* refactor Pattern Tab

* Refactor transceivers tab (PR#5) (#118)

* refactored transceiver tab

* remove commented code for transceiver tab

---------

Co-authored-by: Erik Frojdh <erik.frojdh@gmail.com>

* refactor adc tab (PR#6) (#119)


* refactor adc tab

* refactored Plot and Acquisition Tabs

* fix the regression issue

* restructure project files

* applying singleton and renaming tabs to services

* working install using pip

* applies singleton to tab classes and remove CI erros

* added pyzmq and pillow

* remove the singleton implementation and keep changes

* fix merge errors in mainWindow

* moved misplaced init file

* rename service to tab

* reorganize imports

* iterate over tabs

* reorder tabs

* add slowadc to the list

* saving changes (buggy)
power supply ui not showing in the gui

* split power supply tab

* fixed tests

* add hardcoded values to defines file

* fix error

* separate power supply

* fix errors for powerSuppliesTab

* split dacs

* split slow adcs

* split signals tab

* added tests for bit_utils

* add slowAdc class to defines

* split transceiver ui file

* split adc.ui

* split pattern ui file

* split plot and acquisition ui file

* added basic test for parsing bit names

* removed redundant code in read_alias_file

* fix dacs ui position

* testing for correct exception

* cmd and args at split

* group radio buttons

* fix comments from PR#1

* show legend

* added python version and dev requirements to setup.py

* fix dac issue

* moved _decoder into pkg

* added inplace build

* removed clear

* fixed dependencies

* make tests run without slsdet

* updated name of action

* define colcount

* fixed loading of alias file

* add yapf and ruff

* apply formatting

* fix E and F rules

* add more ruff rules

* change variable name

* squashing gh debugging commits and add pre-commit

* update label values to mv units

* add hook for yapf

* reconfigure yapf precommit hook

* add format and check_format to makefile

* change gh actions

* update readme

* added check_format

* WIP

* added linting in github action

* updated readme]

* add more control for color choice

* remove useless file

* fix un-updated line after refactoring Defines
BIT0_31_MASK is not found in Defines.signals

* visually improve the interface

* fix last commit

* add only selected plots for legend

* add hide legend button

* change hide legend to show legend
checkbox show legend is checked by default

* add support for saving in numpy

* solve conversations

* fix acq index offset

* fix browse button in pattern error

* fix other browse button errors

* finish tests and add usage.md

* remove buffer

* add file,numpy-like interface and tests

* remove useless .npy files

* subscriptible npz files

* remove useless files

* remove repetetive tests

* save changes

* add mode r+, add with support,remove logging

* remove offset of acqIndex between raw and numpy saving

* fix only saving last frame

* save signals of multiple devices

* add comments and move condition for clearer code

* fix bug when vieweing pattern file

* iterate over enabled and plotted plots

* add padestal substraction to transceiver and analog data

* init pedestal frames to detector.frames

* restore old exception

* add pedestal substraction for digital signals

* remove frames spinbox from plotTab

* remove comments and use str instead of Path

* avoid saving all frames

* correct exception and log error's trace

* add gui tests

* add waveform test

* add pedestal test

* refactor by using fixtures

* add tests for moench analog and pattern

* add pytest-qt to dependencies

* add save and load gui parameters

* remove nohup file

* fix old bug IndexError

* save plot type

* a

* handle canceling load, loading matterhorn pedestal for moench

* remove comparing .png files for pattern test

* save plot type

* red error on status bar when shape mismatch for loaded pedestal

* fix makefile and docstrings

* fix PRs conversation

* move code into different function

* fix wrong function names for power supply

* removed old ctbgui

* removed unnecessary files

---------

Co-authored-by: Erik Frojdh <erik.frojdh@gmail.com>
Co-authored-by: Braham Bechir <braham_b@pc11979.psi.ch>
Co-authored-by: Bechir <bechir.braham@psi.ch>
Co-authored-by: Bechir <bechir.brahem420@gmail.com>
2024-09-10 16:00:04 +02:00

130 lines
2.1 KiB
Plaintext
Executable File

BIT0 gHG
BIT1 DGS6 1
BIT2 pulse
BIT3 DGS7 1
BIT4 clearSSR
BIT5 DGS8 1
BIT6 inSSR
BIT7 DGS9 1
BIT8 clkSSR
BIT9 clk_fb
BIT10 prechargeConnect
BIT11 clk
BIT12 clear
BIT13 shr_out_15
BIT14 bypassCDS
BIT15 Sto2
BIT16 ENprechPre
BIT17 Sto0_bot
BIT18 pulseOFF
BIT19 Sto1
BIT20 BYPASS
BIT21 connCDS
BIT22 Dsg3
BIT23 OutSSRbot
BIT24 resCDS
BIT25 res
BIT26 shr_out_31
BIT27 Dsg1
BIT28 READ
BIT29 Sto0_top
BIT30 resDGS
BIT31 shr_in
BIT48 DGS23 1
BIT49 DGS31 1
BIT50 DGS22 1
BIT51 DGS30 1
BIT52 DGS21 1
BIT53 DGS29 1
BIT54 DGS20 1
BIT55 DGS28 1
BIT56 DGS19 1
BIT57 DGS27 1
BIT58 DGS18 1
BIT59 DGS26 1
BIT60 DGS17 1
BIT61 DGS25 1
BIT62 DGS16 1
BIT63 DGS24 1
#BIT62 dbit_ena
#BIT63 adc_ena
SENSE3 T_boa.(C)
SENSE1 Va+
SENSE6 Vdd_ps
SENSE4 Vsh
SENSE2 Vcc_int
SENSE0 Vcc_iochip
SENSE7 Vcc1.8A
SENSE5 Vcc1.8D
DAC0 VprechPre
DAC1 prechargeV
DAC2 vb_sda
DAC3 vbp_colbuf
DAC4 vcasc_SFP
DAC5 ibias_SFP
DAC6 vIpreCDS
DAC7 vin_com_bot
DAC8 vIpre
DAC9 s2dVinTest
DAC10 VPH
DAC11 vIpreDGS
DAC12 vrefDGS
DAC13 empty13
DAC14 vin_com_top
DAC15 VPL
DAC16 vout_com
DAC17 empty17
ADC0 SCOL9 1
ADC1 SCOL8 1
ADC2 SCOL11 1
ADC3 SCOL10 1
ADC4 SCOL13 1
ADC5 SCOL12 1
ADC6 SCOL15 1
ADC7 SCOL14 1
ADC8 SCOL1 1
ADC9 SCOL0 1
ADC10 SCOL3 1
ADC11 SCOL2 1
ADC12 SCOL5 1
ADC13 SCOL4 1
ADC14 SCOL7 1
ADC15 SCOL6 1
ADC16 SCOL23 1
ADC17 SCOL22 1
ADC18 SCOL21 1
ADC19 SCOL20 1
ADC20 SCOL19 1
ADC21 SCOL18 1
ADC22 SCOL17 1
ADC23 SCOL16 1
ADC24 SCOL31 1
ADC25 SCOL30 1
ADC26 SCOL29 1
ADC27 SCOL28 1
ADC28 SCOL27 1
ADC29 SCOL26 1
ADC30 SCOL25 1
ADC31 SCOL24 1
VA VddA
VB VddPre
VIO VddD
#location of the pattern compiler
#PATCOMPILER /afs/psi.ch/project/sls_det_software/slsDetectorsPackage/slsDetectorSoftware/patternGenerator/generate.sh
PATCOMPILER /afs/psi.ch/project/sls_det_software/sabina/slsDetectorPackage/ctbGui/patternGenerator/generate.sh
#location of the pattern to run
#PATFILE /afs/psi.ch/user/d/dinapoli/jctb/moench02_rob/patterns_newctb/moench02_pulsing_marco.p
#PATFILE /afs/psi.ch/project/sls_det_software/sabina/moench04/patterns/moench04_readout_g4.p
#PATFILE /afs/psi.ch/user/m/maliakal_d/setupfiles/ctb_julian.pat
#PATFILE /tmp/bla.p
#PATFILE /afs/psi.ch/project/mythen/Moench04/moench04_pulsing_readout_g4.p