ria-toolkit-oss/src/ria_toolkit_oss/signal/recordable.py
M madrigal 8a66860d33
All checks were successful
Build Sphinx Docs Set / Build Docs (pull_request) Successful in 15m51s
Build Project / Build Project (3.10) (pull_request) Successful in 16m14s
Build Project / Build Project (3.11) (pull_request) Successful in 17m9s
Build Project / Build Project (3.12) (pull_request) Successful in 2m29s
Test with tox / Test with tox (3.12) (pull_request) Successful in 21m28s
Test with tox / Test with tox (3.10) (pull_request) Successful in 22m50s
Test with tox / Test with tox (3.11) (pull_request) Successful in 23m18s
Moved all contents of to , refactored accordingly
2026-04-21 14:38:06 -04:00

18 lines
403 B
Python

from abc import ABC, abstractmethod
from ria_toolkit_oss.data import Recording
class Recordable(ABC):
"""Base class for all recordables, including SDRs and synthetic signal generators, that produce ``Recording``
objects.
"""
@abstractmethod
def record(self, *args, **kwargs) -> Recording:
"""Generate Recording object.
:rtype: Recording
"""
pass