Skip to content

Version 1.3.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@HeloiseS HeloiseS released this 25 Nov 03:44

New Feature

  • load.nebular_lines() has been added to load the nebular emission line data into data frames with the correct column names. The nebular emission line data download link and more info can be found on this page: https://bpass.auckland.ac.nz/4.html

Dev Feature

  • OUTPUTS_PATH variable created in hoki.constants, as well as the outputs_path setting in yaml. This is mostly to make my life easier so I'm not counting it as a "feature" of hoki, although it could be later if I added a way in the code to easily change that setting

Bug Fixes

  • HRDiagrams.plot() would crash if abundances was not given a tuple. Added safeguards to check the type and let the user know what type is expected.
  • Now automatically turns hr_type into a string to avoid giving people an error if they typed the right code but forgot quotes.
  • spec.dopcor only accepted wavelength columns under the name 'WL' - now it finds the wavelength within the given dataframe based on column index. The default is 0 because most of the time wavelength is the first column, but this is an option that users can now change.

Corresponding pypi release