Host galaxy models#

A host galaxy (Host) is a spectrum times an image. Its model is named "spatial:spectral", and each part is either analytic or taken from a real nearby galaxy:

Part

Analytic

Real galaxy (NGC)

spatial

sersic: Sersic profile, physical size r_kpc (default 5), n=2, ellip=0.3, theta=-30.

ngcXXXX: r-band image of the galaxy (63 available).

spectral

bb or bb-<T>: black body of temperature T [K] (default 5000).

ngcXXXX: spectral template of the galaxy (90 available).

A bare NGC name is the image and the spectrum of that galaxy ("ngc0628" is "ngc0628:ngc0628"); parts can be mixed freely, e.g. "sersic:ngc4552" (smooth profile, elliptical-galaxy spectrum) or "ngc5194:bb-6000". Names are case insensitive.

import slicersim

sn = slicersim.LazuliSupernova(redshift=0.5, host="ngc5194")          # image + spectrum
sn = slicersim.LazuliSupernova(redshift=0.5, host="sersic:ngc3627")   # spectrum-only galaxy
sn = slicersim.LazuliSupernova(redshift=0.5,
                               host={"refmodel": "ngc4552", "magabs": -22,
                                     "position": (5, -3), "rotation": 30})

Whatever the model, the host brightness is set by magabs (default -21, rest-frame sdssr), and it takes the redshift of the point source. See get_host_config for all parameters and Key concepts for the scene.

Note

The NGC data come from the lazuli_astrosim_data package: r-band images from the DESI Legacy Surveys (DR10), with redshifts and sizes from the Siena Galaxy Atlas (SGA-2020), and spectral templates from the Brown et al. (2014) atlas of galaxy SEDs.

What to look at when choosing#

Size. An NGC image keeps the physical size of the galaxy: its image is rescaled from the galaxy’s own (tiny) redshift to the simulated one. At low redshift a large galaxy overfills the field: only its central part is simulated. The semi-major axis (SMA, at 26 mag/arcsec² in r) gives the order of magnitude: Lazuli’s wide field is 4.6" across, i.e. about 9 kpc at z = 0.1, 21 kpc at z = 0.3 and 38 kpc at z = 1.

Four NGC galaxies (NGC 5194, 4486, 4631, 3310) projected onto the Lazuli wide field at redshifts 0.1, 0.3, 0.6 and 1.0, with the fraction of the galaxy flux inside the field.

Four galaxies in the Lazuli wide field at increasing redshift (image only, before PSF; the label is the fraction of the galaxy flux in the field). At the lowest redshifts the galaxy image pixel is close to the spaxel size and the resampling can leave a faint grid pattern (NGC 4486 at z = 0.1).#

Spectrum. The templates go from passive ellipticals (red, strong 4000 Å break, no emission lines) to star-forming and starburst galaxies (blue, strong emission lines); the g − r colour sorts them. All templates span 0.01–35 µm rest-frame, so they cover the Lazuli range (0.4–1.7 µm) at any redshift.

The 90 NGC spectral templates normalised at 5500 Angstrom, colour coded by g-r, with the rest-frame range observed by Lazuli at z = 0 and z = 1.

All spectral templates, normalised at 5500 Å and colour coded by g − r. The shaded areas are the rest-frame ranges observed by Lazuli at z = 0 and z = 1.#

All galaxies#

The model name is the recommended one: the bare name when both parts work, otherwise the part that works with an analytic one. Own redshift and SMA are those of SGA-2020 (– if the galaxy is not in the catalogue shipped with lazuli_astrosim_data); the SMA is converted to kpc at the galaxy’s own redshift, as slicersim does to rescale the image.

Name

Model name

Image

Spectrum

Own redshift

SMA [kpc]

g − r

Note

ngc0337

ngc0337

yes

yes

0.0055

13

0.51

ngc0474

ngc0474:bb-5000

yes

yes

0.0078

20

0.75

spectrum unusable

ngc0520

sersic:ngc0520

–

yes

–

–

–

ngc0584

ngc0584

yes

yes

0.0062

24

0.79

ngc0628

ngc0628

yes

yes

0.0022

13

0.60

ngc0660

ngc0660

yes

yes

0.0028

18

0.93

ngc0695

ngc0695

yes

yes

0.0324

18

0.72

ngc0750

ngc0750:bb-5000

yes

yes

0.0170

66

0.89

spectrum unusable

ngc0855

sersic:ngc0855

–

yes

–

–

–

ngc1068

ngc1068

yes

yes

0.0038

19

0.68

ngc1144

sersic:ngc1144

–

yes

–

–

–

ngc1275

sersic:ngc1275

–

yes

–

–

–

ngc1614

ngc1614

yes

yes

0.0159

17

0.73

ngc2388

ngc2388

yes

yes

0.0139

19

1.05

ngc2403

sersic:ngc2403

–

yes

–

–

–

ngc2537

ngc2537

yes

yes

0.0015

3

0.60

ngc2623

ngc2623

yes

yes

0.0183

29

0.69

ngc2798

sersic:ngc2798

–

yes

–

–

–

ngc3049

ngc3049

yes

yes

0.0050

14

0.64

ngc3079

sersic:ngc3079

–

yes

–

–

–

ngc3190

ngc3190

yes

yes

0.0044

26

0.82

ngc3198

ngc3198

yes

yes

0.0022

14

0.61

ngc3265

ngc3265

yes

yes

0.0047

4

0.73

ngc3310

ngc3310

yes

yes

0.0033

7

0.34

ngc3351

ngc3351

yes

yes

0.0026

13

0.77

ngc3379

–

–

yes

–

–

–

spectrum unusable

ngc3521

ngc3521

yes

yes

0.0027

15

0.73

ngc3627

sersic:ngc3627

–

yes

–

–

–

ngc3690

ngc3690

yes

yes

0.0104

18

0.56

ngc3773

ngc3773

yes

yes

0.0033

4

0.62

ngc3870

ngc3870

yes

yes

0.0025

3

0.51

ngc3938

ngc3938

yes

yes

0.0027

10

0.59

ngc4088

ngc4088

yes

yes

0.0025

12

0.71

ngc4125

sersic:ngc4125

–

yes

–

–

–

ngc4138

sersic:ngc4138

–

yes

–

–

–

ngc4168

ngc4168:bb-5000

yes

yes

0.0076

21

0.76

spectrum unusable

ngc4194

sersic:ngc4194

–

yes

–

–

–

ngc4254

ngc4254

yes

yes

0.0080

31

0.65

ngc4321

ngc4321

yes

yes

0.0053

29

0.68

ngc4365

ngc4365:bb-5000

yes

yes

0.0041

21

0.80

spectrum unusable

ngc4385

ngc4385

yes

yes

0.0072

14

0.63

ngc4387

–

–

yes

–

–

–

spectrum unusable

ngc4450

ngc4450

yes

yes

0.0065

33

0.78

ngc4458

ngc4458:bb-5000

yes

yes

0.0023

4

0.73

spectrum unusable

ngc4473

ngc4473:bb-5000

yes

yes

0.0078

42

0.79

spectrum unusable

ngc4486

ngc4486:bb-5000

yes

yes

0.0043

23

0.83

spectrum unusable

ngc4536

ngc4536

yes

yes

0.0060

35

0.66

ngc4550

ngc4550:bb-5000

yes

yes

0.0014

5

0.75

spectrum unusable

ngc4551

ngc4551:bb-5000

yes

yes

0.0040

7

0.81

spectrum unusable

ngc4552

ngc4552

yes

yes

0.0011

5

0.82

ngc4559

ngc4559

yes

yes

0.0027

18

0.49

ngc4569

sersic:ngc4569

yes

yes

-0.0007

–

0.66

image (z ≤ 0) unusable

ngc4579

ngc4579

yes

yes

0.0051

24

0.78

ngc4594

sersic:ngc4594

–

yes

–

–

–

ngc4621

ngc4621:bb-5000

yes

yes

0.0015

8

0.78

spectrum unusable

ngc4625

ngc4625

yes

yes

0.0020

3

0.57

ngc4631

ngc4631

yes

yes

0.0021

30

0.58

ngc4660

ngc4660:bb-5000

yes

yes

0.0037

9

0.65

spectrum unusable

ngc4670

sersic:ngc4670

–

yes

–

–

–

ngc4676_a

sersic:ngc4676_a

–

yes

–

–

–

ngc4725

ngc4725

yes

yes

0.0040

42

0.76

ngc4826

sersic:ngc4826

–

yes

–

–

–

ngc4860

ngc4860:bb-5000

yes

yes

0.0266

28

0.83

spectrum unusable

ngc4889

ngc4889:bb-5000

yes

yes

0.0215

–

–

spectrum unusable

ngc4926

ngc4926:bb-5000

yes

yes

0.0262

37

0.82

spectrum unusable

ngc5033

ngc5033

yes

yes

0.0029

21

0.77

ngc5055

sersic:ngc5055

–

yes

–

–

–

ngc5104

ngc5104

yes

yes

0.0186

33

0.85

ngc5194

ngc5194

yes

yes

0.0015

13

0.67

ngc5195

sersic:ngc5195

–

yes

–

–

–

ngc5256

sersic:ngc5256

–

yes

–

–

–

ngc5257

ngc5257

yes

yes

0.0227

29

0.65

ngc5258

sersic:ngc5258

–

yes

–

–

–

ngc5653

ngc5653

yes

yes

0.0119

18

0.70

ngc5713

ngc5713

yes

yes

0.0065

14

0.67

ngc5866

sersic:ngc5866

–

yes

–

–

–

ngc5953

sersic:ngc5953

–

yes

–

–

–

ngc5992

ngc5992

yes

yes

0.0319

27

0.41

ngc6052

sersic:ngc6052

–

yes

–

–

–

ngc6090

ngc6090

yes

yes

0.0295

29

0.69

ngc6240

ngc6240

yes

yes

0.0243

59

0.90

ngc7331

sersic:ngc7331

–

yes

–

–

–

ngc7585

ngc7585:bb-5000

yes

yes

0.0115

31

0.76

spectrum unusable

ngc7591

ngc7591

yes

yes

0.0165

27

0.85

ngc7592

sersic:ngc7592

–

yes

–

–

–

ngc7673

ngc7673

yes

yes

0.0114

12

0.38

ngc7674

ngc7674

yes

yes

0.0291

25

0.61

ngc7679

ngc7679

yes

yes

0.0172

21

0.55

ngc7714

ngc7714

yes

yes

0.0093

18

0.58

ngc7771

sersic:ngc7771

–

yes

–

–

–

Known issues#

Every model of this page is tested when the page is built; those that fail are flagged in orange in the gallery and in the Note column above.

  • 17 spectral templates fail (ValueError: wavelength must be monotonically increasing), mostly early-type galaxies, e.g. NGC 4486 (M87). The templates are fine, but their wavelength sampling is irregular, and sncosmo.Spectrum, used to normalise the magnitude in generic_get_flux, fails to rebuild their bin edges. Meanwhile, use the galaxy image with another spectrum, e.g. "ngc4486:bb-5000" or "ngc4486:ngc4552".

  • NGC 4569 image: the galaxy is blueshifted (z = -0.0007), so its image cannot be rescaled to another redshift and gives an empty host. Use its spectrum only, "sersic:ngc4569".

The figures and tables of this page are produced by docs/gallery/make_galaxy_gallery.py; re-run it after any change of lazuli_astrosim_data.