rcvr package#
Submodules#
rcvr.channel_controller module#
channel_controller.py
file |
sturdr/rcvr/rf_data_buffer.py |
brief |
Handles channel processing and dissemination of data to channels |
date |
October 2024 |
- class rcvr.channel_controller.ChannelController(config: dict)#
Bases:
Process
Maintains the status of each channel and ensures they are synchronized to the
multiprocessing.shared_memory.SharedMemory
circular buffer of RF signal data.- Attributes:
- authkey
- config
daemon
Return whether process is a daemon
exitcode
Return exit code of process or None if it has yet to stop
ident
Return identifier (PID) of process or None if it has yet to start
- memory
- name
pid
Return identifier (PID) of process or None if it has yet to start
- queue
- rfbuffer
sentinel
Return a file descriptor (Unix) or handle (Windows) suitable for waiting for process termination.
Methods
close
()Close the Process object.
is_alive
()Return whether process is alive
join
([timeout])Wait until child process terminates
kill
()Terminate process; sends SIGKILL signal or uses TerminateProcess()
run
()Method to be run in sub-process; can be overridden in sub-class
start
()Start child process
terminate
()Terminate process; sends SIGTERM signal or uses TerminateProcess()
SpawnChannels
- SpawnChannels(signal_type: GnssSignalTypes | ndarray[GnssSignalTypes], nchannels: int)#
- channels: list#
- config: dict#
- memory#
- nchannels: int#
- queue: Queue#
- rfbuffer: RfDataBuffer#