Skip to content

Commit 03c5efd

Browse files
committed
Fixing install and import cells
1 parent bcf3eb7 commit 03c5efd

File tree

1 file changed

+7
-15
lines changed

1 file changed

+7
-15
lines changed

tutorials/euclid_access/Euclid_ERO.md

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,14 @@ The total data volume required for running this notebook is less than 20 MB.
4040
First, we import all necessary packages.
4141

4242
```python
43-
!pip install -r requirements_euclid.txt ## BRIGITTA: CHANGE THIS....
43+
# Uncomment the next line to install dependencies if needed.
44+
# !pip install tqdm numpy matplotlib astropy photutils astroquery>0.4.10 sep>=1.4 firefly_client
45+
```
4446

47+
```python
4548
# General imports
46-
import os, sys
49+
import os
4750
import numpy as np
48-
import glob
4951
from tqdm import tqdm
5052

5153
# Astroquery
@@ -55,10 +57,10 @@ from astroquery.gaia import Gaia
5557
# Astropy
5658
from astropy.coordinates import SkyCoord
5759
from astropy import units as u
58-
from astropy.io import fits, ascii
60+
from astropy.io import fits
5961
from astropy.nddata import Cutout2D
6062
from astropy.wcs import WCS
61-
from astropy.table import Table, vstack, hstack
63+
from astropy.table import Table
6264
from astropy.stats import sigma_clipped_stats
6365

6466
# Photometry tools
@@ -104,16 +106,6 @@ mpl.rcParams['hatch.linewidth'] = 1
104106
def_cols = plt.rcParams['axes.prop_cycle'].by_key()['color']
105107
```
106108

107-
In case `astropy` and `firefly-client` are not up-to-date in the image on the science platform, we can upgrade them here. If all is up-to-date, the following cell can be ignored.
108-
109-
```python
110-
# Need to do this to upgrade the astroquery version to avoid attribute error.
111-
#!pip install --upgrade --pre astroquery
112-
113-
# Need to do this to upgrade the firefly-client version to avoid attribute error.
114-
#!pip install --upgrade --pre firefly-client
115-
```
116-
117109
## Setting up the Environment
118110

119111
Next, we set up the environment. This includes

0 commit comments

Comments
 (0)