Skip to content

Commit

Permalink
etst of system
Browse files Browse the repository at this point in the history
  • Loading branch information
mclim-rsa25545 committed Jul 3, 2024
1 parent ec40b60 commit 9e03a79
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 71 deletions.
6 changes: 3 additions & 3 deletions .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
# E251 unexpected spaces around keyword / parameter equals
# E266 too many leading '#' for block comment
# E271 multiple spaces after keyword
# E272 multiple spaces before keyword
# E272 multiple spaces bfore keyword
# E305 expected 2 blank lines after class or function definition, found 1
# E0401 Import Error
# E401 Import Error
# E502 the backslash is redundant between brackets
# E0611 no-name-in-module
# E701 multiple statements on one line (colon)
Expand Down Expand Up @@ -66,7 +66,7 @@
# F401 '' imported but unused
# F841 local variable 'y' is assigned to but never used
ignore=C103, C114, C115, C116, C301, C303, C321, C325, C326, C411, C413,
E102, E116, E127, E203, E221, E222, E225, E226, E241, E251, E266, E271, E272, E302, E305, E401, E502, E611, E701, E704, E731, E1101,
E102, E116, E127, E203, E221, E222, E225, E226, E241, E251, E266, E271, E272, E302, E305, E401, E502, E611, E701, E704, E731,
F541,
R801, R902, R0903,
W621, W702, W1309, W612, W201, W235, W291,
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
![Coveralls github](https://img.shields.io/coveralls/github/mclim9/rssd)
![Versioning ](https://img.shields.io/badge/calver-YY.0M.MICRO-22bfda.svg)
![Python package ](https://github.com/mclim9/rssd/workflows/Python%20package/badge.svg)

<!-- test -->
## Description
- Example python drivers
- [VSA](https://github.com/mclim9/rssd/tree/master/rssd/VSA), Vector Spectrum Analyzer
Expand Down
6 changes: 3 additions & 3 deletions rssd/iqdata.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ def writeXml(self, filenameiqw, filenamexml):
xmlfile.close()
return 1

def writeIqTar(self, FileName): # Verified 2020.0115 #pylint: disable=R1710
def writeIqTar(self, FileName): # Verified 2020.0115 #pylint: disable=R1710
"""writes an iq.tar file. Complex self.iqData values are interpreted as Volts.
self.iqData can be a list of complex or list of floats (iqiqiq format)."""
path,filename = os.path.split(FileName) #pylint: disable=W0612
Expand All @@ -223,7 +223,7 @@ def writeIqTar(self, FileName): # Verified 2020.0115 #pylint: disab
try:
tar = tarfile.open(FileName, "w")
tar.add(os.path.join(path, binaryfile), arcname=binaryfile)
#tar.add(os.path.join(path, xsltfilename), arcname=xsltfilename) #xslt is optional
#tar.add(os.path.join(path, xsltfilename), arcname=xsltfilename) #xslt is optional
tar.add(os.path.join(path, xmlfilename), arcname=xmlfilename)
tar.close()
os.remove(os.path.join(path, binaryfile))
Expand All @@ -234,7 +234,7 @@ def writeIqTar(self, FileName): # Verified 2020.0115 #pylint: disab

def readIqTar(self,FileName): # Verified 2020.0115
"""Reads an iq.tar file --> self.iqData"""
path,filename = os.path.split(FileName) #pylint: disable=W0612
path,filename = os.path.split(FileName) #pylint: disable=W0612
self.fSamplingRate = 0

try:
Expand Down
64 changes: 0 additions & 64 deletions rssd/test/yaVISA.py

This file was deleted.

0 comments on commit 9e03a79

Please sign in to comment.