Skip to content

Releases: jfcrenshaw/lbg_tools

v1.7.0

Choose a tag to compare

@jfcrenshaw jfcrenshaw released this 18 Aug 22:00
8e65cfa

Highlights

Lyman-break bias now depends on the magnitude limit, not just redshift, and the
interloper bias is an input rather than a formula. Both change numerical output.
TomographicBin construction is also ~11× faster.

Changed — affects results

  • LBG bias is now b(m, z), eq. 2.7 of Wilson & White 2019,
    replacing the redshift-only power law 0.28 (1+z)^1.6. That relation gave the same
    bias to samples 2 magnitudes apart in depth. For an LSST-like ten-year dropout
    selection the effective bias moves by factors of 1.4, 0.8 and 1.2 for u, g and r.
  • Interloper bias is the new b_interlopers argument, constant, default 1.5.
    It was previously the LBG power law evaluated at low redshift.
  • stretch no longer moves the mean. It pivoted on the midpoint of the redshift
    grid rather than the mean of the distribution, so a 10% stretch also shifted the
    mean by ~0.005. It now scales the width and nothing else.
  • mag_bias uses a central difference, with the step exposed as dm_mag_bias.
  • mag_cut and m5_det must be scalars. Arrays previously failed with a numpy
    broadcast error from inside the integrals; they now raise immediately.
  • A shift that pushes every interloper below zero redshift raises.
  • table0 on Completeness is now the table as read. Conditioning ran in place, so
    it had been the conditioned table despite its name.

Added

  • lbg_bias(mag_cut, z), usable without building a bin. Warns outside 24 < m < 25.5,
    the depths Wilson & White fit, and if the relation returns non-positive bias.
  • z_lbg, nz_lbg, z_interlopers, nz_interlopers on TomographicBin. nz
    concatenates the two populations across an empty gap, so integrating it directly
    is wrong; integrate the halves.
  • b_interlopers and dm_mag_bias arguments and properties.

Performance

  • Completeness tables are loaded and conditioned once per band and shared. Depth
    enters completeness only as m - m5_det, so every depth and cut of a band shares
    one table. TomographicBin construction: 13.4 ms → 1.2 ms.
  • mag_bias is computed once per bin instead of on every access.

v1.6.0

Choose a tag to compare

@jfcrenshaw jfcrenshaw released this 03 Oct 20:03
f622ed7

New features:

  • Added additional photo-z nuisance parameters, such as stretch, and shift and stretch for interlopers.

v1.5.0

Choose a tag to compare

@jfcrenshaw jfcrenshaw released this 02 Oct 22:28
8a6f03d

New features:

  • You can now specify the cosmology object used for luminosity distance and differential comoving volume calculations. You can specify cosmologies using either Astropy or CCL cosmology objects. If you wish to use CCL objects, however, you will need to install CCL yourself, as it does not come packaged with lbg_tools

v1.4.1

Choose a tag to compare

@jfcrenshaw jfcrenshaw released this 30 Jul 01:25

This release contains no code changes. It exists solely to trigger a deposit on Zenodo.

v1.4.0

Choose a tag to compare

@jfcrenshaw jfcrenshaw released this 02 May 00:34

New features:

  • You can now provide additional parameters to the Completeness constructor inside TomographicBin

v1.3.0

Choose a tag to compare

@jfcrenshaw jfcrenshaw released this 18 Mar 19:01

New features:

  • Added ability to scale IGM optical depth

v1.2.0

Choose a tag to compare

@jfcrenshaw jfcrenshaw released this 22 Jan 20:09

New features:

  • More control over how Completeness handles extrapolation
  • Real-time validation that Completeness extrapolates properly at the deep end.

v1.1.1

Choose a tag to compare

@jfcrenshaw jfcrenshaw released this 13 Jan 12:51

Bug fixes:

  • Fixed mag_bias calculation in TomographicBin when f_interlopers or dz is non-zero.

v1.1.0

Choose a tag to compare

@jfcrenshaw jfcrenshaw released this 19 Dec 22:17

New features:

  • Two IGM models, using formulae from Inoue 2014 and Madau
  • Bandpass and SED classes, enabling LBG SED modeling and calculating/setting apparent magnitudes in different bandpasses
  • Low-redshift interloper and n(z)-shift parameters added to TomographicBin class

Bug fixes:

  • Fixed typo in luminosity function exponents. New LF has lower number densities.

Breaking changes

  • Renamed DataDirectory and data to Library and library, respectively. This is minor and not many others are using this code yet, so I decided not to bump the major version number.

v.1.0.2

Choose a tag to compare

@jfcrenshaw jfcrenshaw released this 06 Dec 21:11

Initial release