Skip to content

Commit

Permalink
Fixing AWGN
Browse files Browse the repository at this point in the history
  • Loading branch information
gvanhoy committed Sep 23, 2023
1 parent b4c17f6 commit 8c792b8
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 288 deletions.
Empty file removed docs/notebooks/.gitkeep
Empty file.
287 changes: 0 additions & 287 deletions docs/notebooks/00_sig53_dataset.ipynb

This file was deleted.

Empty file removed docs/notebooks/sig53/.gitkeep
Empty file.
2 changes: 1 addition & 1 deletion torchsig/transforms/transforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -891,7 +891,7 @@ def __call__(self, data: Any) -> Any:
return new_data

else:
noise_power_db = self.noise_power_db(size=data.shape[0])
noise_power_db = self.noise_power_db(num=data.shape[0])
noise_power_db = (
10 * np.log10(noise_power_db) if self.linear else noise_power_db
)
Expand Down

0 comments on commit 8c792b8

Please sign in to comment.