synthesizer.download_data

A module for downloading different datasets required by synthesizer.

This module contains functions for downloading different datasets required by synthesizer. This includes the test grid data, dust emission grid from Draine and Li (2007) and CAMELS simulation data.

An entry point (synthesizer-download) is provided for each dataset, allowing the user to download the data from the command line. Although the script can be called directly.

Example Usage:

synthesizer-download –test-grids –destination /path/to/destination synthesizer-download –dust-grid –destination /path/to/destination synthesizer-download –camels-data –destination /path/to/destination

Functions

synthesizer.download_data.download()[source]

Download different datasets based on command line args.

synthesizer.download_data.download_agn_test_grids(destination)[source]

Download the AGN test grids for synthesizer.

Parameters:

destination (str) – The path to the destination directory.

synthesizer.download_data.download_camels_data(snap, lh, destination)[source]

Download a CAMELs dataset.

Parameters:
  • snap (str) – The snapshot tag to download.

  • lh (str) – The LH variant tag of the sim to download.

  • destination (str) – The path to the destination directory.

synthesizer.download_data.download_dust_grid(destination)[source]

Download the Drain and Li (2007) dust emission grid for synthesizer.

Parameters:

destination (str) – The path to the destination directory.

synthesizer.download_data.download_stellar_test_grids(destination)[source]

Download the SPS test grids for synthesizer.

Parameters:

destination (str) – The path to the destination directory.

synthesizer.download_data.download_test_grids(destination)[source]

Download the test grids for synthesizer.

Parameters:

destination (str) – The path to the destination directory.