realtimeradio / ata_snap

FPGA firmware for SNAP boards at the ATA
GNU General Public License v3.0
4 stars 5 forks source link

ATA `snap_feng_init` and `ata_snap_fengine` ease of use changes #31

Closed radonnachie closed 3 years ago

radonnachie commented 3 years ago

Wrapped the snap_feng_init.py core content in run(), with an if __name__=='__main__': run(argparse), enabling importing the script in higher-level scripts.

Added assertion messages to the select_output_channels() function in ata_snap_fengine.py.