TwiceAsNice
2019-02-18
|
Functions | |
def | connectAdSec (endpoint) |
def | getSlopeData () |
def | getFrameCounters () |
def | extractSlopes () |
Variables | |
level | |
config = Application.config() | |
numberOfDistBlocks = config.node("BCU.IM.MUM_DIST_BLOCK").Int | |
pushpullBlockSize = config.node("BCU.IM.PUSH_PULL_BLOCK_SIZE").Int | |
skip = config.node("ADSEC.SKIP").Int | |
endpoint = config.node("ADSEC.ENDPOINT").String | |
framerate = float(config.node("ADSEC.FRAMERATE").Int) | |
diagChanDecimation = config.node("ADSEC.DECIM").Int | |
RestoreShape = config.node("ADSEC.RESTORE").Bool | |
ShapeFile = config.node("ADSEC.SHAPEFILE").String | |
ovsFactor = config.node("ADSEC.OVS").Float | |
ovs = float(framerate) * ovsFactor | |
int | maxovs = 600 |
bankID = ADSEC.Bank.BankA | |
numberOfModes = config.node("BCU.IM.NUM_MODES").Int | |
prefix = config.node("BCU.PREFIX").String | |
gainVec = None | |
aim = interaction.InteractionMatrix(config.node('BCU')) | |
def | loop = connectAdSec(endpoint) |
string | resultFilePrefix = strftime("%Y-%m-%d-%H-%M", gmtime()) +"_Rot" \ |
def bufferDownloadtest.connectAdSec | ( | endpoint | ) |
Connects to AdSec arbitrator service Parameters ---------- endpoint : string Ice Endpoint of the AdSec ICE interface
def bufferDownloadtest.extractSlopes | ( | ) |
Extracts all disturbance slope frames from the ringbuffer
def bufferDownloadtest.getFrameCounters | ( | ) |
Download the vector of framecounters from the AdSec slope buffer. Returns ------- out : ndarray of frame counters
def bufferDownloadtest.getSlopeData | ( | ) |
Download the complete slope buffer from the AdSec Returns ------- out : ndarray slopes vectors. The slopes are in the order of the bcu output.
bufferDownloadtest.aim = interaction.InteractionMatrix(config.node('BCU')) |
bufferDownloadtest.bankID = ADSEC.Bank.BankA |
bufferDownloadtest.config = Application.config() |
bufferDownloadtest.diagChanDecimation = config.node("ADSEC.DECIM").Int |
bufferDownloadtest.endpoint = config.node("ADSEC.ENDPOINT").String |
bufferDownloadtest.framerate = float(config.node("ADSEC.FRAMERATE").Int) |
bufferDownloadtest.gainVec = None |
bufferDownloadtest.level |
def bufferDownloadtest.loop = connectAdSec(endpoint) |
int bufferDownloadtest.maxovs = 600 |
bufferDownloadtest.numberOfDistBlocks = config.node("BCU.IM.MUM_DIST_BLOCK").Int |
bufferDownloadtest.numberOfModes = config.node("BCU.IM.NUM_MODES").Int |
bufferDownloadtest.ovsFactor = config.node("ADSEC.OVS").Float |
bufferDownloadtest.prefix = config.node("BCU.PREFIX").String |
bufferDownloadtest.pushpullBlockSize = config.node("BCU.IM.PUSH_PULL_BLOCK_SIZE").Int |
bufferDownloadtest.RestoreShape = config.node("ADSEC.RESTORE").Bool |
bufferDownloadtest.ShapeFile = config.node("ADSEC.SHAPEFILE").String |
bufferDownloadtest.skip = config.node("ADSEC.SKIP").Int |