Commit 928314ae authored by Médéric Boquien's avatar Médéric Boquien

Allow pseudo filters for lines to be imported manually with pcigale-filter add.

parent 0f4f80e8
......@@ -70,7 +70,8 @@ def add_filters(fnames):
# We normalise the filter and compute the pivot wavelength. If the
# filter is a pseudo-filter used to compute line fluxes, it should
# not be normalised.
if not filter_name.startswith('PSEUDO'):
if not (filter_name.startswith('PSEUDO') or
filter_name.startswith('linefilter.')):
new_filter.normalise()
else:
new_filter.pivot_wavelength = np.mean(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment