BDNYC / sedkit

Spectral energy distribution construction and analysis tools
MIT License
16 stars 13 forks source link

Demo Typo #94

Open SpencerRK opened 4 months ago

SpencerRK commented 4 months ago

A small error, but in the demo the step where you add the spectrum files, there is a type where a q is inserted in place of a u. The proper command should be:

from pkg_resources import resource_filename spec_file = resource_filename('sedkit', 'data/Trappist-1_NIR.fits') import astropy.units as u trap1.add_spectrum_file(spec_file, wave_units=u.um, flux_units=u.erg/u.s/u.cm**2/u.AA)

hover2pi commented 4 months ago

Ah! Thanks for letting me know @SpencerRK ! I'll include a fix in the next release.