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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file QCAT_Basic-0.0.4.tar.gz.
File metadata
- Download URL: QCAT_Basic-0.0.4.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/2.7.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
894dfc614a0ca94b050e17eed781aa5b512b0c37f75b5af30f0a313b75e48606
|
|
| MD5 |
0dd566b2144778e6534cad065291c7e2
|
|
| BLAKE2b-256 |
42286dbd37030297fc5e8988d075f3e8a925f9a116e9510e8c1f3a3033ee3073
|
File details
Details for the file QCAT_Basic-0.0.4-py2-none-any.whl.
File metadata
- Download URL: QCAT_Basic-0.0.4-py2-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/2.7.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4cb4a69b6898569b2907dad31469a89ddcc54372a4a69974c3a91cd9ef3c0223
|
|
| MD5 |
bcc5177a07d4641ba9d5bd02b40c95b9
|
|
| BLAKE2b-256 |
f8d683d7d0e930325960c2b3aee1323c447de6de5fe84388d4499011621bd412
|