Update exclusion mask tutorial
"cell_type": "markdown",
"metadata": {},
"source": [
- "Finally, we copy the significance map for our mask and apply a threshold of 5 sigma to remove pixels."
+ "Finally, we create the mask map by applying a threshold of 5 sigma to remove pixels."
]
},
{
"metadata": {},
"outputs": [],
"source": [
- "mask_map_significance = result[\"significance\"].copy()\n",
- "mask_map_significance.data = mask_map_significance.data < 5.0"
+ "mask_map_significance = result[\"significance\"] < 5.0"
]
},
{
