ACCarnall / bagpipes

Bagpipes is a state of the art code for generating realistic model galaxy spectra and fitting these to spectroscopic and photometric observations. Users should install with pip, not by cloning the repository.
http://bagpipes.readthedocs.io
GNU General Public License v3.0
71 stars 37 forks source link

Line fluxes in fit #47

Open mariabile opened 11 months ago

mariabile commented 11 months ago

Hello, is it possible to fix some line fluxes in the fitting? I have a galaxy with several photometric points and a couple of line fluxes that I want to include. Is that possible=

ACCarnall commented 11 months ago

Hi there, fitting line fluxes isn't currently something the code supports, but you can fit line equivalent widths. I've attached some example code on how to do this.

indices_example.txt

mariabile commented 11 months ago

Hello, thank you so much! in the example what kind of units are used?

ACCarnall commented 11 months ago

It's rest-frame equivalent widths in Angstroms.

Cheers, Adam