Skip to content

Commit

Permalink
Merge pull request #141 from kadri-nizam/datasets_file
Browse files Browse the repository at this point in the history
Modifications to datasets.py
  • Loading branch information
kadri-nizam authored Feb 7, 2023
2 parents 60e869a + ba500c8 commit 38a50cd
Show file tree
Hide file tree
Showing 5 changed files with 330 additions and 259 deletions.
220 changes: 110 additions & 110 deletions docs/large-tutorials/HD143006_part_1.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/large-tutorials/HD143006_part_1.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ Since the DSHARP team has already checked there are no bright sub-mm sources in
```{code-cell}
from mpol import gridding
gridder = gridding.Gridder(
gridder = gridding.Gridder.from_image_properties(
cell_size=cell_size,
npix=512,
uu=uu,
Expand Down
2 changes: 1 addition & 1 deletion src/mpol/coordinates.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def __init__(self, cell_size: float, npix: int) -> None:
self.packed_q_centers_2D = np_fft.fftshift(self.sky_q_centers_2D)
self.packed_phi_centers_2D = np_fft.fftshift(self.sky_phi_centers_2D)

self.q_max = (
self.q_max = float(
np.max(np.abs(self.packed_q_centers_2D)) + np.sqrt(2) * self.du
) # outer edge [klambda]

Expand Down
Loading

0 comments on commit 38a50cd

Please sign in to comment.