mirror of
https://github.com/cdtools-developers/cdtools.git
synced 2026-11-13 09:43:55 +01:00
Update the docstrings on all the tools files and start laying out the docs for real
This commit is contained in:
1 parent
1e3a98c599
commit
de186592cb
42 files changed
+1181
-887
No files matched your search
@@ -9,13 +9,6 @@ import torch as t
|
||||
import scipy.misc
|
||||
import matplotlib.pyplot as plt
|
||||
|
||||
def test_plot_1D(show_plot):
|
||||
# Plot simple linear scatter plot
|
||||
arr = np.arange(10)
|
||||
plotting.plot_1D(arr, title = 'Linear Plot')
|
||||
if show_plot:
|
||||
plt.show()
|
||||
|
||||
def test_plot_amplitude(show_plot):
|
||||
# Test with tensor
|
||||
im = cmath.complex_to_torch(scipy.misc.ascent().astype(np.float64))
|
||||
|
||||
Reference in new issue
Block a user