pymepix package¶
Subpackages¶
- pymepix.SPIDR package
- Submodules
- pymepix.SPIDR.error module
PymePixException
SPIDRErrorDefs
SPIDRErrorDefs.ERR_ADC_HARDW
SPIDRErrorDefs.ERR_DAC_HARDW
SPIDRErrorDefs.ERR_FLASH_STORAGE
SPIDRErrorDefs.ERR_ILLEGAL_PAR
SPIDRErrorDefs.ERR_MONITOR
SPIDRErrorDefs.ERR_MON_HARDW
SPIDRErrorDefs.ERR_MSG_LENGTH
SPIDRErrorDefs.ERR_NONE
SPIDRErrorDefs.ERR_NOT_IMPLEMENTED
SPIDRErrorDefs.ERR_SEQUENCE
SPIDRErrorDefs.ERR_TPX3_HARDW
SPIDRErrorDefs.ERR_UNKNOWN_CMD
- pymepix.SPIDR.spidrcmds module
SpidrCmds
SpidrCmds.CMD_AUTOTRIG_START
SpidrCmds.CMD_AUTOTRIG_STOP
SpidrCmds.CMD_BIAS_SUPPLY_ENA
SpidrCmds.CMD_BURN_EFUSE
SpidrCmds.CMD_CLEAR_BUSY
SpidrCmds.CMD_CONFIG_CTPR
SpidrCmds.CMD_DDRIVEN_READOUT
SpidrCmds.CMD_DECODERS_ENA
SpidrCmds.CMD_DISPLAY_INFO
SpidrCmds.CMD_ERASE_ADDRPORTS
SpidrCmds.CMD_ERASE_DACS
SpidrCmds.CMD_ERASE_PIXCONF
SpidrCmds.CMD_ERASE_REGISTERS
SpidrCmds.CMD_GET_ADC
SpidrCmds.CMD_GET_AVDD
SpidrCmds.CMD_GET_AVDD_NOW
SpidrCmds.CMD_GET_BOARDID
SpidrCmds.CMD_GET_CHIPBOARDID
SpidrCmds.CMD_GET_CTPR
SpidrCmds.CMD_GET_DAC
SpidrCmds.CMD_GET_DEVICECOUNT
SpidrCmds.CMD_GET_DEVICEID
SpidrCmds.CMD_GET_DEVICEIDS
SpidrCmds.CMD_GET_DEVICEPORT
SpidrCmds.CMD_GET_DVDD
SpidrCmds.CMD_GET_DVDD_NOW
SpidrCmds.CMD_GET_EFUSES
SpidrCmds.CMD_GET_EXTSHUTTERCNTR
SpidrCmds.CMD_GET_FANSPEED
SpidrCmds.CMD_GET_FIRMWVERSION
SpidrCmds.CMD_GET_FPGATEMP
SpidrCmds.CMD_GET_GENCONFIG
SpidrCmds.CMD_GET_GPIO
SpidrCmds.CMD_GET_HEADERFILTER
SpidrCmds.CMD_GET_HUMIDITY
SpidrCmds.CMD_GET_IPADDR_DEST
SpidrCmds.CMD_GET_IPADDR_SRC
SpidrCmds.CMD_GET_LOCALTEMP
SpidrCmds.CMD_GET_OUTBLOCKCONFIG
SpidrCmds.CMD_GET_PIXCONF
SpidrCmds.CMD_GET_PLLCONFIG
SpidrCmds.CMD_GET_PRESSURE
SpidrCmds.CMD_GET_PWRPULSECONFIG
SpidrCmds.CMD_GET_READOUTSPEED
SpidrCmds.CMD_GET_REMOTETEMP
SpidrCmds.CMD_GET_SERVERPORT
SpidrCmds.CMD_GET_SHUTTERCNTR
SpidrCmds.CMD_GET_SHUTTEREND
SpidrCmds.CMD_GET_SHUTTERSTART
SpidrCmds.CMD_GET_SLVSCONFIG
SpidrCmds.CMD_GET_SOFTWVERSION
SpidrCmds.CMD_GET_SPIDRREG
SpidrCmds.CMD_GET_SPIDR_ADC
SpidrCmds.CMD_GET_STARTOPTS
SpidrCmds.CMD_GET_TIMER
SpidrCmds.CMD_GET_TPNUMBER
SpidrCmds.CMD_GET_TPPERIODPHASE
SpidrCmds.CMD_GET_TRIGCONFIG
SpidrCmds.CMD_GET_VDD
SpidrCmds.CMD_GET_VDD_NOW
SpidrCmds.CMD_MASK
SpidrCmds.CMD_NOP
SpidrCmds.CMD_NOREPLY
SpidrCmds.CMD_PAUSE_READOUT
SpidrCmds.CMD_PWRPULSE_ENA
SpidrCmds.CMD_READ_FLASH
SpidrCmds.CMD_REINIT_DEVICE
SpidrCmds.CMD_REINIT_DEVICES
SpidrCmds.CMD_REPLY
SpidrCmds.CMD_RESET_COUNTERS
SpidrCmds.CMD_RESET_DEVICE
SpidrCmds.CMD_RESET_DEVICES
SpidrCmds.CMD_RESET_MODULE
SpidrCmds.CMD_RESET_PIXELS
SpidrCmds.CMD_RESET_TIMER
SpidrCmds.CMD_RESTART_TIMERS
SpidrCmds.CMD_SELECT_CHIPBOARD
SpidrCmds.CMD_SEQ_READOUT
SpidrCmds.CMD_SET_BIAS_ADJUST
SpidrCmds.CMD_SET_BOARDID
SpidrCmds.CMD_SET_BUSY
SpidrCmds.CMD_SET_CHIPBOARDID
SpidrCmds.CMD_SET_CTPR
SpidrCmds.CMD_SET_CTPR_LEON
SpidrCmds.CMD_SET_DAC
SpidrCmds.CMD_SET_DACS_DFLT
SpidrCmds.CMD_SET_EXTDAC
SpidrCmds.CMD_SET_FANSPEED
SpidrCmds.CMD_SET_GENCONFIG
SpidrCmds.CMD_SET_GPIO
SpidrCmds.CMD_SET_GPIO_PIN
SpidrCmds.CMD_SET_HEADERFILTER
SpidrCmds.CMD_SET_IPADDR_DEST
SpidrCmds.CMD_SET_IPADDR_SRC
SpidrCmds.CMD_SET_LOGLEVEL
SpidrCmds.CMD_SET_OUTBLOCKCONFIG
SpidrCmds.CMD_SET_OUTPUTMASK
SpidrCmds.CMD_SET_PIXCONF
SpidrCmds.CMD_SET_PLLCONFIG
SpidrCmds.CMD_SET_PWRPULSECONFIG
SpidrCmds.CMD_SET_READOUTSPEED
SpidrCmds.CMD_SET_SENSEDAC
SpidrCmds.CMD_SET_SERVERPORT
SpidrCmds.CMD_SET_SLVSCONFIG
SpidrCmds.CMD_SET_SPIDRREG
SpidrCmds.CMD_SET_TIMEOFDAY
SpidrCmds.CMD_SET_TIMER
SpidrCmds.CMD_SET_TPNUMBER
SpidrCmds.CMD_SET_TPPERIODPHASE
SpidrCmds.CMD_SET_TRIGCONFIG
SpidrCmds.CMD_STORE_ADDRPORTS
SpidrCmds.CMD_STORE_DACS
SpidrCmds.CMD_STORE_PIXCONF
SpidrCmds.CMD_STORE_REGISTERS
SpidrCmds.CMD_STORE_STARTOPTS
SpidrCmds.CMD_T0_SYNC
SpidrCmds.CMD_TPX_POWER_ENA
SpidrCmds.CMD_UPLOAD_PACKET
SpidrCmds.CMD_VALID_ADDRPORTS
SpidrCmds.CMD_VALID_DACS
SpidrCmds.CMD_VALID_PIXCONF
SpidrCmds.CMD_VALID_REGISTERS
SpidrCmds.CMD_WRITE_FLASH
- pymepix.SPIDR.spidrcontroller module
SPIDRController
SPIDRController.CpuToTpx
SPIDRController.DeviceAndPorts
SPIDRController.ShutterTriggerCount
SPIDRController.ShutterTriggerCtrl
SPIDRController.ShutterTriggerDelay
SPIDRController.ShutterTriggerFreq
SPIDRController.ShutterTriggerLength
SPIDRController.ShutterTriggerMode
SPIDRController.TdcTriggerCounter
SPIDRController.UdpMonPacketCounter
SPIDRController.UdpPacketCounter
SPIDRController.UdpPausePacketCounter
SPIDRController.avdd
SPIDRController.avddNow
SPIDRController.biasVoltage
SPIDRController.boardFanSpeed
SPIDRController.chipboardFanSpeed
SPIDRController.chipboardId
SPIDRController.clearBusy()
SPIDRController.closeShutter()
SPIDRController.convertHtonl()
SPIDRController.convertNtohl()
SPIDRController.datadrivenReadout()
SPIDRController.deviceCount
SPIDRController.deviceIds
SPIDRController.disableExternalRefClock()
SPIDRController.disablePeriphClk80Mhz()
SPIDRController.dvdd
SPIDRController.dvddNow
SPIDRController.enableDecoders()
SPIDRController.enableExternalRefClock()
SPIDRController.enablePeriphClk80Mhz()
SPIDRController.externalShutterCounter
SPIDRController.firmwareVersion
SPIDRController.fpgaTemperature
SPIDRController.getAdc()
SPIDRController.getSpidrReg()
SPIDRController.humidity
SPIDRController.linkCounts
SPIDRController.localTemperature
SPIDRController.openShutter()
SPIDRController.pauseReadout()
SPIDRController.prepare()
SPIDRController.pressure
SPIDRController.reinitDevices()
SPIDRController.remoteTemperature
SPIDRController.request()
SPIDRController.requestGetBytes()
SPIDRController.requestGetInt()
SPIDRController.requestGetIntBytes()
SPIDRController.requestGetInts()
SPIDRController.requestSetInt()
SPIDRController.requestSetIntBytes()
SPIDRController.requestSetInts()
SPIDRController.resetCounters()
SPIDRController.resetDevices()
SPIDRController.resetModule()
SPIDRController.resetPacketCounters()
SPIDRController.resetTimers()
SPIDRController.restartTimers()
SPIDRController.sequentialReadout()
SPIDRController.setBiasSupplyEnable()
SPIDRController.setBusy()
SPIDRController.setPowerPulseEnable()
SPIDRController.setShutterTriggerConfig()
SPIDRController.setSpidrReg()
SPIDRController.setTpxPowerPulseEnable()
SPIDRController.shutterCounter
SPIDRController.shutterTriggerConfig
SPIDRController.softwareVersion
SPIDRController.startAutoTrigger()
SPIDRController.stopAutoTrigger()
SPIDRController.vdd
SPIDRController.vddNow
main()
- pymepix.SPIDR.spidrdefs module
SpidrReadoutSpeed
SpidrRegs
SpidrRegs.SPIDR_CPU2TPX_WR_I
SpidrRegs.SPIDR_DEVICES_AND_PORTS_I
SpidrRegs.SPIDR_FE_GTX_CTRL_STAT_I
SpidrRegs.SPIDR_IPMUX_CONFIG_I
SpidrRegs.SPIDR_PIXEL_FILTER_I
SpidrRegs.SPIDR_PIXEL_PKTCOUNTER_I
SpidrRegs.SPIDR_PIXEL_PKTCOUNTER_OLD_I
SpidrRegs.SPIDR_SHUTTERTRIG_CNT_I
SpidrRegs.SPIDR_SHUTTERTRIG_CTRL_I
SpidrRegs.SPIDR_SHUTTERTRIG_DELAY_I
SpidrRegs.SPIDR_SHUTTERTRIG_FREQ_I
SpidrRegs.SPIDR_SHUTTERTRIG_LENGTH_I
SpidrRegs.SPIDR_TDC_TRIGGERCOUNTER_I
SpidrRegs.SPIDR_UDPMON_PKTCOUNTER_I
SpidrRegs.SPIDR_UDPPAUSE_PKTCOUNTER_I
SpidrRegs.SPIDR_UDP_PKTCOUNTER_I
SpidrShutterMode
- pymepix.SPIDR.spidrdevice module
SpidrDevice
SpidrDevice.TpPeriodPhase
SpidrDevice.clearPixelConfig()
SpidrDevice.columnTestPulseRegister
SpidrDevice.deviceId
SpidrDevice.devicePort
SpidrDevice.genConfig
SpidrDevice.getDac()
SpidrDevice.getDacOut()
SpidrDevice.getPixelConfig()
SpidrDevice.headerFilter
SpidrDevice.ipAddrDest
SpidrDevice.ipAddrSrc
SpidrDevice.linkStatus
SpidrDevice.outBlockConfig
SpidrDevice.pixelPacketCounter
SpidrDevice.pllConfig
SpidrDevice.powerPulseConfig
SpidrDevice.readoutSpeed
SpidrDevice.reinitDevice()
SpidrDevice.reset()
SpidrDevice.resetPixelConfig()
SpidrDevice.resetPixels()
SpidrDevice.serverPort
SpidrDevice.setDac()
SpidrDevice.setDacDefault()
SpidrDevice.setExternalDac()
SpidrDevice.setHeaderFilter()
SpidrDevice.setOutputMask()
SpidrDevice.setPixelMask()
SpidrDevice.setPixelTestBit()
SpidrDevice.setPixelThreshold()
SpidrDevice.setSenseDac()
SpidrDevice.setSinglePixelMask()
SpidrDevice.setSinglePixelTestBit()
SpidrDevice.setSinglePixelThreshold()
SpidrDevice.setTpPeriodPhase()
SpidrDevice.shutterEnd
SpidrDevice.shutterStart
SpidrDevice.slaveConfig
SpidrDevice.t0Sync()
SpidrDevice.timer
SpidrDevice.tpNumber
SpidrDevice.uploadPacket()
SpidrDevice.uploadPixelConfig()
- Module contents
- pymepix.TPX4 package
- Submodules
- pymepix.TPX4.tpx4chipdevice module
- pymepix.TPX4.tpx4controller module
Timepix4Controller
Timepix4Controller.boardFanSpeed
Timepix4Controller.chipboardFanSpeed
Timepix4Controller.closeShutter()
Timepix4Controller.deviceCount
Timepix4Controller.fpgaTemperature
Timepix4Controller.humidity
Timepix4Controller.localTemperature
Timepix4Controller.openShutter()
Timepix4Controller.prepare()
Timepix4Controller.pressure
Timepix4Controller.remoteTemperature
Timepix4Controller.resetTimers()
Timepix4Controller.restartTimers()
Timepix4Controller.setBiasSupplyEnable()
Timepix4Controller.setShutterTriggerConfig()
- Module contents
- pymepix.channel package
- pymepix.clustering package
- pymepix.config package
- pymepix.core package
- pymepix.processing package
- Subpackages
- pymepix.processing.logic package
- Submodules
- pymepix.processing.logic.centroid_calculator module
- pymepix.processing.logic.datatypes_tpx4 module
- pymepix.processing.logic.packet_processor module
- pymepix.processing.logic.packet_processor_factory module
- pymepix.processing.logic.packet_processor_tpx4 module
- pymepix.processing.logic.processing_step module
- pymepix.processing.logic.shared_processing_parameter module
- Module contents
- pymepix.processing.logic package
- Submodules
- pymepix.processing.acquisition module
- pymepix.processing.baseacquisition module
AcquisitionPipeline
AcquisitionStage
AcquisitionStage.build()
AcquisitionStage.configureStage()
AcquisitionStage.numProcess
AcquisitionStage.outputQueue
AcquisitionStage.processes
AcquisitionStage.setArgs()
AcquisitionStage.stage
AcquisitionStage.start()
AcquisitionStage.startTrainID()
AcquisitionStage.stop()
AcquisitionStage.stopTrainID()
main()
- pymepix.processing.basepipeline module
- pymepix.processing.datatypes module
- pymepix.processing.pipeline_centroid_calculator module
- pymepix.processing.pipeline_packet_processor module
- pymepix.processing.rawfilesampler module
- pymepix.processing.rawtodisk module
- pymepix.processing.udpsampler3 module
- pymepix.processing.udpsampler4 module
- pymepix.processing.usbtrainid module
- Module contents
- Subpackages
- pymepix.util package
Submodules¶
pymepix.main module¶
Main module for pymepix
- class pymepix.main.PostprocessHandler(application: Application, request: HTTPServerRequest, **kwargs: Any)[source]¶
Bases:
RequestHandler
- class pymepix.main.RootHandler(application: Application, request: HTTPServerRequest, **kwargs: Any)[source]¶
Bases:
RequestHandler
- class pymepix.main.TPXmethodHandler(application: Application, request: HTTPServerRequest, **kwargs: Any)[source]¶
Bases:
RequestHandler
pymepix.post_processing module¶
pymepix.pymepix_connection module¶
- class pymepix.pymepix_connection.PymepixConnection(pipeline_class=<class 'pymepix.processing.acquisition.PixelPipeline'>)[source]¶
Bases:
object
High level class to work with timepix and perform acquistion
This class performs connection to SPIDR, initilization of timepix and handling of acquisition. Each individual timepix device can be accessed using the square bracket operator.
- Parameters:
spidr_address (
tuple
ofstr
andint
) – socket style tuple of SPIDR ip address and portsrc_ip_port (
tuple
ofstr
andint
, optional) – socket style tuple of the IP address and port of the interface that is connecting to SPIDR
Examples
Startup device
>>> timepix = PymepixConnection(('192.168.1.10',50000))
Find how many Timepix are connected
>>> len(timepix) 1
Set the Bias voltage >>> timepix.biasVoltage = 50
Access a specific Timepix device:
>>> timepix[0].deviceName W0026_K06
Load a config file into timepix
>>> timepix[0].loadSophyConfig('W0026_K06_50V.spx')
- property biasVoltage¶
Bias voltage in volts
- property chanAddress¶
- property dataCallback¶
Function to call when data is received from a timepix device
This has the effect of disabling polling.
- enablePolling(maxlen=100)[source]¶
Enables polling mode
This clears any user defined callbacks and the polling buffer
- getDevice(num) TimepixDevice [source]¶
- property isAcquiring¶
- property numDevices¶
- poll(block=False)[source]¶
If polling is used, returns data stored in data buffer.
the buffer is in the form of a ring and will overwrite older values if it becomes full
- Return type:
MessageType
, data
- property pollBufferLength¶
Get/Set polling buffer length
Clears buffer on set
pymepix.timepix4def module¶
pymepix.timepix4device module¶
- class pymepix.timepix4device.Timepix4Device(tpx4_device, data_queue, pipeline_class=<class 'pymepix.processing.acquisition.PixelPipeline'>)[source]¶
Bases:
object
Provides a control of a timepix4 object
- property Vthreshold_coarse¶
- property Vthreshold_fine¶
- property acquisition¶
Returns the acquisition object
Can be used to set parameters in the acqusition directly for example, to setup TOF calculation when using a
PixelPipeline
>>> tpx.acqusition.enableEvents False >>> tpx.acquistion.enableEvents = True
- property config¶
- devIdToString()[source]¶
Converts device ID into readable string
- Returns:
Device string identifier
- Return type:
str
- property deviceName¶
- property pixelMask¶
Pixel mask set for timepix device
- Parameters:
value (
numpy.array
ofint
) – 256x256 uint8 threshold mask to set locally- Returns:
Locally stored pixel mask matrix
- Return type:
numpy.array
ofint
orNone
- property pixelTest¶
Pixel test set for timepix device
- Parameters:
value (
numpy.array
ofint
) – 256x256 uint8 pixel test to set locally- Returns:
Locally stored pixel test matrix
- Return type:
numpy.array
ofint
orNone
- property pixelThreshold¶
Threshold set for timepix device
- Parameters:
value (
numpy.array
ofint
) – 256x256 uint8 threshold to set locally- Returns:
Locally stored threshold matrix
- Return type:
numpy.array
ofint
orNone
- setConfigClass(klass: TimepixConfig)[source]¶
- setEthernetFilter(eth_filter)[source]¶
Sets the packet filter, usually set to 0xFFFF to all all packets
pymepix.timepixdef module¶
- class pymepix.timepixdef.DacRegisterCodes(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
Bases:
IntEnum
- Ibias_CP_PLL = 17¶
- Ibias_DiscS1_OFF = 9¶
- Ibias_DiscS1_ON = 8¶
- Ibias_DiscS2_OFF = 11¶
- Ibias_DiscS2_ON = 10¶
- Ibias_Ikrum = 4¶
- Ibias_PixelDAC = 12¶
- Ibias_Preamp_OFF = 2¶
- Ibias_Preamp_ON = 1¶
- Ibias_TPbufferIn = 13¶
- Ibias_TPbufferOut = 14¶
- PLL_Vcntrl = 18¶
- VPreamp_NCAS = 3¶
- VTP_coarse = 15¶
- VTP_fine = 16¶
- Vfbk = 5¶
- Vthreshold_coarse = 7¶
- Vthreshold_fine = 6¶
- class pymepix.timepixdef.GrayCounter(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
Bases:
IntEnum
- Disable = 0¶
- Enable = 8¶
- Mask = 8¶
- class pymepix.timepixdef.OperationMode(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
Bases:
IntEnum
- EventiTot = 4¶
- Mask = 6¶
- ToA = 2¶
- ToAandToT = 0¶
- class pymepix.timepixdef.PacketType(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
Bases:
Enum
- Pixel = 1¶
- Trigger = 0¶
- class pymepix.timepixdef.Polarity(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
Bases:
IntEnum
- Negative = 1¶
- Positive = 0¶
- class pymepix.timepixdef.SuperPixel(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
Bases:
IntEnum
- Disable = 0¶
- Enable = 64¶
- Mask = 64¶
- class pymepix.timepixdef.TestPulse(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
Bases:
IntEnum
- Disable = 0¶
- Enable = 32¶
- Mask = 32¶
- class pymepix.timepixdef.TestPulseDigAnalog(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
Bases:
IntEnum
- DiscriminatorDigital = 512¶
- FrontEndAnalog = 0¶
- Mask = 512¶
- class pymepix.timepixdef.TestPulseGenerator(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
Bases:
IntEnum
- External = 1024¶
- Internal = 0¶
- Mask = 1024¶
pymepix.timepixdevice module¶
- class pymepix.timepixdevice.TimepixDevice(spidr_device, data_queue, pipeline_class=<class 'pymepix.processing.acquisition.PixelPipeline'>)[source]¶
Bases:
object
Provides high level control of a timepix/medipix object
- property Ibias_DiscS1_OFF¶
[0, 15]
- property Ibias_DiscS1_ON¶
[0, 255]
- property Ibias_DiscS2_OFF¶
[0, 15]
- property Ibias_DiscS2_ON¶
[0, 255]
- property Ibias_Ikrum¶
[0, 255]
- property Ibias_PixelDAC¶
[0, 255]
- property Ibias_Preamp_OFF¶
[0, 15]
- property Ibias_Preamp_ON¶
[0, 255]
- property Ibias_TPbufferIn¶
[0, 255]
- property Ibias_TPbufferOut¶
[0, 255]
- property VPreamp_NCAS¶
[0, 255]
- property VTP_coarse¶
[0, 255]
- property VTP_fine¶
[0, 511]
- property Vfbk¶
[0, 255]
- property Vthreshold_coarse¶
[0, 15]
- property Vthreshold_fine¶
[0, 511]
- property acquisition¶
Returns the acquisition object
Can be used to set parameters in the acqusition directly for example, to setup TOF calculation when using a
PixelPipeline
>>> tpx.acqusition.enableEvents False >>> tpx.acquistion.enableEvents = True
- property config¶
- devIdToString()[source]¶
Converts device ID into readable string
- Returns:
Device string identifier
- Return type:
str
- property deviceName¶
- property grayCounter¶
- property maskPixelsJsonable¶
- property operationMode¶
- property pixelMask¶
Pixel mask set for timepix device
- Parameters:
value (
numpy.array
ofint
) – 256x256 uint8 threshold mask to set locally- Returns:
Locally stored pixel mask matrix
- Return type:
numpy.array
ofint
orNone
- property pixelTest¶
Pixel test set for timepix device
- Parameters:
value (
numpy.array
ofint
) – 256x256 uint8 pixel test to set locally- Returns:
Locally stored pixel test matrix
- Return type:
numpy.array
ofint
orNone
- property pixelThreshold¶
Threshold set for timepix device
- Parameters:
value (
numpy.array
ofint
) – 256x256 uint8 threshold to set locally- Returns:
Locally stored threshold matrix
- Return type:
numpy.array
ofint
orNone
- property polarity¶
- setDac(code, value)[source]¶
Sets the DAC parameter using codes
- Parameters:
code (
int
) – DAC code to setvalue (
int
) – value to set
- setupDevice()[source]¶
Sets up valid paramters for acquisition
This will be manual when other acqusition parameters are working
- property superPixel¶
- property testPulse¶
- property testPulseDigitalAnalog¶
- property testPulseGeneratorSource¶
- property timeOfArrivalClock¶
- property timerOverflowControl¶