This commit is contained in:
parent
1dc5383162
commit
6742b0770b
|
@ -63,10 +63,8 @@ def generate_modulated_signals(output_dir):
|
||||||
# view if you want
|
# view if you want
|
||||||
# output_recording.view()
|
# output_recording.view()
|
||||||
|
|
||||||
fname = f"{modulation}_snr{int(snr)}_{i}.npy"
|
|
||||||
full_path = os.path.join(output_dir, fname)
|
|
||||||
# save to file
|
# save to file
|
||||||
output_recording.to_npy(path = full_path) # optionally add path and filename parameters
|
output_recording.to_npy(path = output_dir) # optionally add path and filename parameters
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|
Loading…
Reference in New Issue
Block a user