-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathIFSystem.py
More file actions
25 lines (19 loc) · 772 Bytes
/
IFSystem.py
File metadata and controls
25 lines (19 loc) · 772 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
class IFSystem:
def __init__(self, ifPaths, receiver, if1, ifCenter, tuningFreq, bwTotal, velocity, vdef, vframe):
# [[IFPathNode]]
self.ifPaths = ifPaths
# rx name
self.receiver = receiver
# TBF: I don't understand all this frequency stuff
self.if1 = if1
self.ifCenter = ifCenter
self.tuningFreq = tuningFreq
self.bwTotal = bwTotal
# velocity related
self.velocity = velocity
self.vdef = vdef
self.vframe = vframe
# def getFirstLikeDeviceNode(self, path, device):
# "Retrieves first node in path that is like given device name"
# devices = [n for n in path if device in n.name]
# return None if len(devices) == 0 else devices[0]