ir_agn_templates_dale2014.py 1.05 KB
Newer Older
1
2
3
## -*- coding: utf-8 -*-
# Copyright (C) 2013 Centre de données Astrophysiques de Marseille
# Licensed under the CeCILL-v2 licence - see Licence_CeCILL_V2-en.txt
4
# Author: Laure Ciesla <ciesla@physics.uoc.gr>
5
6


7
class Dale2014(object):
8
9
10
11
12
13
14
    """Dale et al (2014) IR templates containing an AGN component.

    This class holds the data associated with the Dale et al (2014)
    dust templates.

    """

15
    def __init__(self, frac_agn, alpha, wave, lumin):
16
17
18
19
        """Create a new IR model

        Parameters
        ----------
20
        frac_agn: float
21
22
23
24
25
26
27
28
29
30
31
32
33
            Contribution of the AGN
        alpha: float
            Dale & Helou (2002) alpha slope.
        lir: float
            Total IR luminosity between 8 and 1000 microns (AGN + SB)
        wave: array
            Vector of the λ grid used in the templates [nm]
        lumin: array
            Model data in an array containing the luminosity density
            versus the wavelength λ

        """

34
        self.fracAGN = frac_agn
35
36
37
        self.alpha = alpha
        self.wave = wave
        self.lumin = lumin