snAPI package#
Submodules#
- snAPI.Constants module
DeviceType
MeasMode
MeasControl
RefSource
RefSource.Internal
RefSource.External_10MHZ
RefSource.Wr_Master_Generic
RefSource.Wr_Slave_Generic
RefSource.Wr_Grandm_Generic
RefSource.Extn_GPS_PPS
RefSource.Extn_GPS_PPS_UART
RefSource.Wr_Master_Harp
RefSource.Wr_Slave_Harp
RefSource.Wr_Grandm_Harp
RefSource.External_100MHZ
RefSource.External_500MHZ
TrigMode
LogLevel
CoincidenceMode
CoincidenceTime
WRmode
WRstatus
WRstatus.LinkON
WRstatus.LinkUP
WRstatus.ModeBitmask
WRstatus.ModeOff
WRstatus.ModeSlave
WRstatus.ModeMaster
WRstatus.ModeGMaster
WRstatus.LockedCalibrated
WRstatus.PtpBitmask
WRstatus.PtpListening
WRstatus.PtpUncalibratedWRSlaveLock
WRstatus.PtpSlave
WRstatus.PtpMasterWRMasterLock
WRstatus.PtpMaster
WRstatus.ServoBitmask
WRstatus.ServoUninit
WRstatus.ServoSyncSec
WRstatus.ServoSyncNSec
WRstatus.ServoSyncPhase
WRstatus.ServoWaitOffset
WRstatus.ServoTrackPhase
WRstatus.MacSet
WRstatus.IsNew
- snAPI.Main module
snAPI
snAPI.deviceIDs
snAPI.deviceConfig
snAPI.measDescription
snAPI.device
snAPI.filter
snAPI.whiteRabbit
snAPI.unfold
snAPI.raw
snAPI.histogram
snAPI.timeTrace
snAPI.correlation
snAPI.manipulators
snAPI.logPrint()
snAPI.logException()
snAPI.setLogLevel()
snAPI.initAPI()
snAPI.exitAPI()
snAPI.getDeviceIDs()
snAPI.getDevice()
snAPI.getFileDevice()
snAPI.initDevice()
snAPI.closeDevice()
snAPI.setPTUFilePath()
snAPI.loadIniConfig()
snAPI.setIniConfig()
snAPI.getDeviceConfig()
snAPI.getMeasDescription()
snAPI.getCountRates()
snAPI.getSyncPeriod()
snAPI.getNumAllChannels()
Device
Device.setSyncDiv()
Device.setSyncTrigMode()
Device.setSyncEdgeTrig()
Device.setSyncCFD()
Device.setSyncChannelOffset()
Device.setSyncChannelEnable()
Device.setSyncDeadTime()
Device.setInputHysteresis()
Device.setTimingMode()
Device.setStopOverflow()
Device.setBinning()
Device.setOffset()
Device.setHistoLength()
Device.setMeasControl()
Device.setTriggerOutput()
Device.setMarkerEdges()
Device.setMarkerEnable()
Device.setMarkerHoldoffTime()
Device.setOflCompression()
Device.setInputTrigMode()
Device.setInputEdgeTrig()
Device.setInputCFD()
Device.setInputChannelOffset()
Device.setInputChannelEnable()
Device.setInputDeadTime()
Filter
WhiteRabbit
WhiteRabbit.mac
WhiteRabbit.initScript
WhiteRabbit.SFPnames
WhiteRabbit.SFPdTxs
WhiteRabbit.SFPdRxs
WhiteRabbit.SFPalphas
WhiteRabbit.getMAC()
WhiteRabbit.setMAC()
WhiteRabbit.getSFPData()
WhiteRabbit.getInitScript()
WhiteRabbit.setInitScript()
WhiteRabbit.setMode()
WhiteRabbit.getTime()
WhiteRabbit.setTime()
WhiteRabbit.initLink()
WhiteRabbit.getStatus()
WhiteRabbit.getTermOutput()
Raw
Unfold
Histogram
TimeTrace
Correlation
Manipulators
- snAPI.Utils module
Color
Color.Rst
Color.Bla
Color.Red
Color.Gre
Color.Yel
Color.Blu
Color.Pur
Color.Cya
Color.Whi
Color.BBla
Color.BRed
Color.BGre
Color.BYel
Color.BBlu
Color.BPur
Color.BCya
Color.BWhi
Color.UBla
Color.URed
Color.UGre
Color.UYel
Color.UBlu
Color.UPur
Color.UCya
Color.UWhi
Color.IBla
Color.IRed
Color.IGre
Color.IYel
Color.IBlu
Color.IPur
Color.ICya
Color.IWhi
Color.BIBla
Color.BIRed
Color.BIGre
Color.BIYel
Color.BIBlu
Color.BIPur
Color.BICya
Color.BIWhi
Color.On_Bla
Color.On_Red
Color.On_Gre
Color.On_Yel
Color.On_Blu
Color.On_Pur
Color.On_Cya
Color.On_Whi
Color.On_IBla
Color.On_IRed
Color.On_IGre
Color.On_IYel
Color.On_IBlu
Color.On_IPur
Color.On_ICya
Color.On_IWhi