Commit 85451622 authored by Yannick Roehlly's avatar Yannick Roehlly
Browse files

Move copyright statement from docstring to comments

parent 70331706
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
""" # Copyright (C) 2012, 2013 Centre de données Astrophysiques de Marseille
Copyright (C) 2012, 2013 Centre de données Astrophysiques de Marseille # Licensed under the CeCILL-v2 licence - see Licence_CeCILL_V2-en.txt
Licensed under the CeCILL-v2 licence - see Licence_CeCILL_V2-en.txt # Author: Yannick Roehlly <yannick.roehlly@oamp.fr>
@author: Yannick Roehlly <yannick.roehlly@oamp.fr>
"""
This script is used the build pcigale internal database containing: This script is used the build pcigale internal database containing:
- The various filter transmission tables; - The various filter transmission tables;
- The Maraston 2005 single stellar population (SSP) data; - The Maraston 2005 single stellar population (SSP) data;
......
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
""" # Copyright (C) 2012, 2013 Centre de données Astrophysiques de Marseille
Copyright (C) 2012, 2013 Centre de données Astrophysiques de Marseille # Licensed under the CeCILL-v2 licence - see Licence_CeCILL_V2-en.txt
Licensed under the CeCILL-v2 licence - see Licence_CeCILL_V2-en.txt # Author: Yannick Roehlly <yannick.roehlly@oamp.fr>
@author: Yannick Roehlly <yannick.roehlly@oamp.fr>
"""
__version__ = "0.1-alpha" __version__ = "0.1-alpha"
import argparse import argparse
from .session.configuration import Configuration from .session.configuration import Configuration
from .stats.common import get_module as get_stats_module from .stats.common import get_module as get_stats_module
......
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
""" # Copyright (C) 2012, 2013 Centre de données Astrophysiques de Marseille
Copyright (C) 2012, 2013 Centre de données Astrophysiques de Marseille # Licensed under the CeCILL-v2 licence - see Licence_CeCILL_V2-en.txt
Licensed under the CeCILL-v2 licence - see Licence_CeCILL_V2-en.txt # Author: Yannick Roehlly <yannick.roehlly@oamp.fr>
@author: Yannick Roehlly <yannick.roehlly@oamp.fr>
"""
This is the database where we store some data used by pcigale: This is the database where we store some data used by pcigale:
- the information relative to the filters - the information relative to the filters
- the single stellar populations as defined in Marason (2005) - the single stellar populations as defined in Marason (2005)
......
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
""" # Copyright (C) 2013 Centre de données Astrophysiques de Marseille
Copyright (C) 2013 Centre de données Astrophysiques de Marseille # Licensed under the CeCILL-v2 licence - see Licence_CeCILL_V2-en.txt
Licensed under the CeCILL-v2 licence - see Licence_CeCILL_V2-en.txt # Author: Yannick Roehlly <yannick.roehlly@oamp.fr>
@author: Yannick Roehlly <yannick.roehlly@oamp.fr>
"""
import numpy as np import numpy as np
......
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
""" # Copyright (C) 2012 Centre de données Astrophysiques de Marseille
Copyright (C) 2012 Centre de données Astrophysiques de Marseille # Licensed under the CeCILL-v2 licence - see Licence_CeCILL_V2-en.txt
Licensed under the CeCILL-v2 licence - see Licence_CeCILL_V2-en.txt # Author: Yannick Roehlly <yannick.roehlly@oamp.fr>
@author: Yannick Roehlly <yannick.roehlly@oamp.fr>
"""
import numpy as np import numpy as np
......
# -*- coding: utf-8 -*- ## -*- coding: utf-8 -*-
""" # Copyright (C) 2013 Centre de données Astrophysiques de Marseille
Copyright (C) 2013 Centre de données Astrophysiques de Marseille # Licensed under the CeCILL-v2 licence - see Licence_CeCILL_V2-en.txt
Licensed under the CeCILL-v2 licence - see Licence_CeCILL_V2-en.txt # Author: Médéric Boquien <mederic.boquien@oamp.fr>
@author: Médéric Boquien <mederic.boquien@oamp.fr>
"""
class DL2007(object): class DL2007(object):
......
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
""" # Copyright (C) 2012 Centre de données Astrophysiques de Marseille
Copyright (C) 2012 Centre de données Astrophysiques de Marseille # Licensed under the CeCILL-v2 licence - see Licence_CeCILL_V2-en.txt
Licensed under the CeCILL-v2 licence - see Licence_CeCILL_V2-en.txt # Author: Yannick Roehlly <yannick.roehlly@oamp.fr>
@author: Yannick Roehlly <yannick.roehlly@oamp.fr>
"""
import numpy as np import numpy as np
from scipy import interpolate from scipy import interpolate
......
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
""" # Copyright (C) 2013 Centre de données Astrophysiques de Marseille
Copyright (C) 2013 Centre de données Astrophysiques de Marseille # Licensed under the CeCILL-v2 licence - see Licence_CeCILL_V2-en.txt
Licensed under the CeCILL-v2 licence - see Licence_CeCILL_V2-en.txt # Author: Yannick Roehlly <yannick.roehlly@oamp.fr>
@author: Yannick Roehlly <yannick.roehlly@oamp.fr>
"""
import numpy as np import numpy as np
......
# -*- coding: utf-8 -*- ## -*- coding: utf-8 -*-
""" # Copyright (C) 2012, 2013 Centre de données Astrophysiques de Marseille
Copyright (C) 2012, 2013 Centre de données Astrophysiques de Marseille # Licensed under the CeCILL-v2 licence - see Licence_CeCILL_V2-en.txt
Licensed under the CeCILL-v2 licence - see Licence_CeCILL_V2-en.txt # Author: Yannick Roehlly <yannick.roehlly@oamp.fr>
@author: Yannick Roehlly <yannick.roehlly@oamp.fr>
"""
import numpy as np import numpy as np
......
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
"""Copyright (C) 2012, 2013 Centre de données Astrophysiques de Marseille # Copyright (C) 2012, 2013 Centre de données Astrophysiques de Marseille
Licensed under the CeCILL-v2 licence - see Licence_CeCILL_V2-en.txt # Licensed under the CeCILL-v2 licence - see Licence_CeCILL_V2-en.txt
# Author: Yannick Roehlly <yannick.roehlly@oamp.fr>
@author: Yannick Roehlly <yannick.roehlly@oamp.fr>
"""
This class represents a Spectral Energy Distribution (SED) as used by pcigale. This class represents a Spectral Energy Distribution (SED) as used by pcigale.
Such SED is characterised by: Such SED is characterised by:
...@@ -36,7 +36,6 @@ Such SED is characterised by: ...@@ -36,7 +36,6 @@ Such SED is characterised by:
""" """
import numpy as np import numpy as np
from . import utils from . import utils
from scipy.constants import c from scipy.constants import c
......
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
""" # Copyright (C) 2012 Centre de données Astrophysiques de Marseille
Copyright (C) 2012 Centre de données Astrophysiques de Marseille # Licensed under the CeCILL-v2 licence - see Licence_CeCILL_V2-en.txt
Licensed under the CeCILL-v2 licence - see Licence_CeCILL_V2-en.txt # Author: Yannick Roehlly <yannick.roehlly@oamp.fr>
@author: Yannick Roehlly <yannick.roehlly@oamp.fr>
"""
from .common import * from .common import *
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
""" # Copyright (C) 2013 Centre de données Astrophysiques de Marseille
Copyright (C) 2013 Centre de données Astrophysiques de Marseille # Licensed under the CeCILL-v2 licence - see Licence_CeCILL_V2-en.txt
Licensed under the CeCILL-v2 licence - see Licence_CeCILL_V2-en.txt # Author: Yannick Roehlly <yannick.roehlly@oamp.fr>
@author: Yannick Roehlly <yannick.roehlly@oamp.fr>
"""
import numpy as np import numpy as np
from . import common from . import common
......
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
""" # Copyright (C) 2013 Centre de données Astrophysiques de Marseille
Copyright (C) 2013 Centre de données Astrophysiques de Marseille # Licensed under the CeCILL-v2 licence - see Licence_CeCILL_V2-en.txt
Licensed under the CeCILL-v2 licence - see Licence_CeCILL_V2-en.txt # Author: Médéric Boquien <mederic.boquien@oamp.fr>
@author: Médéric Boquien <mederic.boquien@oamp.fr>
"""
import numpy as np import numpy as np
import scipy.constants as cst import scipy.constants as cst
...@@ -56,7 +52,7 @@ class Module(common.SEDCreationModule): ...@@ -56,7 +52,7 @@ class Module(common.SEDCreationModule):
def _init_code(self): def _init_code(self):
"""Build the model for a given set of parameters.""" """Build the model for a given set of parameters."""
T = float(self.parameters["temperature"]) T = float(self.parameters["temperature"])
beta = float(self.parameters["beta"]) beta = float(self.parameters["beta"])
alpha = float(self.parameters["alpha"]) alpha = float(self.parameters["alpha"])
......
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
""" # Copyright (C) 2012, 2013 Centre de données Astrophysiques de Marseille
Copyright (C) 2012, 2013 Centre de données Astrophysiques de Marseille # Licensed under the CeCILL-v2 licence - see Licence_CeCILL_V2-en.txt
Licensed under the CeCILL-v2 licence - see Licence_CeCILL_V2-en.txt # Author: Yannick Roehlly <yannick.roehlly@oamp.fr>
@author: Yannick Roehlly <yannick.roehlly@oamp.fr>
"""
from importlib import import_module from importlib import import_module
......
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
""" # Copyright (C) 2012, 2013 Centre de données Astrophysiques de Marseille
Copyright (C) 2012, 2013 Centre de données Astrophysiques de Marseille # Licensed under the CeCILL-v2 licence - see Licence_CeCILL_V2-en.txt
Licensed under the CeCILL-v2 licence - see Licence_CeCILL_V2-en.txt # Author: Yannick Roehlly <yannick.roehlly@oamp.fr>
@author: Yannick Roehlly <yannick.roehlly@oamp.fr>
"""
from . import common from . import common
from ...data import Database from ...data import Database
......
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
""" # Copyright (C) 2013 Centre de données Astrophysiques de Marseille
Copyright (C) 2013 Centre de données Astrophysiques de Marseille # Licensed under the CeCILL-v2 licence - see Licence_CeCILL_V2-en.txt
Licensed under the CeCILL-v2 licence - see Licence_CeCILL_V2-en.txt # Author: Médéric Boquien <mederic.boquien@oamp.fr>
@author: Médéric Boquien <mederic.boquien@oamp.fr>
"""
from . import common from . import common
import numpy as np import numpy as np
......
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
""" # Copyright (C) 2013 Centre de données Astrophysiques de Marseille
Copyright (C) 2013 Centre de données Astrophysiques de Marseille # Licensed under the CeCILL-v2 licence - see Licence_CeCILL_V2-en.txt
Licensed under the CeCILL-v2 licence - see Licence_CeCILL_V2-en.txt # Author: Yannick Roehlly <yannick.roehlly@oamp.fr>
@author: Yannick Roehlly <yannick.roehlly@oamp.fr>
"""
import numpy as np import numpy as np
from . import common from . import common
......
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
"""Copyright (C) 2013 Centre de données Astrophysiques de Marseille # Copyright (C) 2013 Centre de données Astrophysiques de Marseille
Licensed under the CeCILL-v2 licence - see Licence_CeCILL_V2-en.txt # Licensed under the CeCILL-v2 licence - see Licence_CeCILL_V2-en.txt
# Author: Yannick Roehlly <yannick.roehlly@oamp.fr>
@author: Yannick Roehlly <yannick.roehlly@oamp.fr>
"""
This module implements the attenuation base on a power law as defined This module implements the attenuation base on a power law as defined
in Charlot and Fall (2000) with a UV bump added. in Charlot and Fall (2000) with a UV bump added.
""" """
import numpy as np import numpy as np
from . import common from . import common
from ...data import Database from ...data import Database
......
#-*- coding: utf-8 -*- # -*- coding: utf-8 -*-
""" # Copyright (C) 2012, 2013 Centre de données Astrophysiques de Marseille
Copyright (C) 2012, 2013 Centre de données Astrophysiques de Marseille # Licensed under the CeCILL-v2 licence - see Licence_CeCILL_V2-en.txt
Licensed under the CeCILL-v2 licence - see Licence_CeCILL_V2-en.txt # Author: Yannick Roehlly <yannick.roehlly@oamp.fr>
@author: Yannick Roehlly <yannick.roehlly@oamp.fr>
"""
import numpy as np import numpy as np
from . import common from . import common
......
#-*- coding: utf-8 -*- # -*- coding: utf-8 -*-
""" # Copyright (C) 2013 Centre de données Astrophysiques de Marseille
Copyright (C) 2012, 2013 Centre de données Astrophysiques de Marseille # Licensed under the CeCILL-v2 licence - see Licence_CeCILL_V2-en.txt
Licensed under the CeCILL-v2 licence - see Licence_CeCILL_V2-en.txt # Author: Manuela Raimbault
@author: Manuela Raimbault
"""
import numpy as np import numpy as np
from scipy.constants import c from scipy.constants import c
from . import common from . import common
......
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