Skip to content

The `AgeWizard` release

Compare
Choose a tag to compare
@HeloiseS HeloiseS released this 02 Apr 03:59

Summary

At the core of v1.5 is the age_utils module and the AgeWizard pipeline.
The utilities provided in there allow the easy implementation of the age determination method for resolved stellar populations that is presented in Stevance et al. in prep.

Other more general upgrades were implemented as well and are summarised below.

New Features

New Modules

  • hoki.age_utils: Utilities to find ages using BPASS models.
  • hoki.utils.exceptions: Hoki specific error messages and warniings created to help debugging
  • hoki.utils.hoki_objects: contains the class HokiObject()

New Classes

hoki.age_utils

  • AgeWizard: Toolkit and pipeline to find ages by comparing observational data to model HRDs or CMDs.

hoki.utils.exceptions

  • HokiWarning
  • HokiUserWarning
  • HokiDeprecationWarning
  • HokiFormatWarning
  • HokiFormatError
  • HokiFatalError
  • HokiKeyError

New Functions

  • find_coordinates: Matches observational data to model CMD or HRD and retrieves their postional coordinates in Temperature-Luminosity space or Colour-Magnitude space
  • normalise_1d: Divides a 1D array by its total sum
  • calculate_individual_pdfs: Calculates the Age Probability Distribution Functions of an ensemble of sources by comparing them to a requested HRD or CMD
  • calculate_distributions: Searches through CMD/HRDs to collate the age distributions for a set of locations on the CMD/HRDs

Upgrades

Update to Colour Magnitude diagrams

  • CMD.make() now has a parameter mag_filter and col_filters instead of filter1 and filter2 so that the Magnitude Axis filter can be independent of the colour combination
  • CMD.at_log_age() now has tests and is included in the tutorials.

Update to hoki classes

Hoki classes like HRDiagrams or CMD are now all HokiObjects. At the moment all they inherit are the following class attributes:

t = hoki.constants.BPASS_TIME_BINS
dt = hoki.constants.BPASS_TIME_INTERVALS
time_weight_grid = hoki.constants.BPASS_TIME_WEIGHT_GRID

Associated Pull Requests:

  • Update to AgeWizard
  • Update to CMD
  • The AgeWizard Pull Request

Closed Issues: 2, 6, 7, 9