diff --git a/.readthedocs.yml b/.readthedocs.yml index 82838f4..7378063 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -7,6 +7,11 @@ build: apt_packages: - graphviz +sphinx: + builder: html + configuration: docs/conf.py + fail_on_warning: true + python: install: - method: pip diff --git a/docs/background/example_figure.py b/docs/background/example_figure.py index 2ba5afc..59055c6 100644 --- a/docs/background/example_figure.py +++ b/docs/background/example_figure.py @@ -42,12 +42,9 @@ def simple_figure(th_par, magnification, dynspec = np.abs(dynwave)**2 # Create conjugate and then secondary spectrum - cs = ConjugateSpectrum.from_dynamic_spectrum(dynspec, f=f, t=t, noise=0., - d_eff=d_eff, mu_eff=mu_eff, - theta=th_par, - magnification=magnification) - tau = cs.tau - fd = cs.fd + cs = ConjugateSpectrum.from_dynamic_spectrum(dynspec, f=f, t=t, noise=0.) + tau = cs.tau << u.us + fd = cs.fd << u.mHz secspec = cs.secspec # Create dynamic wavefield