Skip to content

Commit d07c763

Browse files
committed
Fix install and import cells
1 parent 6ab987f commit d07c763

File tree

1 file changed

+14
-39
lines changed

1 file changed

+14
-39
lines changed

tutorials/euclid_access/4_Euclid_intro_PHZ_catalog.md

Lines changed: 14 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -48,54 +48,29 @@ The photometry of every source is processed through a photometric redshift fitti
4848
## Imports
4949

5050
```{code-cell} ipython3
51-
# Uncomment the next lines to install dependencies if needed
52-
53-
# Installation for pip
54-
# !pip install sep
55-
# !pip install astropy
56-
# !pip install pyvo
57-
# !pip install requests
58-
# !pip install firefly_client
59-
60-
# Installation for conda
61-
# !conda install -c conda-forge sep
62-
# !conda install -c conda-forge astropy
63-
# !conda install -c conda-forge pyvo
64-
# !conda install requests
65-
# !conda install conda-forge::firefly-client
51+
# Uncomment the next line to install dependencies if needed.
52+
# !pip install requests matplotlib pandas astropy pyvo fsspec firefly_client
6653
```
6754

6855
```{code-cell} ipython3
69-
from astropy.io import fits
56+
from io import BytesIO
57+
import os
58+
import re
59+
60+
import requests
61+
import matplotlib.pyplot as plt
62+
7063
from astropy.coordinates import SkyCoord
71-
from astropy import units
72-
from astropy.visualization import astropy_mpl_style, ImageNormalize, PercentileInterval, AsinhStretch, LogStretch, ZScaleInterval, SquaredStretch
64+
from astropy.io import fits
7365
from astropy.nddata import Cutout2D
74-
from astropy.wcs import WCS
75-
from astropy.io.votable import parse
7666
from astropy.table import Table
67+
from astropy import units as u
7768
from astropy.utils.data import download_file
69+
from astropy.visualization import ImageNormalize, PercentileInterval, AsinhStretch, LogStretch
70+
from astropy.wcs import WCS
7871
79-
import numpy as np
80-
import matplotlib.pyplot as plt
81-
from matplotlib.patches import Ellipse
82-
from matplotlib.ticker import FormatStrFormatter
83-
import os
84-
from os import listdir
85-
from os.path import isfile, join
86-
import pandas as pd
87-
import glob
88-
import sep
89-
import pyvo as vo
90-
import re
9172
from firefly_client import FireflyClient
92-
from io import BytesIO
93-
import requests
94-
```
95-
96-
```{code-cell} ipython3
97-
## Update the firely client to make sure it works later
98-
!pip install --upgrade --pre firefly-client
73+
import pyvo as vo
9974
```
10075

10176
# Introduction to Euclid Q1 PHZ catalog

0 commit comments

Comments
 (0)