##// END OF EJS Templates
Added lfr_output_save module in lpp_sim lib :...
Added lfr_output_save module in lpp_sim lib : this module permits to write in file all evolution of the analog LFR's output during a simulation Added test Test_DAC_to_File : an implementation example of lfr_output_save module.

File last commit:

r646:c09604c7535a default
r688:c0c43c9d60f1 tip Simu-LFR-FM
Show More
generate.py
7 lines | 178 B | text/x-python | PythonLexer
import numpy as np
import random
W,H=8,100000
test = np.ones((H,W))*[(random.random()*65535)-32768 for col in range(W)]
np.savetxt("input.txt", test,fmt="%d", delimiter=" ")