Installing the Hubble Advanced Spectral Products Script#

This Notebook is designed to walk you through downloading, installing, and using the Hubble Advanced Spectral Products (HASP) co-add script.#

Learning Goals:#

By the end of this tutorial, you will:

  • Download conda and create a conda environment

  • Download and install the co-add script

  • Learn how to run the script

  • Understand the naming conventions of the co-added output files

Table of Contents#

0. Introduction

1. Downloading and Installing conda

- 1.1 Installing conda

- 1.2 Creating a conda Environment

2. Downloading and Installing the HASP Script

3. Running the Co-add Script

- 3.1 Running the Script

- 3.2 Understanding the Output Files

0. Introduction#

The Hubble Advanced Spectral Products (HASP) code is a script that co-adds spectra of the same target within programs. This software is able to co-add data taken with the spectrographs onboard the Hubble Space Telescope (HST); the Space Telescope Imaging Spectrograph (STIS) and the Cosmic Origins Spectrograph (COS). The Hubble Spectroscopic Legacy Archive (HSLA) uses this script to co-add these instruments’ data from the MAST archive to create high-quality spectra with a broad wavelength coverate (whenever possible from the ultraviolet to the near-infrared) that is publicly available for the scientific community. These custom co-addition notebooks will instruct users on how to produce their own co-adds in cases where the MAST archive data needs special processing or is rejected by the default filters used in the co-add script.

The script first co-adds the observations for each grating for a given program, then it combines all gratings for the observation set. Finally, it co-adds the spectra of each observation set in the program to produce a fully co-added spectra for each target in a program.

This notebook focuses primarily on the installation of the co-add code, and provides a quick overview on its usage. To see an example of downloading COS and STIS datasets, running the script, and analyzing the output, please check out our notebook CoaddTutorial.ipynb.

1. Downloading and Installing conda#

1.1 Installing conda#

Conda is a package, dependency, and environment manager that runs on Windows, Mac, and Linux. Conda allows us to easily install Python packages and create isolated conda environments, each with their own packages and dependencies. By switching between conda environments, we avoid conflicts between different versions of packages.

We will create a conda environment to install the packages needed for the HASP script. We can first check if you have conda already installed by running the command in the terminal:

!conda --version
conda 24.1.2

Running the command should print out the version of conda that you have installed (e.g. conda 23.7.2). If the command returns a statement saying that the package is unknown, then you do not have conda installed on your machine. You will need to download one of the conda distributions.

There are a few different distributions of conda that you can install, depending on your preferences. Anaconda is one distribution that carries a lot of pre-installed packages, some of which you won’t use. Miniconda is another distribution of conda that contains only the minimum packages. Finally, the Mamba disctribution of conda is similar to Miniconda, but uses different parallelization and cache algorithms to increase speed and optimize memory.

Once you have installed one of these clients, try running the above cell again to confirm that conda is installed.

1.2 Creating a Conda Environment#

Once you’ve installed conda, we can create a conda environment. We will download all of the packages needed to run the HASP script in a new environment that we will create, called hasp-env. We will use this environment for all of the tutorial notebooks.

The first step is to add the conda-forge channel to the list of avaible conda channels. Channels are where conda packages are stored and downloaded from, and conda-forge allows us to download additional packages for the code that the default conda channel may not have available. We can add this channel by running the following command in the terminal:

!conda config --add channels conda-forge

We can now create the conda environment, hasp-env. Note that this can take several minutes to run:

!yes | conda create --name hasp-env python=3.11 notebook jupyterlab numpy astropy astroquery matplotlib
Channels:
 - conda-forge
 - defaults
Platform: linux-64
Collecting package metadata (repodata.json): - 
\ 
| 
/ 
- 
\ 
| 
/ 
- 
\ 
| 
/ 
- 
\ 
| 
/ 
- 
\ 
done
Solving environment: / 
- 
\ 
| 
/ 
- 
done
## Package Plan ##

  environment location: /usr/share/miniconda/envs/hasp-env

  added / updated specs:
    - astropy
    - astroquery
    - jupyterlab
    - matplotlib
    - notebook
    - numpy
    - python=3.11


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    _libgcc_mutex-0.1          |      conda_forge           3 KB  conda-forge
    _openmp_mutex-4.5          |            2_gnu          23 KB  conda-forge
    alsa-lib-1.2.11            |       hd590300_1         542 KB  conda-forge
    anyio-4.3.0                |     pyhd8ed1ab_0         100 KB  conda-forge
    argon2-cffi-23.1.0         |     pyhd8ed1ab_0          18 KB  conda-forge
    argon2-cffi-bindings-21.2.0|  py311h459d7ec_4          34 KB  conda-forge
    arrow-1.3.0                |     pyhd8ed1ab_0          98 KB  conda-forge
    astropy-6.0.1              |  py311h1f0f07a_0         9.1 MB  conda-forge
    astropy-iers-data-0.2024.4.15.2.45.49|     pyhd8ed1ab_0         1.2 MB  conda-forge
    astroquery-0.4.7           |     pyhd8ed1ab_0         3.8 MB  conda-forge
    asttokens-2.4.1            |     pyhd8ed1ab_0          28 KB  conda-forge
    async-lru-2.0.4            |     pyhd8ed1ab_0          15 KB  conda-forge
    attr-2.5.1                 |       h166bdaf_1          69 KB  conda-forge
    attrs-23.2.0               |     pyh71513ae_0          53 KB  conda-forge
    babel-2.14.0               |     pyhd8ed1ab_0         7.3 MB  conda-forge
    beautifulsoup4-4.12.3      |     pyha770c72_0         115 KB  conda-forge
    bleach-6.1.0               |     pyhd8ed1ab_0         128 KB  conda-forge
    brotli-1.1.0               |       hd590300_1          19 KB  conda-forge
    brotli-bin-1.1.0           |       hd590300_1          19 KB  conda-forge
    brotli-python-1.1.0        |  py311hb755f60_1         343 KB  conda-forge
    bzip2-1.0.8              
  |       hd590300_5         248 KB  conda-forge
    ca-certificates-2024.2.2   |       hbcca054_0         152 KB  conda-forge
    cached-property-1.5.2      |       hd8ed1ab_1           4 KB  conda-forge
    cached_property-1.5.2      |     pyha770c72_1          11 KB  conda-forge
    cairo-1.18.0               |       h3faef2a_0         959 KB  conda-forge
    certifi-2024.2.2           |     pyhd8ed1ab_0         157 KB  conda-forge
    cffi-1.16.0                |  py311hb3a22ac_0         293 KB  conda-forge
    charset-normalizer-3.3.2   |     pyhd8ed1ab_0          46 KB  conda-forge
    comm-0.2.2                 |     pyhd8ed1ab_0          12 KB  conda-forge
    contourpy-1.2.1            |  py311h9547e67_0         253 KB  conda-forge
    cryptography-42.0.5        |  py311h63ff55d_0         1.9 MB  conda-forge
    cycler-0.12.1              |     pyhd8ed1ab_0          13 KB  conda-forge
    dbus-1.13.6                |       h5008d03_3         604 KB  conda-forge
    debugpy-1.8.1              |  py311hb755f60_0         2.2 MB  conda-forge
    decorator-5.1.1            |     pyhd8ed1ab_0          12 KB  conda-forge
    defusedxml-0.7.1           |     pyhd8ed1ab_0          23 KB  conda-forge
    entrypoints-0.4            |     pyhd8ed1ab_0           9 KB  conda-forge
    exceptiongroup-1.2.0       |     pyhd8ed1ab_2          20 KB  conda-forge
    executing-2.0.1            |     pyhd8ed1ab_0          27 KB  conda-forge
    expat-2.6.2                |       h59595ed_0         134 KB  conda-forge
    font-ttf-dejavu-sans-mono-2.37|       hab24e00_0         388 KB  conda-forge
    font-ttf-inconsolata-3.000 |       h77eed37_0          94 KB  conda-forge
    font-ttf-source-code-pro-2.038|       h77eed37_0         684 KB  conda-forge
    font-ttf-ubuntu-0.83       |       h77eed37_1         1.5 MB  conda-forge
    fontconfig-2.14.2          |       h14ed4e7_0         266 KB  conda-forge
    fonts-conda-ecosystem-1    |                0           4 KB  conda-forge
    fonts-conda-forge-1        |                0           4 KB  conda-forge
    fonttools-4.51.0           |  py311h459d7ec_0         2.7 MB  conda-forge
    fqdn-1.5.1                 |     pyhd8ed1ab_0          14 KB  conda-forge
    freetype-2.12.1            |       h267a509_2         620 KB  conda-forge
    gettext-0.22.5             |       h59595ed_2         464 KB  conda-forge
    gettext-tools-0.22.5       |       h59595ed_2         2.6 MB  conda-forge
    glib-2.80.0                |       hf2295e7_5         585 KB  conda-forge
    glib-tools-2.80.0          |       hde27a5a_5         112 KB  conda-forge
    graphite2-1.3.13           |    h59595ed_1003          95 KB  conda-forge
    gst-plugins-base-1.24.1    |       hfa15dee_1         2.7 MB  conda-forge
    gstreamer-1.24.1           |       h98fc4e7_1         1.9 MB  conda-forge
    h11-0.14.0                 |     pyhd8ed1ab_0          47 KB  conda-forge
    h2-4.1.0                   |     pyhd8ed1ab_0          46 KB  conda-forge
    harfbuzz-8.3.0             |       h3d44ed6_0         1.5 MB  conda-forge
    hpack-4.0.0                |     pyh9f0ad1d_0          25 KB  conda-forge
    html5lib-1.1               |     pyh9f0ad1d_0          89 KB  conda-forge
    httpcore-1.0.5             |     pyhd8ed1ab_0          45 KB  conda-forge
    httpx-0.27.0               |     pyhd8ed1ab_0          63 KB  conda-forge
    hyperframe-6.0.1           |     pyhd8ed1ab_0          14 KB  conda-forge
    icu-73.2                   |       h59595ed_0        11.5 MB  conda-forge
    idna-3.7                   |     pyhd8ed1ab_0          51 KB  conda-forge
    importlib-metadata-7.1.0   |     pyha770c72_0          26 KB  conda-forge
    importlib_metadata-7.1.0   |       hd8ed1ab_0           9 KB  conda-forge
    importlib_resources-6.4.0  |     pyhd8ed1ab_0          32 KB  conda-forge
    ipykernel-6.29.3           |     pyhd33586a_0         116 KB  conda-forge
    ipython-8.22.2             |     pyh707e725_0         580 KB  conda-forge
    isoduration-20.11.0        |     pyhd8ed1ab_0          17 KB  conda-forge
    jaraco.classes-3.4.0       |     pyhd8ed1ab_0          12 KB  conda-forge
    jaraco.context-4.3.0       |     pyhd8ed1ab_0          11 KB  conda-forge
    jaraco.functools-4.0.0     |     pyhd8ed1ab_0          15 KB  conda-forge
    jedi-0.19.1                |     pyhd8ed1ab_0         822 KB  conda-forge
    jeepney-0.8.0              |     pyhd8ed1ab_0          36 KB  conda-forge
    jinja2-3.1.3               |     pyhd8ed1ab_0         109 KB  conda-forge
    json5-0.9.25               |     pyhd8ed1ab_0          27 KB  conda-forge
    jsonpointer-2.4            |  py311h38be061_3          18 KB  conda-forge
    jsonschema-4.21.1          |     pyhd8ed1ab_0          71 KB  conda-forge
    jsonschema-specifications-2023.12.1|     pyhd8ed1ab_0          16 KB  conda-forge
    jsonschema-with-format-nongpl-4.21.1|     pyhd8ed1ab_0           7 KB  conda-forge
    jupyter-lsp-2.2.5          |     pyhd8ed1ab_0          54 KB  conda-forge
    jupyter_client-8.6.1       |     pyhd8ed1ab_0         104 KB  conda-forge
    jupyter_core-5.7.2         |  py311h38be061_0          93 KB  conda-forge
    jupyter_events-0.10.0      |     pyhd8ed1ab_0          21 KB  conda-forge
    jupyter_server-2.14.0      |     pyhd8ed1ab_0         317 KB  conda-forge
    jupyter_server_terminals-0.5.3|     pyhd8ed1ab_0          19 KB  conda-forge
    jupyterlab-4.1.6           |     pyhd8ed1ab_0         7.3 MB  conda-forge
    jupyterlab_pygments-0.3.0  |     pyhd8ed1ab_1          18 KB  conda-forge
    jupyterlab_server-2.26.0   |     pyhd8ed1ab_0          48 KB  conda-forge
    keyring-25.1.0             |     pyha804496_0          35 KB  conda-forge
    keyutils-1.6.1             |       h166bdaf_0         115 KB  conda-forge
    kiwisolver-1.4.5           |  py311h9547e67_1          72 KB  conda-forge
    krb5-1.21.2                |       h659d440_0         1.3 MB  conda-forge
    lame-3.100                 |    h166bdaf_1003         496 KB  conda-forge
    lcms2-2.16                 |       hb7c19ff_0         239 KB  conda-forge
    ld_impl_linux-64-2.40      |       h41732ed_0         688 KB  conda-forge
    lerc-4.0.0                 |       h27087fc_0         275 KB  conda-forge
    libasprintf-0.22.5         |       h661eb56_2          42 KB  conda-forge
    libasprintf-devel-0.22.5   |       h661eb56_2          33 KB  conda-forge
    libblas-3.9.0              |22_linux64_openblas          14 KB  conda-forge
    libbrotlicommon-1.1.0      |       hd590300_1          68 KB  conda-forge
    libbrotlidec-1.1.0         |       hd590300_1          32 KB  conda-forge
    libbrotlienc-1.1.0         |       hd590300_1         276 KB  conda-forge
    libcap-2.69                |       h0f662aa_0          98 KB  conda-forge
    libcblas-3.9.0             |22_linux64_openblas          14 KB  conda-forge
    libclang-cpp15-15.0.7      |default_h127d8a8_5        16.4 MB  conda-forge
    libclang13-18.1.3          |default_h5d6823c_0        10.5 MB  conda-forge
    libcups-2.3.3              |       h4637d8d_4         4.3 MB  conda-forge
    libdeflate-1.20            |       hd590300_0          70 KB  conda-forge
    libedit-3.1.20191231       |       he28a2e2_2         121 KB  conda-forge
    libevent-2.1.12            |       hf998b51_1         417 KB  conda-forge
    libexpat-2.6.2             |       h59595ed_0          72 KB  conda-forge
    libffi-3.4.2               |       h7f98852_5          57 KB  conda-forge
    libflac-1.4.3              |       h59595ed_0         385 KB  conda-forge
    libgcc-ng-13.2.0           |       h807b86a_5         752 KB  conda-forge
    libgcrypt-1.10.3           |       hd590300_0         620 KB  conda-forge
    libgettextpo-0.22.5        |       h59595ed_2         167 KB  conda-forge
    libgettextpo-devel-0.22.5  |       h59595ed_2          36 KB  conda-forge
    libgfortran-ng-13.2.0      |       h69a702a_5          23 KB  conda-forge
    libgfortran5-13.2.0        |       ha4646dd_5         1.4 MB  conda-forge
    libglib-2.80.0             |       hf2295e7_5         3.7 MB  conda-forge
    libgomp-13.2.0             |       h807b86a_5         410 KB  conda-forge
    libgpg-error-1.48          |       h71f35ed_0         260 KB  conda-forge
    libiconv-1.17              |       hd590300_2         689 KB  conda-forge
    libjpeg-turbo-3.0.0        |       hd590300_1         604 KB  conda-forge
    liblapack-3.9.0            |22_linux64_openblas          14 KB  conda-forge
    libllvm15-15.0.7           |       hb3ce162_4        31.8 MB  conda-forge
    libllvm18-18.1.3           |       h2448989_0        36.6 MB  conda-forge
    libnsl-2.0.1               |       hd590300_0          33 KB  conda-forge
    libogg-1.3.4               |       h7f98852_1         206 KB  conda-forge
    libopenblas-0.3.27         |pthreads_h413a1c8_0         5.3 MB  conda-forge
    libopus-1.3.1              |       h7f98852_1         255 KB  conda-forge
    libpng-1.6.43              |       h2797004_0         281 KB  conda-forge
    libpq-16.2                 |       h33b98f1_1         2.5 MB  conda-forge
    libsndfile-1.2.2           |       hc60ed4a_1         346 KB  conda-forge
    libsodium-1.0.18           |       h36c2ea0_1         366 KB  conda-forge
    libsqlite-3.45.3           |       h2797004_0         840 KB  conda-forge
    libstdcxx-ng-13.2.0        |       h7e041cc_5         3.7 MB  conda-forge
    libsystemd0-255            |       h3516f8a_1         393 KB  conda-forge
    libtiff-4.6.0              |       h1dd3fc0_3         276 KB  conda-forge
    libuuid-2.38.1             |       h0b41bf4_0          33 KB  conda-forge
    libvorbis-1.3.7            |       h9c3ff4c_0         280 KB  conda-forge
    libwebp-base-1.4.0         |       hd590300_0         429 KB  conda-forge
    libxcb-1.15                |       h0b41bf4_0         375 KB  conda-forge
    libxcrypt-4.4.36           |       hd590300_1          98 KB  conda-forge
    libxkbcommon-1.7.0         |       h662e7e4_0         580 KB  conda-forge
    libxml2-2.12.6             |       h232c23b_2         688 KB  conda-forge
    libzlib-1.2.13             |       hd590300_5          60 KB  conda-forge
    lz4-c-1.9.4                |       hcb278e6_0         140 KB  conda-forge
    markupsafe-2.1.5           |  py311h459d7ec_0          27 KB  conda-forge
    matplotlib-3.8.4           |  py311h38be061_0           8 KB  conda-forge
    matplotlib-base-3.8.4      |  py311h54ef318_0         7.4 MB  conda-forge
    matplotlib-inline-0.1.7    |     pyhd8ed1ab_0          14 KB  conda-forge
    mistune-3.0.2              |     pyhd8ed1ab_0          64 KB  conda-forge
    more-itertools-10.2.0      |     pyhd8ed1ab_0          53 KB  conda-forge
    mpg123-1.32.6              |       h59595ed_0         480 KB  conda-forge
    munkres-1.1.4              |     pyh9f0ad1d_0          12 KB  conda-forge
    mysql-common-8.3.0         |       hf1915f5_4         766 KB  conda-forge
    mysql-libs-8.3.0           |       hca2cd23_4         1.5 MB  conda-forge
    nbclient-0.10.0            |     pyhd8ed1ab_0          27 KB  conda-forge
    nbconvert-core-7.16.3      |     pyhd8ed1ab_1         184 KB  conda-forge
    nbformat-5.10.4            |     pyhd8ed1ab_0          99 KB  conda-forge
    ncurses-6.4.20240210       |       h59595ed_0         875 KB  conda-forge
    nest-asyncio-1.6.0         |     pyhd8ed1ab_0          11 KB  conda-forge
    notebook-7.1.3             |     pyhd8ed1ab_0         3.8 MB  conda-forge
    notebook-shim-0.2.4        |     pyhd8ed1ab_0          16 KB  conda-forge
    nspr-4.35                  |       h27087fc_0         222 KB  conda-forge
    nss-3.98                   |       h1d7d5a4_0         1.9 MB  conda-forge
    numpy-1.26.4               |  py311h64a7726_0         7.7 MB  conda-forge
    openjpeg-2.5.2             |       h488ebb8_0         334 KB  conda-forge
    openssl-3.2.1              |       hd590300_1         2.7 MB  conda-forge
    overrides-7.7.0            |     pyhd8ed1ab_0          30 KB  conda-forge
    packaging-24.0             |     pyhd8ed1ab_0          49 KB  conda-forge
    pandocfilters-1.5.0        |     pyhd8ed1ab_0          11 KB  conda-forge
    parso-0.8.4                |     pyhd8ed1ab_0          73 KB  conda-forge
    pcre2-10.43                |       hcad00b1_0         929 KB  conda-forge
    pexpect-4.9.0              |     pyhd8ed1ab_0          52 KB  conda-forge
    pickleshare-0.7.5          |          py_1003           9 KB  conda-forge
    pillow-10.3.0              |  py311h18e6fac_0        40.6 MB  conda-forge
    pip-24.0                   |     pyhd8ed1ab_0         1.3 MB  conda-forge
    pixman-0.43.2              |       h59595ed_0         378 KB  conda-forge
    pkgutil-resolve-name-1.3.10|     pyhd8ed1ab_1          11 KB  conda-forge
    platformdirs-4.2.0         |     pyhd8ed1ab_0          20 KB  conda-forge
    ply-3.11                   |     pyhd8ed1ab_2          48 KB  conda-forge
    prometheus_client-0.20.0   |     pyhd8ed1ab_0          48 KB  conda-forge
    prompt-toolkit-3.0.42      |     pyha770c72_0         264 KB  conda-forge
    psutil-5.9.8               |  py311h459d7ec_0         494 KB  conda-forge
    pthread-stubs-0.4          |    h36c2ea0_1001           5 KB  conda-forge
    ptyprocess-0.7.0           |     pyhd3deb0d_0          16 KB  conda-forge
    pulseaudio-client-17.0     |       hb77b528_0         740 KB  conda-forge
    pure_eval-0.2.2            |     pyhd8ed1ab_0          14 KB  conda-forge
    pycparser-2.22             |     pyhd8ed1ab_0         103 KB  conda-forge
    pyerfa-2.0.1.4             |  py311h1f0f07a_0         365 KB  conda-forge
    pygments-2.17.2            |     pyhd8ed1ab_0         840 KB  conda-forge
    pyparsing-3.1.2            |     pyhd8ed1ab_0          87 KB  conda-forge
    pyqt-5.15.9                |  py311hf0fb5b6_5         5.1 MB  conda-forge
    pyqt5-sip-12.12.2          |  py311hb755f60_5          83 KB  conda-forge
    pysocks-1.7.1              |     pyha2e5f31_6          19 KB  conda-forge
    python-3.11.8              |hab00c5b_0_cpython        29.3 MB  conda-forge
    python-dateutil-2.9.0      |     pyhd8ed1ab_0         218 KB  conda-forge
    python-fastjsonschema-2.19.1|     pyhd8ed1ab_0         220 KB  conda-forge
    python-json-logger-2.0.7   |     pyhd8ed1ab_0          13 KB  conda-forge
    python_abi-3.11            |          4_cp311           6 KB  conda-forge
    pytz-2024.1                |     pyhd8ed1ab_0         184 KB  conda-forge
    pyvo-1.5.1                 |     pyhd8ed1ab_0         773 KB  conda-forge
    pyyaml-6.0.1               |  py311h459d7ec_1         196 KB  conda-forge
    pyzmq-26.0.0               |  py311h34ded2d_0         464 KB  conda-forge
    qt-main-5.15.8             |      hc9dc06e_21        58.5 MB  conda-forge
    readline-8.2               |       h8228510_1         275 KB  conda-forge
    referencing-0.34.0         |     pyhd8ed1ab_0          41 KB  conda-forge
    requests-2.31.0            |     pyhd8ed1ab_0          55 KB  conda-forge
    rfc3339-validator-0.1.4    |     pyhd8ed1ab_0           8 KB  conda-forge
    rfc3986-validator-0.1.1    |     pyh9f0ad1d_0           8 KB  conda-forge
    rpds-py-0.18.0             |  py311h46250e7_0         894 KB  conda-forge
    secretstorage-3.3.3        |  py311h38be061_2          32 KB  conda-forge
    send2trash-1.8.3           |     pyh0d859eb_0          22 KB  conda-forge
    setuptools-69.5.1          |     pyhd8ed1ab_0         490 KB  conda-forge
    sip-6.7.12                 |  py311hb755f60_0         571 KB  conda-forge
    six-1.16.0                 |     pyh6c4a22f_0          14 KB  conda-forge
    sniffio-1.3.1              |     pyhd8ed1ab_0          15 KB  conda-forge
    soupsieve-2.5              |     pyhd8ed1ab_1          36 KB  conda-forge
    stack_data-0.6.2           |     pyhd8ed1ab_0          26 KB  conda-forge
    terminado-0.18.1           |     pyh0d859eb_0          22 KB  conda-forge
    tinycss2-1.2.1             |     pyhd8ed1ab_0          23 KB  conda-forge
    tk-8.6.13                  |noxft_h4845f30_101         3.2 MB  conda-forge
    toml-0.10.2                |     pyhd8ed1ab_0          18 KB  conda-forge
    tomli-2.0.1                |     pyhd8ed1ab_0          16 KB  conda-forge
    tornado-6.4                |  py311h459d7ec_0         833 KB  conda-forge
    traitlets-5.14.3           |     pyhd8ed1ab_0         108 KB  conda-forge
    types-python-dateutil-2.9.0.20240316|     pyhd8ed1ab_0          21 KB  conda-forge
    typing-extensions-4.11.0   |       hd8ed1ab_0          10 KB  conda-forge
    typing_extensions-4.11.0   |     pyha770c72_0          37 KB  conda-forge
    typing_utils-0.1.0         |     pyhd8ed1ab_0          14 KB  conda-forge
    tzdata-2024a               |       h0c530f3_0         117 KB  conda-forge
    uri-template-1.3.0         |     pyhd8ed1ab_0          23 KB  conda-forge
    urllib3-2.2.1              |     pyhd8ed1ab_0          92 KB  conda-forge
    wcwidth-0.2.13             |     pyhd8ed1ab_0          32 KB  conda-forge
    webcolors-1.13             |     pyhd8ed1ab_0          18 KB  conda-forge
    webencodings-0.5.1         |     pyhd8ed1ab_2          15 KB  conda-forge
    websocket-client-1.7.0     |     pyhd8ed1ab_0          46 KB  conda-forge
    wheel-0.43.0               |     pyhd8ed1ab_1          57 KB  conda-forge
    xcb-util-0.4.0             |       hd590300_1          19 KB  conda-forge
    xcb-util-image-0.4.0       |       h8ee46fc_1          24 KB  conda-forge
    xcb-util-keysyms-0.4.0     |       h8ee46fc_1          14 KB  conda-forge
    xcb-util-renderutil-0.3.9  |       hd590300_1          17 KB  conda-forge
    xcb-util-wm-0.4.1          |       h8ee46fc_1          51 KB  conda-forge
    xkeyboard-config-2.41      |       hd590300_0         877 KB  conda-forge
    xorg-kbproto-1.0.7         |    h7f98852_1002          27 KB  conda-forge
    xorg-libice-1.1.1          |       hd590300_0          57 KB  conda-forge
    xorg-libsm-1.2.4           |       h7391055_0          27 KB  conda-forge
    xorg-libx11-1.8.9          |       h8ee46fc_0         809 KB  conda-forge
    xorg-libxau-1.0.11         |       hd590300_0          14 KB  conda-forge
    xorg-libxdmcp-1.1.3        |       h7f98852_0          19 KB  conda-forge
    xorg-libxext-1.3.4         |       h0b41bf4_2          49 KB  conda-forge
    xorg-libxrender-0.9.11     |       hd590300_0          37 KB  conda-forge
    xorg-renderproto-0.11.1    |    h7f98852_1002           9 KB  conda-forge
    xorg-xextproto-7.3.0       |    h0b41bf4_1003          30 KB  conda-forge
    xorg-xf86vidmodeproto-2.3.1|    h7f98852_1002          23 KB  conda-forge
    xorg-xproto-7.0.31         |    h7f98852_1007          73 KB  conda-forge
    xz-5.2.6                   |       h166bdaf_0         409 KB  conda-forge
    yaml-0.2.5                 |       h7f98852_2          87 KB  conda-forge
    zeromq-4.3.5               |       h59595ed_1         335 KB  conda-forge
    zipp-3.17.0                |     pyhd8ed1ab_0          19 KB  conda-forge
    zlib-1.2.13                |       hd590300_5          91 KB  conda-forge
    zstd-1.5.5                 |       hfc55251_0         532 KB  conda-forge
    ------------------------------------------------------------
                                           Total:       378.1 MB

The following NEW packages will be INSTALLED:

  _libgcc_mutex      conda-forge/linux-64::_libgcc_mutex-0.1-conda_forge 
  _openmp_mutex      conda-forge/linux-64::_openmp_mutex-4.5-2_gnu 
  alsa-lib           conda-forge/linux-64::alsa-lib-1.2.11-hd590300_1 
  anyio              conda-forge/noarch::anyio-4.3.0-pyhd8ed1ab_0 
  argon2-cffi        conda-forge/noarch::argon2-cffi-23.1.0-pyhd8ed1ab_0 
  argon2-cffi-bindi~ conda-forge/linux-64::argon2-cffi-bindings-21.2.0-py311h459d7ec_4 
  arrow              conda-forge/noarch::arrow-1.3.0-pyhd8ed1ab_0 
  astropy            conda-forge/linux-64::astropy-6.0.1-py311h1f0f07a_0 
  astropy-iers-data  conda-forge/noarch::astropy-iers-data-0.2024.4.15.2.45.49-pyhd8ed1ab_0 
  astroquery         conda-forge/noarch::astroquery-0.4.7-pyhd8ed1ab_0 
  asttokens          conda-forge/noarch::asttokens-2.4.1-pyhd8ed1ab_0 
  async-lru          conda-forge/noarch::async-lru-2.0.4-pyhd8ed1ab_0 
  attr               conda-forge/linux-64::attr-2.5.1-h166bdaf_1 
  attrs              conda-forge/noarch::attrs-23.2.0-pyh71513ae_0 
  babel              conda-forge/noarch::babel-2.14.0-pyhd8ed1ab_0 
  beautifulsoup4     conda-forge/noarch::beautifulsoup4-4.12.3-pyha770c72_0 
  bleach             conda-forge/noarch::bleach-6.1.0-pyhd8ed1ab_0 
  brotli             conda-forge/linux-64::brotli-1.1.0-hd590300_1 
  brotli-bin         conda-forge/linux-64::brotli-bin-1.1.0-hd590300_1 
  brotli-python      conda-forge/linux-64::brotli-python-1.1.0-py311hb755f60_1 
  bzip2              conda-forge/linux-64::bzip2-1.0.8-hd590300_5 
  ca-certificates    conda-forge/linux-64::ca-certificates-2024.2.2-hbcca054_0 
  cached-property    conda-forge/noarch::cached-property-1.5.2-hd8ed1ab_1 
  cached_property    conda-forge/noarch::cached_property-1.5.2-pyha770c72_1 
  cairo              conda-forge/linux-64::cairo-1.18.0-h3faef2a_0 
  certifi            conda-forge/noarch::certifi-2024.2.2-pyhd8ed1ab_0 
  cffi               conda-forge/linux-64::cffi-1.16.0-py311hb3a22ac_0 
  charset-normalizer conda-forge/noarch::charset-normalizer-3.3.2-pyhd8ed1ab_0 
  comm               conda-forge/noarch::comm-0.2.2-pyhd8ed1ab_0 
  contourpy          conda-forge/linux-64::contourpy-1.2.1-py311h9547e67_0 
  cryptography       conda-forge/linux-64::cryptography-42.0.5-py311h63ff55d_0 
  cycler             conda-forge/noarch::cycler-0.12.1-pyhd8ed1ab_0 
  dbus               conda-forge/linux-64::dbus-1.13.6-h5008d03_3 
  debugpy            conda-forge/linux-64::debugpy-1.8.1-py311hb755f60_0 
  decorator          conda-forge/noarch::decorator-5.1.1-pyhd8ed1ab_0 
  defusedxml         conda-forge/noarch::defusedxml-0.7.1-pyhd8ed1ab_0 
  entrypoints        conda-forge/noarch::entrypoints-0.4-pyhd8ed1ab_0 
  exceptiongroup     conda-forge/noarch::exceptiongroup-1.2.0-pyhd8ed1ab_2 
  executing          conda-forge/noarch::executing-2.0.1-pyhd8ed1ab_0 
  expat              conda-forge/linux-64::expat-2.6.2-h59595ed_0 
  font-ttf-dejavu-s~ conda-forge/noarch::font-ttf-dejavu-sans-mono-2.37-hab24e00_0 
  font-ttf-inconsol~ conda-forge/noarch::font-ttf-inconsolata-3.000-h77eed37_0 
  font-ttf-source-c~ conda-forge/noarch::font-ttf-source-code-pro-2.038-h77eed37_0 
  font-ttf-ubuntu    conda-forge/noarch::font-ttf-ubuntu-0.83-h77eed37_1 
  fontconfig         conda-forge/linux-64::fontconfig-2.14.2-h14ed4e7_0 
  fonts-conda-ecosy~ conda-forge/noarch::fonts-conda-ecosystem-1-0 
  fonts-conda-forge  conda-forge/noarch::fonts-conda-forge-1-0 
  fonttools          conda-forge/linux-64::fonttools-4.51.0-py311h459d7ec_0 
  fqdn               conda-forge/noarch::fqdn-1.5.1-pyhd8ed1ab_0 
  freetype           conda-forge/linux-64::freetype-2.12.1-h267a509_2 
  gettext            conda-forge/linux-64::gettext-0.22.5-h59595ed_2 
  gettext-tools      conda-forge/linux-64::gettext-tools-0.22.5-h59595ed_2 
  glib               conda-forge/linux-64::glib-2.80.0-hf2295e7_5 
  glib-tools         conda-forge/linux-64::glib-tools-2.80.0-hde27a5a_5 
  graphite2          conda-forge/linux-64::graphite2-1.3.13-h59595ed_1003 
  gst-plugins-base   conda-forge/linux-64::gst-plugins-base-1.24.1-hfa15dee_1 
  gstreamer          conda-forge/linux-64::gstreamer-1.24.1-h98fc4e7_1 
  h11                conda-forge/noarch::h11-0.14.0-pyhd8ed1ab_0 
  h2                 conda-forge/noarch::h2-4.1.0-pyhd8ed1ab_0 
  harfbuzz           conda-forge/linux-64::harfbuzz-8.3.0-h3d44ed6_0 
  hpack              conda-forge/noarch::hpack-4.0.0-pyh9f0ad1d_0 
  html5lib           conda-forge/noarch::html5lib-1.1-pyh9f0ad1d_0 
  httpcore           conda-forge/noarch::httpcore-1.0.5-pyhd8ed1ab_0 
  httpx              conda-forge/noarch::httpx-0.27.0-pyhd8ed1ab_0 
  hyperframe         conda-forge/noarch::hyperframe-6.0.1-pyhd8ed1ab_0 
  icu                conda-forge/linux-64::icu-73.2-h59595ed_0 
  idna               conda-forge/noarch::idna-3.7-pyhd8ed1ab_0 
  importlib-metadata conda-forge/noarch::importlib-metadata-7.1.0-pyha770c72_0 
  importlib_metadata conda-forge/noarch::importlib_metadata-7.1.0-hd8ed1ab_0 
  importlib_resourc~ conda-forge/noarch::importlib_resources-6.4.0-pyhd8ed1ab_0 
  ipykernel          conda-forge/noarch::ipykernel-6.29.3-pyhd33586a_0 
  ipython            conda-forge/noarch::ipython-8.22.2-pyh707e725_0 
  isoduration        conda-forge/noarch::isoduration-20.11.0-pyhd8ed1ab_0 
  jaraco.classes     conda-forge/noarch::jaraco.classes-3.4.0-pyhd8ed1ab_0 
  jaraco.context     conda-forge/noarch::jaraco.context-4.3.0-pyhd8ed1ab_0 
  jaraco.functools   conda-forge/noarch::jaraco.functools-4.0.0-pyhd8ed1ab_0 
  jedi               conda-forge/noarch::jedi-0.19.1-pyhd8ed1ab_0 
  jeepney            conda-forge/noarch::jeepney-0.8.0-pyhd8ed1ab_0 
  jinja2             conda-forge/noarch::jinja2-3.1.3-pyhd8ed1ab_0 
  json5              conda-forge/noarch::json5-0.9.25-pyhd8ed1ab_0 
  jsonpointer        conda-forge/linux-64::jsonpointer-2.4-py311h38be061_3 
  jsonschema         conda-forge/noarch::jsonschema-4.21.1-pyhd8ed1ab_0 
  jsonschema-specif~ conda-forge/noarch::jsonschema-specifications-2023.12.1-pyhd8ed1ab_0 
  jsonschema-with-f~ conda-forge/noarch::jsonschema-with-format-nongpl-4.21.1-pyhd8ed1ab_0 
  jupyter-lsp        conda-forge/noarch::jupyter-lsp-2.2.5-pyhd8ed1ab_0 
  jupyter_client     conda-forge/noarch::jupyter_client-8.6.1-pyhd8ed1ab_0 
  jupyter_core       conda-forge/linux-64::jupyter_core-5.7.2-py311h38be061_0 
  jupyter_events     conda-forge/noarch::jupyter_events-0.10.0-pyhd8ed1ab_0 
  jupyter_server     conda-forge/noarch::jupyter_server-2.14.0-pyhd8ed1ab_0 
  jupyter_server_te~ conda-forge/noarch::jupyter_server_terminals-0.5.3-pyhd8ed1ab_0 
  jupyterlab         conda-forge/noarch::jupyterlab-4.1.6-pyhd8ed1ab_0 
  jupyterlab_pygmen~ conda-forge/noarch::jupyterlab_pygments-0.3.0-pyhd8ed1ab_1 
  jupyterlab_server  conda-forge/noarch::jupyterlab_server-2.26.0-pyhd8ed1ab_0 
  keyring            conda-forge/noarch::keyring-25.1.0-pyha804496_0 
  keyutils           conda-forge/linux-64::keyutils-1.6.1-h166bdaf_0 
  kiwisolver         conda-forge/linux-64::kiwisolver-1.4.5-py311h9547e67_1 
  krb5               conda-forge/linux-64::krb5-1.21.2-h659d440_0 
  lame               conda-forge/linux-64::lame-3.100-h166bdaf_1003 
  lcms2              conda-forge/linux-64::lcms2-2.16-hb7c19ff_0 
  ld_impl_linux-64   conda-forge/linux-64::ld_impl_linux-64-2.40-h41732ed_0 
  lerc               conda-forge/linux-64::lerc-4.0.0-h27087fc_0 
  libasprintf        conda-forge/linux-64::libasprintf-0.22.5-h661eb56_2 
  libasprintf-devel  conda-forge/linux-64::libasprintf-devel-0.22.5-h661eb56_2 
  libblas            conda-forge/linux-64::libblas-3.9.0-22_linux64_openblas 
  libbrotlicommon    conda-forge/linux-64::libbrotlicommon-1.1.0-hd590300_1 
  libbrotlidec       conda-forge/linux-64::libbrotlidec-1.1.0-hd590300_1 
  libbrotlienc       conda-forge/linux-64::libbrotlienc-1.1.0-hd590300_1 
  libcap             conda-forge/linux-64::libcap-2.69-h0f662aa_0 
  libcblas           conda-forge/linux-64::libcblas-3.9.0-22_linux64_openblas 
  libclang-cpp15     conda-forge/linux-64::libclang-cpp15-15.0.7-default_h127d8a8_5 
  libclang13         conda-forge/linux-64::libclang13-18.1.3-default_h5d6823c_0 
  libcups            conda-forge/linux-64::libcups-2.3.3-h4637d8d_4 
  libdeflate         conda-forge/linux-64::libdeflate-1.20-hd590300_0 
  libedit            conda-forge/linux-64::libedit-3.1.20191231-he28a2e2_2 
  libevent           conda-forge/linux-64::libevent-2.1.12-hf998b51_1 
  libexpat           conda-forge/linux-64::libexpat-2.6.2-h59595ed_0 
  libffi             conda-forge/linux-64::libffi-3.4.2-h7f98852_5 
  libflac            conda-forge/linux-64::libflac-1.4.3-h59595ed_0 
  libgcc-ng          conda-forge/linux-64::libgcc-ng-13.2.0-h807b86a_5 
  libgcrypt          conda-forge/linux-64::libgcrypt-1.10.3-hd590300_0 
  libgettextpo       conda-forge/linux-64::libgettextpo-0.22.5-h59595ed_2 
  libgettextpo-devel conda-forge/linux-64::libgettextpo-devel-0.22.5-h59595ed_2 
  libgfortran-ng     conda-forge/linux-64::libgfortran-ng-13.2.0-h69a702a_5 
  libgfortran5       conda-forge/linux-64::libgfortran5-13.2.0-ha4646dd_5 
  libglib            conda-forge/linux-64::libglib-2.80.0-hf2295e7_5 
  libgomp            conda-forge/linux-64::libgomp-13.2.0-h807b86a_5 
  libgpg-error       conda-forge/linux-64::libgpg-error-1.48-h71f35ed_0 
  libiconv           conda-forge/linux-64::libiconv-1.17-hd590300_2 
  libjpeg-turbo      conda-forge/linux-64::libjpeg-turbo-3.0.0-hd590300_1 
  liblapack          conda-forge/linux-64::liblapack-3.9.0-22_linux64_openblas 
  libllvm15          conda-forge/linux-64::libllvm15-15.0.7-hb3ce162_4 
  libllvm18          conda-forge/linux-64::libllvm18-18.1.3-h2448989_0 
  libnsl             conda-forge/linux-64::libnsl-2.0.1-hd590300_0 
  libogg             conda-forge/linux-64::libogg-1.3.4-h7f98852_1 
  libopenblas        conda-forge/linux-64::libopenblas-0.3.27-pthreads_h413a1c8_0 
  libopus            conda-forge/linux-64::libopus-1.3.1-h7f98852_1 
  libpng             conda-forge/linux-64::libpng-1.6.43-h2797004_0 
  libpq              conda-forge/linux-64::libpq-16.2-h33b98f1_1 
  libsndfile         conda-forge/linux-64::libsndfile-1.2.2-hc60ed4a_1 
  libsodium          conda-forge/linux-64::libsodium-1.0.18-h36c2ea0_1 
  libsqlite          conda-forge/linux-64::libsqlite-3.45.3-h2797004_0 
  libstdcxx-ng       conda-forge/linux-64::libstdcxx-ng-13.2.0-h7e041cc_5 
  libsystemd0        conda-forge/linux-64::libsystemd0-255-h3516f8a_1 
  libtiff            conda-forge/linux-64::libtiff-4.6.0-h1dd3fc0_3 
  libuuid            conda-forge/linux-64::libuuid-2.38.1-h0b41bf4_0 
  libvorbis          conda-forge/linux-64::libvorbis-1.3.7-h9c3ff4c_0 
  libwebp-base       conda-forge/linux-64::libwebp-base-1.4.0-hd590300_0 
  libxcb             conda-forge/linux-64::libxcb-1.15-h0b41bf4_0 
  libxcrypt          conda-forge/linux-64::libxcrypt-4.4.36-hd590300_1 
  libxkbcommon       conda-forge/linux-64::libxkbcommon-1.7.0-h662e7e4_0 
  libxml2            conda-forge/linux-64::libxml2-2.12.6-h232c23b_2 
  libzlib            conda-forge/linux-64::libzlib-1.2.13-hd590300_5 
  lz4-c              conda-forge/linux-64::lz4-c-1.9.4-hcb278e6_0 
  markupsafe         conda-forge/linux-64::markupsafe-2.1.5-py311h459d7ec_0 
  matplotlib         conda-forge/linux-64::matplotlib-3.8.4-py311h38be061_0 
  matplotlib-base    conda-forge/linux-64::matplotlib-base-3.8.4-py311h54ef318_0 
  matplotlib-inline  conda-forge/noarch::matplotlib-inline-0.1.7-pyhd8ed1ab_0 
  mistune            conda-forge/noarch::mistune-3.0.2-pyhd8ed1ab_0 
  more-itertools     conda-forge/noarch::more-itertools-10.2.0-pyhd8ed1ab_0 
  mpg123             conda-forge/linux-64::mpg123-1.32.6-h59595ed_0 
  munkres            conda-forge/noarch::munkres-1.1.4-pyh9f0ad1d_0 
  mysql-common       conda-forge/linux-64::mysql-common-8.3.0-hf1915f5_4 
  mysql-libs         conda-forge/linux-64::mysql-libs-8.3.0-hca2cd23_4 
  nbclient           conda-forge/noarch::nbclient-0.10.0-pyhd8ed1ab_0 
  nbconvert-core     conda-forge/noarch::nbconvert-core-7.16.3-pyhd8ed1ab_1 
  nbformat           conda-forge/noarch::nbformat-5.10.4-pyhd8ed1ab_0 
  ncurses            conda-forge/linux-64::ncurses-6.4.20240210-h59595ed_0 
  nest-asyncio       conda-forge/noarch::nest-asyncio-1.6.0-pyhd8ed1ab_0 
  notebook           conda-forge/noarch::notebook-7.1.3-pyhd8ed1ab_0 
  notebook-shim      conda-forge/noarch::notebook-shim-0.2.4-pyhd8ed1ab_0 
  nspr               conda-forge/linux-64::nspr-4.35-h27087fc_0 
  nss                conda-forge/linux-64::nss-3.98-h1d7d5a4_0 
  numpy              conda-forge/linux-64::numpy-1.26.4-py311h64a7726_0 
  openjpeg           conda-forge/linux-64::openjpeg-2.5.2-h488ebb8_0 
  openssl            conda-forge/linux-64::openssl-3.2.1-hd590300_1 
  overrides          conda-forge/noarch::overrides-7.7.0-pyhd8ed1ab_0 
  packaging          conda-forge/noarch::packaging-24.0-pyhd8ed1ab_0 
  pandocfilters      conda-forge/noarch::pandocfilters-1.5.0-pyhd8ed1ab_0 
  parso              conda-forge/noarch::parso-0.8.4-pyhd8ed1ab_0 
  pcre2              conda-forge/linux-64::pcre2-10.43-hcad00b1_0 
  pexpect            conda-forge/noarch::pexpect-4.9.0-pyhd8ed1ab_0 
  pickleshare        conda-forge/noarch::pickleshare-0.7.5-py_1003 
  pillow             conda-forge/linux-64::pillow-10.3.0-py311h18e6fac_0 
  pip                conda-forge/noarch::pip-24.0-pyhd8ed1ab_0 
  pixman             conda-forge/linux-64::pixman-0.43.2-h59595ed_0 
  pkgutil-resolve-n~ conda-forge/noarch::pkgutil-resolve-name-1.3.10-pyhd8ed1ab_1 
  platformdirs       conda-forge/noarch::platformdirs-4.2.0-pyhd8ed1ab_0 
  ply                conda-forge/noarch::ply-3.11-pyhd8ed1ab_2 
  prometheus_client  conda-forge/noarch::prometheus_client-0.20.0-pyhd8ed1ab_0 
  prompt-toolkit     conda-forge/noarch::prompt-toolkit-3.0.42-pyha770c72_0 
  psutil             conda-forge/linux-64::psutil-5.9.8-py311h459d7ec_0 
  pthread-stubs      conda-forge/linux-64::pthread-stubs-0.4-h36c2ea0_1001 
  ptyprocess         conda-forge/noarch::ptyprocess-0.7.0-pyhd3deb0d_0 
  pulseaudio-client  conda-forge/linux-64::pulseaudio-client-17.0-hb77b528_0 
  pure_eval          conda-forge/noarch::pure_eval-0.2.2-pyhd8ed1ab_0 
  pycparser          conda-forge/noarch::pycparser-2.22-pyhd8ed1ab_0 
  pyerfa             conda-forge/linux-64::pyerfa-2.0.1.4-py311h1f0f07a_0 
  pygments           conda-forge/noarch::pygments-2.17.2-pyhd8ed1ab_0 
  pyparsing          conda-forge/noarch::pyparsing-3.1.2-pyhd8ed1ab_0 
  pyqt               conda-forge/linux-64::pyqt-5.15.9-py311hf0fb5b6_5 
  pyqt5-sip          conda-forge/linux-64::pyqt5-sip-12.12.2-py311hb755f60_5 
  pysocks            conda-forge/noarch::pysocks-1.7.1-pyha2e5f31_6 
  python             conda-forge/linux-64::python-3.11.8-hab00c5b_0_cpython 
  python-dateutil    conda-forge/noarch::python-dateutil-2.9.0-pyhd8ed1ab_0 
  python-fastjsonsc~ conda-forge/noarch::python-fastjsonschema-2.19.1-pyhd8ed1ab_0 
  python-json-logger conda-forge/noarch::python-json-logger-2.0.7-pyhd8ed1ab_0 
  python_abi         conda-forge/linux-64::python_abi-3.11-4_cp311 
  pytz               conda-forge/noarch::pytz-2024.1-pyhd8ed1ab_0 
  pyvo               conda-forge/noarch::pyvo-1.5.1-pyhd8ed1ab_0 
  pyyaml             conda-forge/linux-64::pyyaml-6.0.1-py311h459d7ec_1 
  pyzmq              conda-forge/linux-64::pyzmq-26.0.0-py311h34ded2d_0 
  qt-main            conda-forge/linux-64::qt-main-5.15.8-hc9dc06e_21 
  readline           conda-forge/linux-64::readline-8.2-h8228510_1 
  referencing        conda-forge/noarch::referencing-0.34.0-pyhd8ed1ab_0 
  requests           conda-forge/noarch::requests-2.31.0-pyhd8ed1ab_0 
  rfc3339-validator  conda-forge/noarch::rfc3339-validator-0.1.4-pyhd8ed1ab_0 
  rfc3986-validator  conda-forge/noarch::rfc3986-validator-0.1.1-pyh9f0ad1d_0 
  rpds-py            conda-forge/linux-64::rpds-py-0.18.0-py311h46250e7_0 
  secretstorage      conda-forge/linux-64::secretstorage-3.3.3-py311h38be061_2 
  send2trash         conda-forge/noarch::send2trash-1.8.3-pyh0d859eb_0 
  setuptools         conda-forge/noarch::setuptools-69.5.1-pyhd8ed1ab_0 
  sip                conda-forge/linux-64::sip-6.7.12-py311hb755f60_0 
  six                conda-forge/noarch::six-1.16.0-pyh6c4a22f_0 
  sniffio            conda-forge/noarch::sniffio-1.3.1-pyhd8ed1ab_0 
  soupsieve          conda-forge/noarch::soupsieve-2.5-pyhd8ed1ab_1 
  stack_data         conda-forge/noarch::stack_data-0.6.2-pyhd8ed1ab_0 
  terminado          conda-forge/noarch::terminado-0.18.1-pyh0d859eb_0 
  tinycss2           conda-forge/noarch::tinycss2-1.2.1-pyhd8ed1ab_0 
  tk                 conda-forge/linux-64::tk-8.6.13-noxft_h4845f30_101 
  toml               conda-forge/noarch::toml-0.10.2-pyhd8ed1ab_0 
  tomli              conda-forge/noarch::tomli-2.0.1-pyhd8ed1ab_0 
  tornado            conda-forge/linux-64::tornado-6.4-py311h459d7ec_0 
  traitlets          conda-forge/noarch::traitlets-5.14.3-pyhd8ed1ab_0 
  types-python-date~ conda-forge/noarch::types-python-dateutil-2.9.0.20240316-pyhd8ed1ab_0 
  typing-extensions  conda-forge/noarch::typing-extensions-4.11.0-hd8ed1ab_0 
  typing_extensions  conda-forge/noarch::typing_extensions-4.11.0-pyha770c72_0 
  typing_utils       conda-forge/noarch::typing_utils-0.1.0-pyhd8ed1ab_0 
  tzdata             conda-forge/noarch::tzdata-2024a-h0c530f3_0 
  uri-template       conda-forge/noarch::uri-template-1.3.0-pyhd8ed1ab_0 
  urllib3            conda-forge/noarch::urllib3-2.2.1-pyhd8ed1ab_0 
  wcwidth            conda-forge/noarch::wcwidth-0.2.13-pyhd8ed1ab_0 
  webcolors          conda-forge/noarch::webcolors-1.13-pyhd8ed1ab_0 
  webencodings       conda-forge/noarch::webencodings-0.5.1-pyhd8ed1ab_2 
  websocket-client   conda-forge/noarch::websocket-client-1.7.0-pyhd8ed1ab_0 
  wheel              conda-forge/noarch::wheel-0.43.0-pyhd8ed1ab_1 
  xcb-util           conda-forge/linux-64::xcb-util-0.4.0-hd590300_1 
  xcb-util-image     conda-forge/linux-64::xcb-util-image-0.4.0-h8ee46fc_1 
  xcb-util-keysyms   conda-forge/linux-64::xcb-util-keysyms-0.4.0-h8ee46fc_1 
  xcb-util-renderut~ conda-forge/linux-64::xcb-util-renderutil-0.3.9-hd590300_1 
  xcb-util-wm        conda-forge/linux-64::xcb-util-wm-0.4.1-h8ee46fc_1 
  xkeyboard-config   conda-forge/linux-64::xkeyboard-config-2.41-hd590300_0 
  xorg-kbproto       conda-forge/linux-64::xorg-kbproto-1.0.7-h7f98852_1002 
  xorg-libice        conda-forge/linux-64::xorg-libice-1.1.1-hd590300_0 
  xorg-libsm         conda-forge/linux-64::xorg-libsm-1.2.4-h7391055_0 
  xorg-libx11        conda-forge/linux-64::xorg-libx11-1.8.9-h8ee46fc_0 
  xorg-libxau        conda-forge/linux-64::xorg-libxau-1.0.11-hd590300_0 
  xorg-libxdmcp      conda-forge/linux-64::xorg-libxdmcp-1.1.3-h7f98852_0 
  xorg-libxext       conda-forge/linux-64::xorg-libxext-1.3.4-h0b41bf4_2 
  xorg-libxrender    conda-forge/linux-64::xorg-libxrender-0.9.11-hd590300_0 
  xorg-renderproto   conda-forge/linux-64::xorg-renderproto-0.11.1-h7f98852_1002 
  xorg-xextproto     conda-forge/linux-64::xorg-xextproto-7.3.0-h0b41bf4_1003 
  xorg-xf86vidmodep~ conda-forge/linux-64::xorg-xf86vidmodeproto-2.3.1-h7f98852_1002 
  xorg-xproto        conda-forge/linux-64::xorg-xproto-7.0.31-h7f98852_1007 
  xz                 conda-forge/linux-64::xz-5.2.6-h166bdaf_0 
  yaml               conda-forge/linux-64::yaml-0.2.5-h7f98852_2 
  zeromq             conda-forge/linux-64::zeromq-4.3.5-h59595ed_1 
  zipp               conda-forge/noarch::zipp-3.17.0-pyhd8ed1ab_0 
  zlib               conda-forge/linux-64::zlib-1.2.13-hd590300_5 
  zstd               conda-forge/linux-64::zstd-1.5.5-hfc55251_0 


Proceed ([y]/n)? 

Downloading and Extracting Packages:
qt-main-5.15.8       | 58.5 MB   |                                       |   0% 

pillow-10.3.0        | 40.6 MB   |                                       |   0% 


libllvm18-18.1.3     | 36.6 MB   |                                       |   0% 



libllvm15-15.0.7     | 31.8 MB   |                                       |   0% 




python-3.11.8        | 29.3 MB   |                                       |   0% 





libclang-cpp15-15.0. | 16.4 MB   |                                       |   0% 






icu-73.2             | 11.5 MB   |                                       |   0% 







libclang13-18.1.3    | 10.5 MB   |                                       |   0% 








astropy-6.0.1        | 9.1 MB    |                                       |   0% 
numpy-1.26.4         | 7.7 MB    |                                       |   0% 










matplotlib-base-3.8. | 7.4 MB    |                                       |   0% 











jupyterlab-4.1.6     | 7.3 MB    |                                       |   0% 












babel-2.14.0         | 7.3 MB    |                                       |   0% 













libopenblas-0.3.27   | 5.3 MB    |                                       |   0% 














pyqt-5.15.9          | 5.1 MB    |                                       |   0% 















libcups-2.3.3        | 4.3 MB    |                                       |   0% 
















notebook-7.1.3       | 3.8 MB    |                                       |   0% 

















astroquery-0.4.7     | 3.8 MB    |                                       |   0% 


















libglib-2.80.0       | 3.7 MB    |                                       |   0% 



















libstdcxx-ng-13.2.0  | 3.7 MB    |                                       |   0% 




















tk-8.6.13            | 3.2 MB    |                                       |   0% 





















openssl-3.2.1        | 2.7 MB    |                                       |   0% 






















fonttools-4.51.0     | 2.7 MB    |                                       |   0% 























 ... (more hidden) ...
qt-main-5.15.8       | 58.5 MB   |                                       |   0% 

pillow-10.3.0        | 40.6 MB   |                                       |   0% 


libllvm18-18.1.3     | 36.6 MB   |                                       |   0% 




python-3.11.8        | 29.3 MB   |                                       |   0% 
libllvm15-15.0.7     | 31.8 MB   |                                       |   0% 
qt-main-5.15.8       | 58.5 MB   | ##6                                   |   7% 

pillow-10.3.0        | 40.6 MB   | ####4                                 |  12% 


libllvm18-18.1.3     | 36.6 MB   | ###1                                  |   9% 




python-3.11.8        | 29.3 MB   | #####                                 |  14% 
libllvm15-15.0.7     | 31.8 MB   | ####8                                 |  13% 
qt-main-5.15.8       | 58.5 MB   | #####4                                |  15% 

pillow-10.3.0        | 40.6 MB   | ########2                             |  22% 


libllvm18-18.1.3     | 36.6 MB   | #######6                              |  21% 




python-3.11.8        | 29.3 MB   | ##########2                           |  28% 
libllvm15-15.0.7     | 31.8 MB   | #########7                            |  26% 
qt-main-5.15.8       | 58.5 MB   | ########1                             |  22% 

pillow-10.3.0        | 40.6 MB   | ############3                         |  33% 


libllvm18-18.1.3     | 36.6 MB   | ###########2                          |  30% 




python-3.11.8        | 29.3 MB   | ###############6                      |  42% 
libllvm15-15.0.7     | 31.8 MB   | ##############8                       |  40% 
qt-main-5.15.8       | 58.5 MB   | ##########6                           |  29% 

pillow-10.3.0        | 40.6 MB   | ################1                     |  44% 


libllvm18-18.1.3     | 36.6 MB   | ###############7                      |  43% 




python-3.11.8        | 29.3 MB   | #####################4                |  58% 



libllvm15-15.0.7     | 31.8 MB   | ###################5                  |  53% 
qt-main-5.15.8       | 58.5 MB   | #############4                        |  36% 

pillow-10.3.0        | 40.6 MB   | ####################                  |  54% 


libllvm18-18.1.3     | 36.6 MB   | ####################3                 |  55% 




python-3.11.8        | 29.3 MB   | ###########################           |  73% 



libllvm15-15.0.7     | 31.8 MB   | ########################4             |  66% 
qt-main-5.15.8       | 58.5 MB   | ################1                     |  44% 

pillow-10.3.0        | 40.6 MB   | ########################              |  65% 


libllvm18-18.1.3     | 36.6 MB   | ########################7             |  67% 




python-3.11.8        | 29.3 MB   | ################################6     |  88% 



libllvm15-15.0.7     | 31.8 MB   | #############################5        |  80% 
qt-main-5.15.8       | 58.5 MB   | ##################8                   |  51% 

pillow-10.3.0        | 40.6 MB   | ###########################9          |  75% 


libllvm18-18.1.3     | 36.6 MB   | #############################1        |  79% 



libllvm15-15.0.7     | 31.8 MB   | ##################################8   |  94% 
qt-main-5.15.8       | 58.5 MB   | ######################2               |  60% 

pillow-10.3.0        | 40.6 MB   | ################################5     |  88% 


libllvm18-18.1.3     | 36.6 MB   | ##################################1   |  92% 
qt-main-5.15.8       | 58.5 MB   | ##########################1           |  71% 
qt-main-5.15.8       | 58.5 MB   | ###############################4      |  85% 
libclang-cpp15-15.0. | 16.4 MB   |                                       |   0% 
qt-main-5.15.8       | 58.5 MB   | ####################################9 | 100% 
libclang-cpp15-15.0. | 16.4 MB   | ###########                           |  30% 






icu-73.2             | 11.5 MB   |                                       |   0% 
libclang-cpp15-15.0. | 16.4 MB   | ####################8                 |  56% 






icu-73.2             | 11.5 MB   | ##############4                       |  39% 
libclang13-18.1.3    | 10.5 MB   |                                       |   0% 
libclang-cpp15-15.0. | 16.4 MB   | ############################8         |  78% 






icu-73.2             | 11.5 MB   | ########################7             |  67% 
libclang13-18.1.3    | 10.5 MB   | ###########1                          |  30% 
icu-73.2             | 11.5 MB   | ##################################5   |  94% 





libclang-cpp15-15.0. | 16.4 MB   | ####################################6 |  99% 








astropy-6.0.1        | 9.1 MB    |                                       |   0% 
libclang13-18.1.3    | 10.5 MB   | ######################5               |  61% 
astropy-6.0.1        | 9.1 MB    | ################4                     |  44% 
libclang13-18.1.3    | 10.5 MB   | ###################################1  |  95% 
astropy-6.0.1        | 9.1 MB    | #################################1    |  90% 
numpy-1.26.4         | 7.7 MB    |                                       |   0% 











jupyterlab-4.1.6     | 7.3 MB    |                                       |   0% 










matplotlib-base-3.8. | 7.4 MB    |                                       |   0% 
babel-2.14.0         | 7.3 MB    |                                       |   0% 









numpy-1.26.4         | 7.7 MB    | ###################8                  |  54% 











jupyterlab-4.1.6     | 7.3 MB    | ################6                     |  45% 










matplotlib-base-3.8. | 7.4 MB    | ################7                     |  45% 
babel-2.14.0         | 7.3 MB    | ###################2                  |  52% 
numpy-1.26.4         | 7.7 MB    | ###################################3  |  95% 











jupyterlab-4.1.6     | 7.3 MB    | #################################1    |  89% 










matplotlib-base-3.8. | 7.4 MB    | #################################     |  89% 
libopenblas-0.3.27   | 5.3 MB    | 1                                     |   0% 














pyqt-5.15.9          | 5.1 MB    | 1                                     |   0% 















libcups-2.3.3        | 4.3 MB    | 1                                     |   0% 
















notebook-7.1.3       | 3.8 MB    | 1                                     |   0% 
astroquery-0.4.7     | 3.8 MB    | 1                                     |   0% 
libopenblas-0.3.27   | 5.3 MB    | ####################1                 |  54% 














pyqt-5.15.9          | 5.1 MB    | ####################5                 |  55% 















libcups-2.3.3        | 4.3 MB    | #########################4            |  69% 
















notebook-7.1.3       | 3.8 MB    | #############################         |  78% 
astroquery-0.4.7     | 3.8 MB    | ############################4         |  77% 
libglib-2.80.0       | 3.7 MB    | 1                                     |   0% 



















libstdcxx-ng-13.2.0  | 3.7 MB    | 1                                     |   0% 




















tk-8.6.13            | 3.2 MB    | 1                                     |   0% 
fonttools-4.51.0     | 2.7 MB    | 2                                     |   1% 





















openssl-3.2.1        | 2.7 MB    | 2                                     |   1% 
libglib-2.80.0       | 3.7 MB    | #############################4        |  80% 



















libstdcxx-ng-13.2.0  | 3.7 MB    | ##################################3   |  93% 
 ... (more hidden) ...
libllvm15-15.0.7     | 31.8 MB   | ##################################### | 100% 
libllvm18-18.1.3     | 36.6 MB   | ##################################### | 100% 
icu-73.2             | 11.5 MB   | ##################################### | 100% 
python-3.11.8        | 29.3 MB   | ##################################### | 100% 
libclang13-18.1.3    | 10.5 MB   | ##################################### | 100% 
pillow-10.3.0        | 40.6 MB   | ##################################### | 100% 

pillow-10.3.0        | 40.6 MB   | ##################################### | 100% 
libclang-cpp15-15.0. | 16.4 MB   | ##################################### | 100% 
numpy-1.26.4         | 7.7 MB    | ##################################### | 100% 
astropy-6.0.1        | 9.1 MB    | ##################################### | 100% 
matplotlib-base-3.8. | 7.4 MB    | ##################################### | 100% 
jupyterlab-4.1.6     | 7.3 MB    | ##################################### | 100% 
notebook-7.1.3       | 3.8 MB    | ##################################### | 100% 
babel-2.14.0         | 7.3 MB    | ##################################### | 100% 












babel-2.14.0         | 7.3 MB    | ##################################### | 100% 
libcups-2.3.3        | 4.3 MB    | ##################################### | 100% 
astroquery-0.4.7     | 3.8 MB    | ##################################### | 100% 
libopenblas-0.3.27   | 5.3 MB    | ##################################### | 100% 













libopenblas-0.3.27   | 5.3 MB    | ##################################### | 100% 
pyqt-5.15.9          | 5.1 MB    | ##################################### | 100% 














pyqt-5.15.9          | 5.1 MB    | ##################################### | 100% 
openssl-3.2.1        | 2.7 MB    | ##################################### | 100% 





















openssl-3.2.1        | 2.7 MB    | ##################################### | 100% 
fonttools-4.51.0     | 2.7 MB    | ##################################### | 100% 






















fonttools-4.51.0     | 2.7 MB    | ##################################### | 100% 
libstdcxx-ng-13.2.0  | 3.7 MB    | ##################################### | 100% 
tk-8.6.13            | 3.2 MB    | ##################################### | 100% 




















tk-8.6.13            | 3.2 MB    | ##################################### | 100% 
libglib-2.80.0       | 3.7 MB    | ##################################### | 100% 
 ... (more hidden) ...























 ... (more hidden) ...
qt-main-5.15.8       | 58.5 MB   | ##################################### | 100% 
                      

                                                                                


                                                                                


                                                                                



                                                                                




                                                                                





                                                                                






                                                                                







                                                                                








                                                                                









                                                                                










                                                                                











                                                                                












                                                                                













                                                                                














                                                                                















                                                                                
















                                                                                

















                                                                                


















                                                                                



















                                                                                




















                                                                                





















                                                                                






















                                                                                




























































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































Preparing transaction: | 
/ 
- 
\ 
| 
/ 
- 
\ 
| 
/ 
- 
done
Verifying transaction: | 
/ 
- 
\ 
| 
/ 
- 
\ 
| 
/ 
- 
\ 
| 
/ 
- 
\ 
| 
/ 
- 
\ 
| 
/ 
- 
\ 
| 
/ 
- 
\ 
| 
/ 
- 
\ 
| 
/ 
- 
\ 
| 
done
Executing transaction: - 
\ 
| 
/ 
- 
\ 
| 
/ 
- 
\ 
| 
/ 
- 
\ 
| 
/ 
- 
\ 
| 
/ 
- 
\ 
| 
/ 
- 
\ 
| 
/ 
- 
\ 
| 
/ 
- 
\ 
| 
/ 
- 
\ 
| 
/ 
- 
\ 
| 
/ 
- 
\ 
| 
/ 
- 
\ 
| 
/ 
- 
\ 
| 
/ 
- 
\ 
| 
/ 
- 
\ 
| 
/ 
- 
\ 
| 
/ 
- 
\ 
| 
/ 
- 
\ 
| 
/ 
- 
\ 
| 
done
#
# To activate this environment, use
#
#     $ conda activate hasp-env
#
# To deactivate an active environment, use
#
#     $ conda deactivate
yes: standard output: Broken pipe

We also downloaded some additional packages that we will need outside of the HASP script to analyze the data. Once we activate the conda environment, as seen below, we can download the HASP script and run it. Note that you should run this in a terminal rather than in the cell below. Depending on your shell and operating system settings, you may need to restart your Jupyter notebook application in order for your environment to be fully activated in your notebook.

!conda activate hasp-env
CondaError: Run 'conda init' before 'conda activate'

Now that we created and activated a conda environment, we can now begin to download the HASP code.

2. Downloading and Installing the HASP Script#

We will download the HASP wrapper script from the HASP Github repository. Downloading this script will create a hasp directory, which will contain all of the required code.

You will only have to run one of the two options below, depending on your computer and Git settings.

Option A, using pip:#

pip install clones the reposoitory and install the packages according to the setup configuration of the repository. You may need to create a Personal Access Token (PAT) to use instead of your Github account’s password, since support for password authentication was removed in 2021. You can learn how to create a PAT here.

pip install git+https://github.com/spacetelescope/hasp.git

Option B, using git clone:#

While git clone still downloads the repository, it differs from pip in that it also downloads all of the history and files of the repository. If you have a password-protected SSH key, rather than a PAT, you can clone the repo by running the following code in your terminal. If you want to setup a SSH key, you can learn how to do so here.

git clone git@github.com:spacetelescope/hasp.git

After you’ve downloaded the code using Options A or B, run the command below to download the script’s dependencies:#

!pip install ./hasp/.
ERROR: Invalid requirement: './hasp/.'
Hint: It looks like a path. File './hasp/.' does not exist.

This will install additional dependencies using the pyproject.toml file.

To run the wrapper, We only need to download the following COS and/or STIS files:

  • X1D - the one-dimensional extracted product spectra.

  • SX1 - the one-dimensional extracted spectra from combined or cosmic-ray rejected images. This file is only produced with STIS data.

Make sure that all of these files, for every spectra you wish to abut, are in the same directory. The script will only co-add the files within this directory.

3. Running the Co-add Script#

3.1 Running the Script#

Now that we have the wrapper installed, we can now run the co-add script.

Command-line Option

Value

--input_directory (-i)

The path to the directory that contains the data to be co-added (required)

--output_directory (-o)

The path to the directory that will contain the newly co-added products** (required)

--threshold (-t)

The threshold for flux-based filtering (optional)

--snrmax (-s)

The maximum SNR for flux-based filtering (optional)

--no_keyword_filtering (-k)

Disable keyword based filtering (except for STIS PRISM data, which is always filtered) (optional)

**Note: If you wish to exclude certain data files from the co-add, you can just remove them from your input directory before you run the script.

To finally run the script, open your terminal, activate your conda environment, and run:

swrapper -i <YOUR_DATA_DIR> -o <YOUR_PRODUCT_DIR>

You should now have created the co-added spectra for your desired program.

3.2 Understanding the Output Files#

The script produces multiple different files with abutted spectra. Currently, the script outputs abutted products for a single program. It first creates co-added spectra for each grating of a single observation set:

hst_programID_instrument_targetname_grating_obset_cspec.fits

It then co-adds the spectra of all gratings for a single observation set:

hst_programID_instrument_targetname_allGratings_obset_cspec.fits

Finally, it co-adds all abutted observation sets’ spectra to create a final co-added product for a single target:

hst_programID_instrument_targetname_allGratings_cspec.fits

An example of this will be below. These filenames are the output files for a STIS GD71 dataset that is co-added in the CoaddTutorial.ipynb notebook example. Here, the programID is 7656, the instrument is STIS, and the targetname is gd71.

Step

Filename

Description

1

hst_7656_stis_gd71_g140l_o4a520_cspec.fits

Co-adding all G140L observations for the observation set, O4A520.

2

hst_7656_stis_gd71_g140l-g230l-g430l-g750l_o4a520_cspec.fits

Co-adding all observations taken at every grating for the observation set, O4A520.

3

hst_7656_stis_gd71_g140l-g230l-g430l-g750l_o4a5_cspec.fits

Co-adding all GD71 observations at each grating for this program, O4A5.

Note: HST file naming conventions use a combination of three letters and/or numbers to have a unique association between a PI’s proposal ID and program ID, meaning that o4a5 at the end of hst_7656_stis_gd71_g140l-g230l-g430l-g750l_o4a5_cspec.fits is essentially the program ID for our example. Check out more information on the MAST HST file naming convention page

About this Notebook#

Author: Sierra Gomez (sigomez@stsci.edu)

Updated on: 12/04/2023

This tutorial was generated to be in compliance with the STScI style guides and would like to cite the Jupyter guide in particular.

Space Telescope Logo