Skip to content

Commit

Permalink
opxrd/plots: Updated outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
Somerandomguy10111 committed Dec 22, 2024
1 parent 71a14cb commit a098d6f
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 669 deletions.
2 changes: 1 addition & 1 deletion opxrd/analysis/plotter.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def _fourier_plots(self, x, y_list: list[NDArray], msg: str, figname: str, y_nam
for yf in yf_list:
xf, yf = xf[np.where(xf < 2.5)], yf[np.where(xf < 2.5)]
ax2.plot(xf, yf, label='Fourier Transform magnitude', **kwargs)
ax2.set_xlabel('Frequency k $deg^{-1}$')
ax2.set_xlabel('Frequency k Value/$deg^{-1}$')
ax2.set_ylabel('Magnitude |F(k)|')
ax2.set_yscale(f'log')
ax2.set_title('Fourier Transform')
Expand Down
719 changes: 51 additions & 668 deletions opxrd/plots.ipynb

Large diffs are not rendered by default.

0 comments on commit a098d6f

Please sign in to comment.