Skip to content

Commit

Permalink
updated frame_crop to new xy parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
IainHammond committed Jan 23, 2025
1 parent dba55b8 commit 35b0cb9
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions docs/source/tutorials/05A_fm_planets.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
"outputs": [],
"source": [
"%matplotlib inline\n",
"from hciplot import plot_frames, plot_cubes\n",
"from hciplot import plot_frames\n",
"from matplotlib.pyplot import *\n",
"from matplotlib import pyplot as plt\n",
"import numpy as np\n",
Expand Down Expand Up @@ -937,7 +937,7 @@
],
"source": [
"from vip_hci.preproc import frame_crop\n",
"cropped_frame1 = frame_crop(final_ann_opt, cenxy=xy_test, size=15)"
"cropped_frame1 = frame_crop(final_ann_opt, xy=xy_test, size=15)"
]
},
{
Expand All @@ -953,9 +953,7 @@
]
}
],
"source": [
"cropped_frame2 = frame_crop(fr_pca_emp, cenxy=xy_test, size=15)"
]
"source": "cropped_frame2 = frame_crop(fr_pca_emp, xy=xy_test, size=15)"
},
{
"cell_type": "markdown",
Expand Down

0 comments on commit 35b0cb9

Please sign in to comment.