A small package contains most useful QCAT interfaces
Project description
Example Package
This is a simple example package. You can use Github-flavored Markdown to write your content.
Test function to print out all list items in list recursively
def printOutAllListItems(curList):
Function to print out the value of strItem in a well formatted list
curList: List to find out the value
strItem: matching string used to find the value
length: the number of list elements after the matching string of strItem
example: printOutListItemValue(curList,"featureGroupIndRel10-v1060",4) will return '00000000 00101000 00000000 00000000'B
def printOutListItemValue(curList, strItem, length=1):
def printOutFGIValue(curList, strItem, length=1):
use qcat client to merge multiple logs into single
input: a string with all logs path combined together
could be qmdl, isf, dlf, qmdl2, even mixed. for now will support only 1 format at a time.
output: path to save the merged log.
could be isf, dlf, TXT; details see QCAT6 User Guide <<80-V1233-6 T>>
def qcat_merge_log(targetLogPath, mergedLogPath, filterList = None):
Use qcat to parse log file into TXT
logpath: path of log to be parsed
filterList: special mask IDs in a line to be filtered out, example: 0x147E
parsedFile: output txt
def qcat_parse_log(logpath, filterList, parsedFile):
Use qcat to parse log file into TXT
logpath: path of log to be parsed
filterList: special mask IDs in a line to be filtered out, example: 0x147E
parsedFile: output txt
def qcat_filter_log(logpath, filterList, parsedFile):
test for another method, specific for "UECapabilityInformation"
def qcat_parse_per_log_package(logpath, filterID, filterStr, parsedFile):
filter special lines contain a list of words, example: ["l_PgaGain", "q_AdcAmpIp1mV"]
def findandsavelogs(substr, infile, outfile):
def getTimeListFromLog(logfile):
find out words contains time format string, example: '20:56:13.945',
and return the list of time
def getTimeFromLog(logfile, id):
find out words contains a value after a name example: q_AdcAmpIp1mV = 111,
and return the list of value
def getSpecialPointFromLog(logfile, id):
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for QCAT_Basic-0.0.4-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4cb4a69b6898569b2907dad31469a89ddcc54372a4a69974c3a91cd9ef3c0223 |
|
MD5 | bcc5177a07d4641ba9d5bd02b40c95b9 |
|
BLAKE2b-256 | f8d683d7d0e930325960c2b3aee1323c447de6de5fe84388d4499011621bd412 |