ascl_id
stringclasses
752 values
repo_url
stringclasses
737 values
file_path
stringlengths
4
194
content
large_stringlengths
1
1M
language
stringclasses
29 values
license_type
stringclasses
24 values
size
int64
1
1M
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
photometry/PhotAIMPOL.py
#!/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxx-------------------PHOTOMETRY OF OBJECT FRAMES-----------------xxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
21,236
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
photometry/PhotometryUtils.py
#!/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxx-------------------PHOTOMETRY OF OBJECT FRAMES-----------------xxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
41,523
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
photometry/AlignDOT.py
#!/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxx----------------------------IMAGE ALIGNMENT---------------------------xxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
26,445
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
photometry/PhotTempDOT.py
# xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxx-------------------PHOTOMETRY OF OBJECT FRAMES-----------------xxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
30,019
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
photometry/PhotTemp_2.py
#!/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxx-------------------PHOTOMETRY OF OBJECT FRAMES-----------------xxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
30,426
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
photometry/Align_5.py
#!/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxx----------------------------IMAGE ALIGNMENT---------------------------xxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
26,602
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
photometry/Photometry_6.py
#!/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxx-------------------PHOTOMETRY OF OBJECT FRAMES-----------------xxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
42,355
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
photometry/PhotGROWTH.py
#!/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxx-------------------PHOTOMETRY OF OBJECT FRAMES-----------------xxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
30,863
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
photometry/CombineFrames_2.py
# /usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxx----------------------------COMBINE IMAGES----------------------------xxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
9,134
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
calibrate/CalcRLambda.py
#!/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxx-------------------CALCULATE EXTINCTION COEFFICIENTS (R_Lambda)---------------xxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
3,630
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
calibrate/CalcInstrMag.py
#!/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxx-----------Calculate Instrumental Magnitudes From TXDumped Photometry Files--------------xxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
12,705
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
calibrate/CalcTrueSecStdMagBVRI.py
#!/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxx---------Calculate True Magnitudes Of The Secondary Standards In The SN Field----------xxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
35,964
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
calibrate/CalcSNMag_6.py
#!/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxx---------Calculate SN Magnitudes For All The Epochs Using Secondary Standard Magnitudes---------xxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
26,132
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
calibrate/CalcInstrMag_2.py
#!/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxx-----------Calculate Instrumental Magnitudes From TXDumped Photometry Files--------------xxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
12,715
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
calibrate/CalcInstrMagDOT.py
#!/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxx-----------Calculate Instrumental Magnitudes From TXDumped Photometry Files--------------xxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
12,875
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
calibrate/CalcTrueSecStdMagUBVRI.py
#!/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxx---------Calculate True Magnitudes Of The Secondary Standards In The SN Field----------xxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
36,342
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
calibrate/CalcSNMagDOT.py
#!/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxx---------Calculate SN Magnitudes For All The Epochs Using Secondary Standard Magnitudes---------xxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
26,475
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
spectroscopy/PostProcSpec.py
#!/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxx-------------------------SPECTROSCOPIC DATA REDUCTION-----------------------xxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
35,404
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
spectroscopy/PostProcSpec_2.py
#!/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxx-------------------------SPECTROSCOPIC DATA REDUCTION-----------------------xxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
36,060
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
spectroscopy/BBFluxCalibSpec.py
#!/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxx-----------------OBTAIN SED AND FIT BLACKBODY FROM PHOTOMETRY---------------xxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
24,923
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
spectroscopy/PostProcSpec_3.py
#!/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxx-------------------------SPECTROSCOPIC DATA REDUCTION-----------------------xxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
34,649
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
spectroscopy/FluxCalib_5.py
#!/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxx-------------------------FLUX CALIBRATION OF 1-D Spectra----------------------xxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
26,340
[ascl:2103.004]
https://github.com/multiwavelength/redshifts
redshiftconfig.yaml
# Search radius radius: 2 arcmin # Uncertainty in redshift to classify a measurement as photometric uncertainty: 0.002 banned_catalogs_redshift: - glade1 - glade2 - VIII/29A/abelclus - J/A+A/425/367/reflex50 - J/A+A/425/367/reflex70 - VII/283/catalog - VII/258/vv10 - J/ApJS/196/11 - J/A+AS/103/349 ...
YAML
null
1,073
[ascl:2103.004]
https://github.com/multiwavelength/redshifts
pyproject.toml
[tool.poetry] name = "redshift" version = "0.1.0" description = "" authors = ["Andra Stroe <andra.stroe@cfa.harvard.edu>"] [tool.poetry.dependencies] python = "^3.8" pyyaml = "^5.3.1" astroquery = "^0.4" astropy = "^4.0.1" colorama = "^0.4.3" numpy = "^1.18.4" click = "^7.1.2" pydantic = "^1.5.1" [tool.poetry.dev-dep...
TOML
null
503
[ascl:2103.004]
https://github.com/multiwavelength/redshifts
README.md
# **redshifts** ## What is **redshifts** **redshifts** is a Python package which collects all unique spectroscopic redshifts from online databases such as VizieR and NED. [![DOI](https://zenodo.org/badge/237040021.svg)](https://zenodo.org/badge/latestdoi/237040021) ## Features - Flexible search within a radius of ...
Markdown
null
3,224
[ascl:2103.004]
https://github.com/multiwavelength/redshifts
redshifts/query.py
import os from io import BytesIO, StringIO import shutil import subprocess from collections import defaultdict import operator from functools import reduce from colorama import Fore import numpy as np from astroquery.vizier import Vizier from astroquery.ned import Ned from astropy.table import Column, QTable, Table, v...
Python
null
22,427
[ascl:2103.004]
https://github.com/multiwavelength/redshifts
redshifts/constants.py
import yaml from dataclasses import replace, asdict, is_dataclass, field from typing import List from pydantic.dataclasses import dataclass from astropy import units as u class Quantity(u.SpecificTypeQuantity): """ Validation of the types of unit for each parameter, to ensure the right type is being give...
Python
null
1,250
[ascl:2103.004]
https://github.com/multiwavelength/redshifts
redshifts/main.py
import os import warnings warnings.filterwarnings("ignore") import click import redshifts.query as q import redshifts.constants as c def redshifts(path, name, RA, DEC, config_path): # Read in configuration config = c.read_config(config_path) # Run the query q.run_query(path, name, RA, DEC, config) ...
Python
null
956
[ascl:2106.017]
https://github.com/londumas/redvsblue
.travis.yml
language: python python: - "3.8.3" before_install: - sudo apt-get -y install libbz2-dev install: - pip install -r requirements.txt - python setup.py install script: - pytest py/redvsblue/test/test_cor.py -s
YAML
null
228
[ascl:2106.017]
https://github.com/londumas/redvsblue
setup.py
#!/usr/bin/env python import glob from setuptools import setup scripts = glob.glob('bin/*') description = "Redshift fitter from PCA and redshift priors" exec(open('py/redvsblue/_version.py').read()) version = __version__ with open('requirements.txt') as f: REQUIRED = f.read().splitlines() setup(name="redvsbl...
Python
null
714
[ascl:2106.017]
https://github.com/londumas/redvsblue
requirements.txt
fitsio>=1.1.5 healpy>=1.15.0 matplotlib>=3.4.3 numpy>=1.21.4 scipy>=1.7.2 setuptools>=58.5.3
Text
null
93
[ascl:2106.017]
https://github.com/londumas/redvsblue
README.md
# redvsblue "redshift versus blueshift"<br/> Quasar and emission line precise redshift fitting from prior ## Presentation This package aims at measuring a precise redshift given a broad redshift prior. To do so the package, for each emission line or the full spectrum: * Runs a coarse chi2 scan as a function of red...
Markdown
null
4,067
[ascl:2106.017]
https://github.com/londumas/redvsblue
CHANGELOG.md
# Release Notes ## Version 0.0.4 - 2021/11/10 * Correct importing lib with . (relative) * sort requirements with pipreqs * numba does not seem to be needed ## Version 0.0.3 - 2021/10/21 * Get requirements directly from file ## Version 0.0.2 - 2021/10/06 * Improve the way the version number is defined
Markdown
null
306
[ascl:2106.017]
https://github.com/londumas/redvsblue
py/redvsblue/fitz.py
import scipy as sp from .zwarning import ZWarningMask as ZW def find_minima(x): ii = sp.where(sp.r_[True, x[1:]<=x[:-1]] & sp.r_[x[:-1]<=x[1:], True])[0] jj = sp.argsort(x[ii]) return ii[jj] def minfit(x, y): """ """ if x.size<3: return None try: #- y = a x^2 + b x + c...
Python
null
1,360
[ascl:2106.017]
https://github.com/londumas/redvsblue
py/redvsblue/_version.py
__version__ = '0.0.4'
Python
null
22
[ascl:2106.017]
https://github.com/londumas/redvsblue
py/redvsblue/read_SDSS_data.py
from __future__ import print_function import os import sys import fitsio from functools import partial import numpy as np import scipy as sp import scipy.special import glob from .utils import print, get_dz, unred, transmission_Lyman, weighted_var from ._zscan import _zchi2_one from .fitline import fit_spec_redshift ...
Python
null
21,377
[ascl:2106.017]
https://github.com/londumas/redvsblue
py/redvsblue/zwarning.py
class ZWarningMask(object): SKY = 2**0 #- sky fiber LITTLE_COVERAGE = 2**1 #- too little wavelength coverage SMALL_DELTA_CHI2 = 2**2 #- chi-squared of best fit is too close to that of second best NEGATIVE_MODEL = 2**3 #- synthetic spectrum is negative MANY_OUTLIERS = 2**...
Python
null
1,494
[ascl:2106.017]
https://github.com/londumas/redvsblue
py/redvsblue/constants.py
# Lyman-alpha from eqn 5 of Calura et al. 2012 (Arxiv: 1201.5121) # Other from eqn 1.1 of Irsic et al. 2013 , (Arxiv: 1307.3403) # Lyman-limit from abstract of Worseck et al. 2014 (Arxiv: 1402.4154) Lyman_series = { 'LYA' : { 'line':1215.67, 'A':0.0023, 'B':3.64, 'var_evol':3.8 }, 'LYB' : { 'l...
Python
null
1,234
[ascl:2106.017]
https://github.com/londumas/redvsblue
py/redvsblue/fitline.py
from functools import partial import numpy as np import scipy as sp import scipy.special from .utils import get_dz, transmission_Lyman from .zwarning import ZWarningMask as ZW from ._zscan import _zchi2_one from .fitz import minfit, maxLine, find_minima def fit_spec_redshift(z, lam, flux, weight, wflux, modelpca, leg...
Python
null
4,330
[ascl:2106.017]
https://github.com/londumas/redvsblue
py/redvsblue/plot.py
import fitsio import scipy as sp from scipy.interpolate import interp1d import matplotlib.pyplot as plt from . import constants def plot_flux_calibration(path): """ """ h = fitsio.FITS(path) ll_st = h[1]['LOGLAM'][:] st = h[1]['STACK'][:] w = st!=0. h.close() plt.plot(10**ll_st[w],s...
Python
null
1,824
[ascl:2106.017]
https://github.com/londumas/redvsblue
py/redvsblue/read_DESI_data.py
from __future__ import print_function import healpy import sys import fitsio from functools import partial import numpy as np import scipy as sp import scipy.special from .utils import print, get_dz, unred, transmission_Lyman from .fitline import fit_spec_redshift def read_cat(pathData,zmin=None,zmax=None,zkey='Z',sp...
Python
null
8,393
[ascl:2106.017]
https://github.com/londumas/redvsblue
py/redvsblue/utils.py
from __future__ import print_function import os import sys import fitsio import numpy as np import scipy as sp import scipy.ndimage import scipy.interpolate as interpolate from scipy.interpolate import interp1d from .constants import Lyman_series try: import __builtin__ except ImportError: import builtins as...
Python
null
5,562
[ascl:2106.017]
https://github.com/londumas/redvsblue
py/redvsblue/__init__.py
from ._version import __version__
Python
null
34
[ascl:2106.017]
https://github.com/londumas/redvsblue
py/redvsblue/_zscan.py
import scipy as sp import warnings warnings.filterwarnings('error') warnings.filterwarnings('ignore', category=DeprecationWarning) warnings.filterwarnings('ignore', category=FutureWarning) warnings.filterwarnings('ignore', category=RuntimeWarning) def _zchi2_one(Tb, weights, flux, wflux, zcoeff): """ """ ...
Python
null
620
[ascl:2106.017]
https://github.com/londumas/redvsblue
py/redvsblue/test/test_cor.py
import unittest import os import tempfile import shutil from pkg_resources import resource_filename import subprocess import fitsio import numpy as np import scipy as sp class TestCor(unittest.TestCase): @classmethod def setUpClass(cls): cls._branchFiles = tempfile.mkdtemp()+"/" @classmethod ...
Python
null
6,038
[ascl:2106.017]
https://github.com/londumas/redvsblue
py/redvsblue/test/__init__.py
import unittest import os def test_suite(): """ Returns unittest.TestSuite of redvsblue tests for use by setup.py """ thisdir = os,pathdirname(dirname(__file__)) return unittest.defaultTestLoader.discover(thisdir,top_level_dir=dirname(thisdir))
Python
null
271
[ascl:2106.017]
https://github.com/londumas/redvsblue
py/redvsblue/test/data/data/sdss/README.md
```bash wget https://dr14.sdss.org/sas/dr14/eboss/spectro/redux/v5_10_0/spectra/lite/5138/spec-5138-55830-0020.fits wget https://dr14.sdss.org/sas/dr14/eboss/spectro/redux/v5_10_0/spectra/lite/4300/spec-4300-55528-0224.fits ```
Markdown
null
228
[ascl:2106.017]
https://github.com/londumas/redvsblue
py/redvsblue/test/data/data/desi/README.md
```bash quickquasars -i /project/projectdirs/desi/mocks/lya_forest/london/v6.0/v6.0.0/0/0/transmission-16-0.fits --outdir test-0-0/spectra-16/ --zbest --bbflux --eboss --seed 123 --sigma_kms_fog 0. --zmin 1.8 --metals LYB --nmax 1 ``` ```bash desi_zcatalog -i test-0-0/spectra-16/ -o test-0-0/zcat.fits --fibermap ```
Markdown
null
319
[ascl:2106.017]
https://github.com/londumas/redvsblue
bin/redvsblue_VAR_SNR.py
#!/usr/bin/env python import argparse import fitsio import numpy as np import scipy as sp import copy from functools import partial from multiprocessing import Pool,Lock,cpu_count,Value from redvsblue import read_SDSS_data, constants, utils if __name__ == '__main__': parser = argparse.ArgumentParser(formatter_cl...
Python
null
5,802
[ascl:2106.017]
https://github.com/londumas/redvsblue
bin/redvsblue_compute_PCA.py
#!/usr/bin/env python import argparse import fitsio import empca from functools import partial import numpy as np import scipy as sp from desispec.interpolation import resample_flux from redvsblue import read_SDSS_data, utils from redvsblue.utils import unred, print if __name__ == '__main__': parser = argparse.A...
Python
null
10,828
[ascl:2106.017]
https://github.com/londumas/redvsblue
bin/redvsblue_lineFitter.py
#!/usr/bin/env python import argparse import fitsio import numpy as np import scipy as sp import copy from functools import partial from multiprocessing import Pool,Lock,cpu_count,Value import redvsblue from redvsblue import read_SDSS_data, read_DESI_data, constants, utils from redvsblue.zwarning import ZWarningMask a...
Python
null
13,625
[ascl:2106.017]
https://github.com/londumas/redvsblue
etc/dr16-line-sky-mask.txt
# # File to veto lines in observed frame. # # Mask produced with pipeline version v5_11_0 # via masking large sharp variance feature in # do_cf1d.py of Lya forest [1040,1200] # calibration forest [2900,3120] # CaII 3930.1 3938.2 OBS CaII 3965.5 3973.8 OBS sky 4043.0 4051.3 OBS sky 4353.1 4365.1 OBS sky 5456.8 5467.3...
Text
null
394
[ascl:2107.005]
https://github.com/rajeshmondal18/ReionYuga
tf_fit.c
/* The following routines implement all of the fitting formulae in Eisenstein \& Hu (1997) */ /* There are two sets of routines here. The first set, TFfit_hmpc(), TFset_parameters(), and TFfit_onek(), calculate the transfer function for an arbitrary CDM+baryon universe using the fitting formula in Section 3 of th...
C
null
13,980
[ascl:2107.005]
https://github.com/rajeshmondal18/ReionYuga
nbody.h
/* in allotarrays.c */ float **allocate_float_2d(long N1,int N2); float ***allocate_fftwf_3d(long N1,long N2,long N3); float Hf(float aa),Df(float aa),ff(float aa); void Setting_Up_Memory_For_Ro(float av); void cic(float** rra); void Get_Phi(int i); void Update_v(float aa,float delta_aa,float **rra,float **vva); void ...
C/C++ Header
null
2,875
[ascl:2107.005]
https://github.com/rajeshmondal18/ReionYuga
allotarrays.c
#include<stdlib.h> #include<fftw3.h> float ***allocate_fftwf_3d(long N1,long N2,long N3) { long ii,jj; long asize,index; float ***phia, *phi; phia=(float ***) fftwf_malloc (N1 * sizeof(float **)); for(ii=0;ii<N1;++ii) phia[ii]=(float **) fftwf_malloc (N2 * sizeof(float *)); asize = N1*N2; as...
C
null
1,015
[ascl:2107.005]
https://github.com/rajeshmondal18/ReionYuga
power1.h
float TFfit_onek(float k, float *tf_baryon, float *tf_cdm); void TFset_parameters(float omega0hh, float f_baryon, float Tcmb); float TFzerobaryon(float omega0, float hubble, float Tcmb, float k_hmpc); /* int TFmdm_set_cosm(float omega_matter, float omega_baryon, float omega_hdm,int degen_hdm, float omega_lambda, float ...
C/C++ Header
null
429
[ascl:2107.005]
https://github.com/rajeshmondal18/ReionYuga
ionz_funcs.c
#include<stdio.h> #include<math.h> #include<stdlib.h> #include<string.h> #include<fftw3.h> #include"nbody.h" #include<omp.h> /*---------------------GLOBAL VARIABLES declaration---------------------*/ extern float vhh, // Hubble parameter vomegam, // Omega_matter; total matter density (baryons+CDM) parameter vo...
C
null
21,597
[ascl:2107.005]
https://github.com/rajeshmondal18/ReionYuga
ionz_main.c
#include<stdio.h> #include<math.h> #include<stdlib.h> #include<string.h> #include<fftw3.h> #include<omp.h> #include"nbody.h" /*------------------------------GLOBAL VARIABLES-------------------------------*/ //-----------------------------------------------------------------------------// // ...
C
null
14,543
[ascl:2107.005]
https://github.com/rajeshmondal18/ReionYuga
nbody_funcs.c
#include<stdio.h> #include<math.h> #include<stdlib.h> #include<string.h> #include<fftw3.h> #include"nbody.h" #include<omp.h> /*---------------------GLOBAL VARIABLES declaration---------------------*/ // Cosmological parameters read from input file "input.zel" extern float vhh, // Hubble parameter vomegam, // Omeg...
C
null
40,299
[ascl:2107.005]
https://github.com/rajeshmondal18/ReionYuga
funcs.c
/* ---------------------------------------------------- This has various functions - needed in cosmology Df(aa) - calculates normalized D(a) (growing mode) at scale factor aa=1/(1+z) D(1) = 1 ff(aa) - calculates f(a) (dlnD/dlna) at scale factor aa=1/(1+z) ONLY works for FRW universe with ordinary matter (vomeg...
C
null
5,272
[ascl:2107.005]
https://github.com/rajeshmondal18/ReionYuga
powerspec.c
#include<math.h> #include<stdio.h> #include <stdlib.h> #include "power1.h" /* PK(k) is the power spectrum divided by (2 \pi^2) : Pk = A k^n T(k) /(2 pi^2) kk is wavenumber (in Mpc^{-1}) and power spectrum is in units (Mpc^3). Notice there are no 'h's in the definitions. */ extern float norm,vhh; float Pk(flo...
C
null
1,181
[ascl:2107.005]
https://github.com/rajeshmondal18/ReionYuga
README.md
# ReionYuga This is an open-source code to generate the Epoch of Reionization (EoR) neutral Hydrogen (HI) field (successively the redshifted 21-cm signal) within a cosmological simulation box. It is based on semi-numerical techniques. It is written in C. The code is coupled with our N-body code https://github.com/rajes...
Markdown
null
1,483
[ascl:2306.023]
https://github.com/scotthgn/relagn
compile_to_xspec.sh
echo "initpackage relagn lmod_relagn.dat `pwd`/src/fortran_version/relagn_dir" | xspec echo "initpackage relqso lmod_relqso.dat `pwd`/src/fortran_version/relqso_dir" | xspec echo "lmod relagn `pwd`/src/fortran_version/relagn_dir" | xspec echo "lmod relqso `pwd`/src/fortran_version/relqso_dir" | xspec
Shell
null
303
[ascl:2306.023]
https://github.com/scotthgn/relagn
init_autoLoad_xspec.sh
echo "lmod relagn `pwd`/src/fortran_version/relagn_dir" >> ~/.xspec/xspec.rc echo "lmod relqso `pwd`/src/fortran_version/relqso_dir" >> ~/.xspec/xspec.rc
Shell
null
154
[ascl:2306.023]
https://github.com/scotthgn/relagn
README.md
# RELAGN Spectral model for the calculation of AGN SEDs, ranging from the Optical/UV (outer accretion disc) to the Hard X-ray (Innermost X-ray Corona), including a fully relativistic treatment. If this code is useful to your work, then please reference: **Hagen &amp; Done (2023b)** (https://ui.adsabs.harvard.edu/abs/20...
Markdown
null
9,143
[ascl:2306.023]
https://github.com/scotthgn/relagn
tests/blurr_test.py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Mon Mar 14 11:46:24 2022 @author: wljw75 """ """ Tests the relconv convolution on a simple gaussian with a r^-3 emissivity law - as this should (hoefully!) give the same as kdblur """ import numpy as np import xspec import matplotlib.pyplot as plt xspe...
Python
null
5,110
[ascl:2306.023]
https://github.com/scotthgn/relagn
tests/relqso_spec.py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Dec 6 15:55:23 2022 @author: Scott Hagen """ import numpy as np import matplotlib.pyplot as plt import os import sys mdir = os.path.abspath(__file__) mdir = mdir.replace('/tests/relagn_spec.py', '/src/python_version') sys.path.append(mdir) from rela...
Python
null
940
[ascl:2306.023]
https://github.com/scotthgn/relagn
tests/relagn_spec.py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Dec 6 15:20:33 2022 @author: Scott Hagen code to play around with the relagn model - test to see if it gives spectra, unit handling, etc """ import numpy as np import matplotlib.pyplot as plt import os import sys mdir = os.path.abspath(__file__) mdi...
Python
null
1,526
[ascl:2306.023]
https://github.com/scotthgn/relagn
docs/relagn_docs.tex
\documentclass[a4paper, 11pt, times, onecolumn]{article} \usepackage{geometry} \geometry{left=20mm, right=20mm} \usepackage{titling} \usepackage{graphics, graphicx, epsfig, ulem} \usepackage{amsmath} \usepackage{xcolor} \usepackage{hyperref} \hypersetup{colorlinks=true, linkcolor=blue, urlcolor=blue} \usepackage{...
LaTeX
null
25,772
[ascl:2306.023]
https://github.com/scotthgn/relagn
examples/relagn_modSpec.ipynb
{ "cells": [ { "cell_type": "markdown", "id": "56bbdcd5", "metadata": {}, "source": [ "# Example on using relagn to create an SED\n", "We will start by creating and plotting the SED corresponding to the model defualts (i.e defualt input parameters, and output units)\n", "\n", "We will the...
Jupyter Notebook
null
212,036
[ascl:2306.023]
https://github.com/scotthgn/relagn
examples/relqso_modSpec.ipynb
{ "cells": [ { "cell_type": "markdown", "id": "e309ebfe", "metadata": {}, "source": [ "# Example using relqso to create an SED\n", "\n", "This is a quick introduction on how to use relqso to create a model SED\n", "This is a simplified version of relagn, only taking a handful of parameter...
Jupyter Notebook
null
204,498
[ascl:2306.023]
https://github.com/scotthgn/relagn
src/fortran_version/relqso_dir/relqso.f
c Updated version of QSOSED c Ref. Hagen and Done (in prep.) c c The model consists of two regions: a warm c Comptonization region where the disc has not thermalised properly, c and a spherical inner corona modelled as a hot Comptonization c region. All the energetics are calculated in the...
Fortran
null
26,019
[ascl:2306.023]
https://github.com/scotthgn/relagn
src/fortran_version/relagn_dir/relagn.f
c Fortran version of RELAGN c Ref. Hagen and Done (in prep.) c c Calculates AGNSED (Kubota & Done 2018) with relativistic c corrections applied at each annulus using KYCONV c (Dovciak, Karas & Yaqoob 2004) c c The model consists of three regions: a standard outer disc, a warm c Compto...
Fortran
null
24,175
[ascl:2306.023]
https://github.com/scotthgn/relagn
src/python_version/pyNTHCOMP.py
""" This was taken from https://github.com/arnauqb/qsosed/tree/master/qsosed, which in turn was taken from https://github.com/ADThomas-astro/oxaf/blob/master/oxaf.py . Credit to A.D. Thomas. Code was adapted from Xspec for https://arxiv.org/pdf/1611.05165.pdf . """ import numpy as np def donthcomp(ear, param): ...
Python
null
9,946
[ascl:2306.023]
https://github.com/scotthgn/relagn
src/python_version/relagn.py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Thu Mar 10 16:50:31 2022 @author: Scott Hagen Relativistic versions of AGNSED (RELAGN) and QSOSED (RELQSO) (Kubota & Done 2018). The relativistic corrections are calculated using the convolution code KYCONV (Dovciak, Karas & Yaqoob 2004) For the Comptonis...
Python
null
60,113
[ascl:2307.003]
https://github.com/JulianBMunoz/RelicFast
README.md
Full readme in README.pdf Details of the code are described in “Efficient Computation of Galaxy Bias with Neutrinos and Other Relics” J.B. Muñoz and C. Dvorkin (2018) Phys. Rev. D 98, 043503 [arXiv:1805.11623].
Markdown
null
219
[ascl:2307.003]
https://github.com/JulianBMunoz/RelicFast
example_input.ini
//This file specifies the parameters that RelicFast takes, and gives some fiducial values. //Make sure that if you add new stuff the code is consistent, and that the first instance of every variable name is right before the equal sign. //Halo parameters N_Mhalo = 1 ;//number of halo masses, logspaced. If 1 it c...
Config
null
2,114
[ascl:2307.003]
https://github.com/JulianBMunoz/RelicFast
source/RelicFast.cpp
//////////////////////////////////////////////////////////////////////////////////////// // // Code to find the bias of DM haloes of different masses, at different redshifts-- // --including scale-dependent effects from relics, such as neutrinos. // By Julian B Munoz (05/2018 @Harvard) // ////////////////////////////...
C++
null
3,699
[ascl:2307.003]
https://github.com/JulianBMunoz/RelicFast
source/pressure.cpp
//////////////////////////////////////////////////////////////////////////////////// // // Code to compute the pressure and energy density of an additional non-CDM component // given its mass and temperature, assuming it's a thermal relic, you can get rho and p. // By Julian B Munoz (05/2018 @Harvard) // /////////////...
C++
null
2,926
[ascl:2307.003]
https://github.com/JulianBMunoz/RelicFast
source/collapse.cpp
//////////////////////////////////////////////////////////////////////////////////////// // // Code to find the delta_crit necessary for halo of mass Mhalo // to collapse by some redshift z_collapse. // By Julian B Munoz (05/2018 @Harvard) // /////////////////////////////////////////////////////////////////////////////...
C++
null
90,670
[ascl:2307.003]
https://github.com/JulianBMunoz/RelicFast
source/auxiliar.cpp
//////////////////////////////////////////////////////////////////////////////////////// // // Auxiliar functions for RelicFast. // By Julian B Munoz (05/2018 @Harvard) // //////////////////////////////////////////////////////////////////////////////////////// #include "auxiliar.h" ////////////////////////////////// ...
C++
null
16,938
[ascl:2307.003]
https://github.com/JulianBMunoz/RelicFast
source/boltzmann_Calls.cpp
//////////////////////////////////////////////////////////////////////////////////////// // // Code to call a Boltzmann solve (CLASS or CAMB) // as well as to read the transfer functions from it. // By Julian B Munoz (05/2018 @Harvard) // /////////////////////////////////////////////////////////////////////////////////...
C++
null
34,872
[ascl:2307.003]
https://github.com/JulianBMunoz/RelicFast
source/bias.cpp
//////////////////////////////////////////////////////////////////////////////////////// // // Code to find the bias of a halo of mass Mhalo // Input \delta_initial and \delta_crit // output b_L and b_E (Lagrangian and Eulerian biases) // By Julian B Munoz (05/2018 @Harvard) // ////////////////////////////////////////...
C++
null
15,144
[ascl:2307.003]
https://github.com/JulianBMunoz/RelicFast
include/boltzmann_Calls.h
#ifndef __BOLTZ_H_INCLUDED__ #define __BOLTZ_H_INCLUDED__ #include <stdio.h> #include <math.h> #include <stdlib.h> #include <string.h> #include <iostream> #include <fstream> #include "common.h" #include "auxiliar.h" //tests int tests_pre_run(Cosmology *cosmo); //Read the transfer functions from the chosen Bol...
C/C++ Header
null
1,860
[ascl:2307.003]
https://github.com/JulianBMunoz/RelicFast
include/auxiliar.h
#ifndef __AUX_H_INCLUDED__ #define __AUX_H_INCLUDED__ #include <stdio.h> #include <math.h> #include <stdlib.h> #include <string.h> #include "common.h" //array functions: double *allocate_1D_array(int n1); int *allocate_1D_array_int(int n1); double **allocate_2D_array(int n1, int n2); void free_2D_array(dou...
C/C++ Header
null
2,653
[ascl:2307.003]
https://github.com/JulianBMunoz/RelicFast
include/RelicFast.h
#ifndef __RELICFAST_H_INCLUDED__ #define __RELICFAST_H_INCLUDED__ #include <stdio.h> #include <math.h> #include <stdlib.h> #include <string.h> #include <iostream> #include <fstream> #include "auxiliar.h" #include "bias.h" #include "boltzmann_Calls.h" #include "collapse.h" #include "common.h" #endi...
C/C++ Header
null
322
[ascl:2307.003]
https://github.com/JulianBMunoz/RelicFast
include/bias.h
#ifndef __BIAS_H_INCLUDED__ #define __BIAS_H_INCLUDED__ #include <stdio.h> #include <math.h> #include <stdlib.h> #include <string.h> #include "common.h" #include "auxiliar.h" #include "boltzmann_Calls.h" int get_bias(Cosmology *cosmo, double *zlist_transfer); #endif
C/C++ Header
null
278
[ascl:2307.003]
https://github.com/JulianBMunoz/RelicFast
include/pressure.h
#ifndef __PRESS_H_INCLUDED__ #define __PRESS_H_INCLUDED__ #include <stdio.h> #include <math.h> #include "common.h" double pressure_WDM(double mass, double Temp); double density_WDM(double mass, double Temp); double EoS_WDM(double mass, double Temp); #endif
C/C++ Header
null
273
[ascl:2307.003]
https://github.com/JulianBMunoz/RelicFast
include/collapse.h
#ifndef __COLL_H_INCLUDED__ #define __COLL_H_INCLUDED__ #include <stdio.h> #include <math.h> #include <stdlib.h> #include <string.h> #include "common.h" #include "auxiliar.h" #include "boltzmann_Calls.h" #include "pressure.h" #ifdef _OPENMP #include <omp.h> // For nested loops. #endif //\delta_crit as a func...
C/C++ Header
null
2,747
[ascl:2307.003]
https://github.com/JulianBMunoz/RelicFast
include/common.h
#ifndef __COMMON_H_INCLUDED__ #define __COMMON_H_INCLUDED__ #define _CLASS_ 0 #define _CAMB_ 1 #define _FALSE_ 0 #define _TRUE_ 1 //Boltzmann code options: #define boltzmann_tag _CLASS_ //0 for CLASS, 1 for CAMB. CLASS needed in most cases. #define run_boltzmann_option _TRUE_ //0 if no, otherwise Y...
C/C++ Header
null
8,515
[ascl:2307.003]
https://github.com/JulianBMunoz/RelicFast
CAMB_Current/camb.f90
!Interface module for CAMB. Call CAMB_GetResults to do the work. module CAMB use Precision use ModelParams use ModelData use Transfer use GaugeInterface use InitialPower use Reionization use Recombination use lensing implicit none Type CAMBdata Type (ClTrans...
Fortran
null
18,500
[ascl:2307.003]
https://github.com/JulianBMunoz/RelicFast
CAMB_Current/recfast.f90
!Recombination module for CAMB, using RECFAST !cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc !C Integrator for Cosmic Recombination of Hydrogen and Helium, !C developed by Douglas Scott (dscott@astro.ubc.ca) !C based on calculations in the paper Seager, Sasselov &...
Fortran
null
47,141
[ascl:2307.003]
https://github.com/JulianBMunoz/RelicFast
CAMB_Current/inifile.f90
!Module to read in name/value pairs from a file, with each line of the form line 'name = value' !Should correctly interpret FITS headers !Antony Lewis (http://cosmologist.info/). Released to the public domain. !Apr 11, added support for INCLUDE(file); check for duplicate keys !Jun 12, added support ...
Fortran
null
24,516
[ascl:2307.003]
https://github.com/JulianBMunoz/RelicFast
CAMB_Current/cmbmain.f90
! This this is the main CAMB program module. ! ! Code for Anisotropies in the Microwave Background ! by Antony lewis (http://cosmologist.info) and Anthony Challinor ! See readme.html for documentation. ! Note that though the code is internally parallelised, it is not thread-...
Fortran
null
88,394
[ascl:2307.003]
https://github.com/JulianBMunoz/RelicFast
CAMB_Current/tester.f90
!Simple program to get the scalar and tensor Cls, and print them out (and the sum) program tester use CAMB implicit none integer l real(dl) ratio type(CAMBparams) P !defined in ModelParams in modules.f90 call CAMB_SetDefParams(P) P%omegab = .04...
Fortran
null
1,815
[ascl:2307.003]
https://github.com/JulianBMunoz/RelicFast
CAMB_Current/inidriver.F90
! Code for Anisotropies in the Microwave Background ! by Antony Lewis (http://cosmologist.info/) and Anthony Challinor ! See readme.html for documentation. This is a sample driver routine that reads ! in one set of parameters and produdes the corresponding output. program driver ...
Fortran
null
14,321
[ascl:2307.003]
https://github.com/JulianBMunoz/RelicFast
CAMB_Current/hyrec.F90
!--------------------------------------------------------------------------------------------------- ! Recombination module for CAMB, using HyRec ! Author: Antony Lewis !--------------------------------------------------------------------------------------------------- module Recombination use ...
Fortran
null
2,073
[ascl:2307.003]
https://github.com/JulianBMunoz/RelicFast
CAMB_Current/utils.F90
!Module of generally useful routines and definitions !Antony Lewis, http://cosmologist.info/ !April 2006: fix to TList_RealArr_Thin !March 2008: fix to Ranges !June 2010: fixed bug in DeleteFile gradually using up file units module Ranges !A collection of ranges, consisting of sections of...
Fortran
null
82,796
[ascl:2307.003]
https://github.com/JulianBMunoz/RelicFast
CAMB_Current/sigma8.f90
!Simple test program to print out sigma_8 as a function of the CDM density program GetSigma8 use CAMB implicit none integer i type(CAMBparams) P !defined in ModelParams in modules.f90 call CAMB_SetDefParams(P) P%WantTransfer= .true. P%WantCls = ...
Fortran
null
1,444
[ascl:2307.003]
https://github.com/JulianBMunoz/RelicFast
CAMB_Current/cosmorec.F90
!--------------------------------------------------------------------------------------------------- ! Recombination module for CAMB, using CosmoRec ! Author: Richard Shaw (CITA) !--------------------------------------------------------------------------------------------------- ! 08.06.2012: added...
Fortran
null
6,303