##// END OF EJS Templates
3.0.0.21...
3.0.0.21 modification in snapshot synchro (some intervals were incorrect) but this was not detectable with the configurations used for the tests values < 22 are forbidden for the snapshot period

File last commit:

r103:b24459a013ed VHDLib206
r275:7563e13131aa R3a
Show More
load_spectral_matrix.py
21 lines | 543 B | text/x-python | PythonLexer
/ FSW-qt / bin / load_spectral_matrix.py
paul
Added a few files to the repository
r101 #!/usr/bin/lppmon -e
address_to_read = 0x80000f08
val = RMAPPlugin0.Read( address_to_read, 1)
matrixF0_Address0 = val[0]
print hex(matrixF0_Address0)
# BUILD THE DATA
dataToWrite = []
paul
the function asm_reorganize format the spectral matrix to the ICD format
r103 dataToWrite.append( 0x1234abcd )
dataToWrite.append( 0x4321dcba )
paul
Added a few files to the repository
r101
paul
the function asm_reorganize format the spectral matrix to the ICD format
r103 for component in range(25):
for frequencyBin in range (64):
dataToWrite.append( component + frequencyBin )
for frequencyBin in range (64):
dataToWrite.append( - (component + frequencyBin) )
paul
Bug #60 corrected...
r102
paul
Added a few files to the repository
r101 # WRITE THE DATA
print len(dataToWrite)
RMAPPlugin0.Write( matrixF0_Address0, dataToWrite )