pynbody.analysis.profile.magnitudes

Contents

pynbody.analysis.profile.magnitudes#

pynbody.analysis.profile.magnitudes(pro, band='v')[source]#

Calculate magnitudes in each bin

When calling this from a profile object, the band can be specified after an underscore, e.g. p['magnitudes_b'] for b-band magnitudes.

For important information about the calculation of magnitudes and surface brightnesses, see the module documentation for pynbody.analysis.luminosity.