From 631cdfce904456ace5bbe02b0049b0d4eb6126fa Mon Sep 17 00:00:00 2001 From: Arianna Renzini Date: Wed, 24 Jan 2024 09:44:00 -0800 Subject: [PATCH] adding notes about scripts --- popstock/PopulationOmegaGW.py | 19 +++++++++++++++++++ popstock/constants.py | 19 +++++++++++++++++++ popstock/util.py | 19 +++++++++++++++++++ population_O3.py | 18 ++++++++++++++++++ 4 files changed, 75 insertions(+) diff --git a/popstock/PopulationOmegaGW.py b/popstock/PopulationOmegaGW.py index 9a33990..077298b 100644 --- a/popstock/PopulationOmegaGW.py +++ b/popstock/PopulationOmegaGW.py @@ -1,3 +1,22 @@ +# -*- coding: utf-8 -*- +# Copyright (C) Arianna I. Renzini 2024 +# +# This program is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the +# Free Software Foundation; either version 3 of the License, or (at your +# option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General +# Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# +# This file is part of the popstock package. + import numpy as np import bilby diff --git a/popstock/constants.py b/popstock/constants.py index 7f0d9fb..0e93097 100644 --- a/popstock/constants.py +++ b/popstock/constants.py @@ -1,3 +1,22 @@ +# -*- coding: utf-8 -*- +# Copyright (C) Arianna I. Renzini 2024 +# +# This program is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the +# Free Software Foundation; either version 3 of the License, or (at your +# option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General +# Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# +# This file is part of the popstock package. + from astropy.cosmology import Planck15 as cosmo H0 = cosmo.H(0) diff --git a/popstock/util.py b/popstock/util.py index 76b8b5b..3356b93 100644 --- a/popstock/util.py +++ b/popstock/util.py @@ -1,3 +1,22 @@ +# -*- coding: utf-8 -*- +# Copyright (C) Arianna I. Renzini 2024 +# +# This program is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the +# Free Software Foundation; either version 3 of the License, or (at your +# option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General +# Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# +# This file is part of the popstock package. + import numpy as np from gwpopulation.utils import xp diff --git a/population_O3.py b/population_O3.py index f689c86..f27bbc9 100755 --- a/population_O3.py +++ b/population_O3.py @@ -1,4 +1,22 @@ #!/bin/env python + +# -*- coding: utf-8 -*- +# Copyright (C) Arianna I. Renzini 2024 +# +# This program is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the +# Free Software Foundation; either version 3 of the License, or (at your +# option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General +# Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + import sys sys.path.append("/home/arianna.renzini/PROJECTS/popstock")