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:2511.008]
https://github.com/timahutchinson/redmonster
python/redmonster/sandbox/test_wcs.py
import numpy as n import matplotlib as m m.interactive(True) from matplotlib import pyplot as p from astropy.io import fits #from astropy import wcs #import os #import pixelsplines as pxs # Script to test WCS routines in astropy: # Set the plan: naxis1 = 3000 # log-wavelength naxis2 = 5 # irregular naxis3 = 10 #...
Python
BSD
3,641
[ascl:2511.008]
https://github.com/timahutchinson/redmonster
python/redmonster/sandbox/__init__.py
# redmonster/sandbox/__init__.py
Python
BSD
33
[ascl:2511.008]
https://github.com/timahutchinson/redmonster
python/redmonster/sandbox/run_redmonster.py
# Initial top-level script to run redmonster on a single plate, with # options to use only a subset of fibers. Each spPlate file is assumed # to be in $BOSS_SPECTRO_REDUX/$RUN2D/pppp/ where pppp is the 4-digit # plate-id. Templates are assumed to be in $REDMONSTER_DIR/templates/ # # Tim Hutchinson, University of Utah...
Python
BSD
6,823
[ascl:2511.008]
https://github.com/timahutchinson/redmonster
python/redmonster/sandbox/multiplot.py
from os.path import join from os import environ import numpy as n from astropy.io import fits from matplotlib import pyplot as p from astropy.convolution import convolve, Box1DKernel # Open spPlate file path = '/Users/timhutchinson/work/boss/run2d/7848/spPlate-7848-56959.fits' spp = fits.open(path) sigma = 1. / n.sqr...
Python
BSD
4,112
[ascl:2511.008]
https://github.com/timahutchinson/redmonster
python/redmonster/sandbox/donna_spec.py
from os import environ from os.path import exists, join from math import ceil, floor from astropy.io import fits import numpy as n from redmonster.physics.misc import flux_check from redmonster.datamgr.io import remove_log, write_to_log class Spec: def __init__(self, filepath): hdu = fits.open(filepath)...
Python
BSD
719
[ascl:2511.008]
https://github.com/timahutchinson/redmonster
python/redmonster/sandbox/run_rm.py
# Run a single instance of redmonster on visually inspected CMASS fibers import numpy as n import matplotlib.pyplot as p p.interactive(True) from redmonster.sandbox import yanny as y from astropy.io import fits from redmonster.datamgr import spec, io from redmonster.physics import zfinder, zfitter, zpicker from redmon...
Python
BSD
4,865
[ascl:2511.008]
https://github.com/timahutchinson/redmonster
python/redmonster/sandbox/yanny_to_arrays.py
import numpy as n from redmonster.sandbox import yanny as y # Read yanny file x = y.yanny(filename='/uufs/astro.utah.edu/common/home/u0814744/boss/\ spInspect_alltest_bolton.par.txt', np=True) # Get fibers, zpipe, zperson for each plate args = n.where(x['BOSSOBJECT']['plate'] == 3686)[0] fibers3686 = [] ...
Python
BSD
2,282
[ascl:2511.008]
https://github.com/timahutchinson/redmonster
python/redmonster/sandbox/verify.py
import numpy as n from astropy.io import fits from os.path import join, basename from os import environ from glob import iglob from redmonster.sandbox import yanny as y import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as p from math import isnan from astropy.convolution import convolve, Box1DKernel from...
Python
BSD
62,660
[ascl:2511.008]
https://github.com/timahutchinson/redmonster
python/redmonster/sandbox/multi_exposure_dev.scr.py
# # multi_exposure_dev.scr.py # # script for developping methods that handle multiple # exposures of a single fiber. # from __future__ import print_function import numpy as n import matplotlib as m m.interactive(True) from matplotlib import pyplot as p from astropy.io import fits import os from redmonster.physics impo...
Python
BSD
21,463
[ascl:2511.008]
https://github.com/timahutchinson/redmonster
python/redmonster/sandbox/test_ndArch.py
import numpy as n #import matplotlib as m #m.interactive(True) #from matplotlib import pyplot as p from astropy.io import fits #from astropy import wcs #import os #import pixelsplines as pxs # Script to make test file for "read_ndArch" file-reader routine: # Set the plan: #naxis1 = 3000 # log-wavelength naxis1 = 8 # ...
Python
BSD
2,881
[ascl:2511.008]
https://github.com/timahutchinson/redmonster
python/redmonster/sandbox/par_rm.py
# Run redmonster on a cluster using multiprocessesing # # Tim Hutchinson, University of Utah, August 2014 # t.hutchinson@utah.edu from time import gmtime, strftime import numpy as n import matplotlib.pyplot as p p.interactive(True) import multiprocessing as mp from astropy.io import fits from redmonster.sandbox impo...
Python
BSD
4,656
[ascl:2511.008]
https://github.com/timahutchinson/redmonster
python/redmonster/sandbox/chi2_optimize.py
import numpy as n import matplotlib.pyplot as p p.interactive(True) from redmonster.sandbox import yanny as y from astropy.io import fits from redmonster.datamgr import spec, io from redmonster.physics import zfinder, zfitter, zpicker from redmonster.physics import misc from time import gmtime, strftime import multipro...
Python
BSD
4,528
[ascl:2511.008]
https://github.com/timahutchinson/redmonster
python/redmonster/sandbox/verify_sequels.py
from __future__ import print_function from os.path import join, basename, exists from os import environ from math import isnan import time from sys import stderr import numpy as n from scipy.integrate import trapz from astropy.io import fits import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as p from m...
Python
BSD
199,638
[ascl:2511.008]
https://github.com/timahutchinson/redmonster
python/redmonster/sandbox/RepeatsPlot.py
import pyfits import glob import numpy as N import pylab as P import os import shutil import sys class Repeatability: directory = '/uufs/astro.utah.edu/common/home/u0814744/compute/scratch/repeatability' @staticmethod def makeSpAllRepeats(): hdu = pyfits.open('/uufs/chpc.utah.edu/common/home/sds...
Python
BSD
5,032
[ascl:2511.008]
https://github.com/timahutchinson/redmonster
python/redmonster/sandbox/make_best_fit_plot.py
# Make a plot of the "best fit" spectra to any object, of arbitrary # template type. Only works for a single fiber. # # Tim Hutchinson, University of Utah, Oct 2014 # t.hutchinson@utah.edu from time import gmtime, strftime import numpy as n from astropy.io import fits import matplotlib.pyplot as p p.interactive(True...
Python
BSD
3,088
[ascl:2511.008]
https://github.com/timahutchinson/redmonster
python/redmonster/sandbox/run_plot_fit.py
# Command line execution for plot_fit.py # # Tim Hutchinson, University of Utah, April 2014 # t.hutchinson@utah.edu try: from tkinter import * except ImportError: from Tkinter import * import numpy as n import matplotlib matplotlib.use('TkAgg') from matplotlib.backends.backend_tkagg import FigureCanvasTkAgg, N...
Python
BSD
918
[ascl:2511.008]
https://github.com/timahutchinson/redmonster
python/redmonster/sandbox/top.py
from redmonster.sandbox import main as M plate = 3686 mjd = 55268 templates = ['ndArch-ssp_em_galaxy-v000.fits', 'ndArch-all-CAP-grids.fits', 'ndArch-QSO-V003.fits'] fiberid = [100] zmin = [.01, -.005, .4] zmax = [1.2, .005, 3.5] npixstep = [1,1,4] dest = '/Users/boltonlab3/scratch' M.main(plate=plate, m...
Python
BSD
413
[ascl:2511.008]
https://github.com/timahutchinson/redmonster
python/redmonster/application/zfind.py
# Top level script to run redmonster as a whole. # # Required arguments: # plate (int): 4-digit plate number # mjd (int): 4-digit mjd for given plate # templates (list of strings): List of template names, as strings, to be run, up to a max of 5. Template files must be in $REDMONSTER_DIR/templates/ # # Optional argumen...
Python
BSD
12,270
[ascl:2511.008]
https://github.com/timahutchinson/redmonster
python/redmonster/application/zfind2.py
# Top level script to run redmonster as a whole. # # Required arguments: # plate (int): 4-digit plate number # mjd (int): 4-digit mjd for given plate # templates (list of strings): List of template names, as strings, to be run, up to a max of 5. Template files must be in $REDMONSTER_DIR/templates/ # # Optional argumen...
Python
BSD
16,386
[ascl:2511.008]
https://github.com/timahutchinson/redmonster
python/redmonster/application/__init__.py
# redmonster/application/__init__.py # Expose modules in this package.
Python
BSD
71
[ascl:2511.008]
https://github.com/timahutchinson/redmonster
conf/zfind_noz.ini
# # zfind templates configuration # [galaxy] template = ndArch-ssp_galaxy_noemit-v000.fits npixstep = 2 npoly = 1 group = [0]
Config
BSD
127
[ascl:2511.008]
https://github.com/timahutchinson/redmonster
conf/zfind.ini
# # zfind templates configuration # [star] template = ndArch-all-CAP-grids.fits zmin = -.005 zmax = .005 npixstep = 1 npoly = 1 group = [0] [galaxy] template = ndArch-ssp_galaxy_glob-v000.fits #template = ndArch-ssp_galaxy_noemit-v000.fits zmin = -.01 zmax = 1.2 npixstep = 2 npoly = 1 group = [0] #[elg] #template = ...
Config
BSD
503
[ascl:2511.008]
https://github.com/timahutchinson/redmonster
templates/ssp_ztemplate_hires_v01.py
import numpy as n import matplotlib as m m.interactive(True) from matplotlib import pyplot as p from astropy.io import fits #from astropy import wcs import os #import pixelsplines as pxs from redmonster.datamgr import io from redmonster.physics import pixelsplines as pxs import copy from redmonster.physics import misc ...
Python
BSD
4,457
[ascl:2511.008]
https://github.com/timahutchinson/redmonster
templates/ssp_ztemplate_v002_emit.py
import numpy as n import matplotlib as m m.interactive(True) from matplotlib import pyplot as p from astropy.io import fits #from astropy import wcs import os #import pixelsplines as pxs from redmonster.datamgr import io from redmonster.physics import pixelsplines as pxs import copy from redmonster.physics import misc ...
Python
BSD
8,945
[ascl:2511.008]
https://github.com/timahutchinson/redmonster
templates/ssp_ztemplate_v002_cont.py
import numpy as n import matplotlib as m m.interactive(True) from matplotlib import pyplot as p from astropy.io import fits #from astropy import wcs import os #import pixelsplines as pxs from redmonster.datamgr import io from redmonster.physics import pixelsplines as pxs import copy from redmonster.physics import misc ...
Python
BSD
8,187
[ascl:2511.008]
https://github.com/timahutchinson/redmonster
templates/ssp_ztemplate_quickdesi_v00.py
import numpy as n import matplotlib as m m.interactive(True) from matplotlib import pyplot as p from astropy.io import fits #from astropy import wcs import os #import pixelsplines as pxs from redmonster.datamgr import io from redmonster.physics import pixelsplines as pxs import copy from redmonster.physics import misc ...
Python
BSD
8,083
[ascl:2511.008]
https://github.com/timahutchinson/redmonster
templates/cap_ztemplate_v01.py
import numpy as n import matplotlib as m m.interactive(True) from matplotlib import pyplot as p from astropy.io import fits #from astropy import wcs import os #import pixelsplines as pxs from redmonster.datamgr import io from redmonster.physics import pixelsplines as pxs import copy from redmonster.physics import misc ...
Python
BSD
3,641
[ascl:2511.008]
https://github.com/timahutchinson/redmonster
templates/ssp_ztemplate_v00.py
import numpy as n import matplotlib as m m.interactive(True) from matplotlib import pyplot as p from astropy.io import fits #from astropy import wcs import os #import pixelsplines as pxs from redmonster.datamgr import io from redmonster.physics import pixelsplines as pxs import copy from redmonster.physics import misc ...
Python
BSD
7,949
[ascl:2511.008]
https://github.com/timahutchinson/redmonster
templates/cap_ztemplate_v00.py
import numpy as n import matplotlib as m m.interactive(True) from matplotlib import pyplot as p from astropy.io import fits #from astropy import wcs import os #import pixelsplines as pxs from redmonster.datamgr import io from redmonster.physics import pixelsplines as pxs import copy from redmonster.physics import misc ...
Python
BSD
3,601
[ascl:2511.008]
https://github.com/timahutchinson/redmonster
templates/ssp_ztemplate_hires_v02.py
import numpy as n import matplotlib as m m.interactive(True) from matplotlib import pyplot as p from astropy.io import fits #from astropy import wcs import os #import pixelsplines as pxs from redmonster.datamgr import io from redmonster.physics import pixelsplines as pxs import copy from redmonster.physics import misc ...
Python
BSD
4,834
[ascl:2511.008]
https://github.com/timahutchinson/redmonster
templates/cap_ztemplate_v02.py
import numpy as n import matplotlib as m m.interactive(True) from matplotlib import pyplot as p from astropy.io import fits #from astropy import wcs import os #import pixelsplines as pxs from redmonster.datamgr import io from redmonster.physics import pixelsplines as pxs import copy from redmonster.physics import misc ...
Python
BSD
3,800
[ascl:2511.008]
https://github.com/timahutchinson/redmonster
bin/chi2_merge.sh
#!/bin/bash python $REDMONSTER_DIR/python/redmonster/tools/chi2_merge.py
Shell
BSD
73
[ascl:2511.008]
https://github.com/timahutchinson/redmonster
bin/fiber_merge.sh
#!/bin/bash python $REDMONSTER_DIR/python/redmonster/tools/fiber_merge.py
Shell
BSD
74
[ascl:2511.008]
https://github.com/timahutchinson/redmonster
bin/plate_merge.sh
#!/bin/bash python $REDMONSTER_DIR/python/redmonster/tools/plate_merge.py
Shell
BSD
74
[ascl:2511.008]
https://github.com/timahutchinson/redmonster
pro/read_spec.pro
;+ ; NAME: ; READ_SPEC ; ; PURPOSE: ; Function to convert a *.spec file into an IDL structure. ; Input may be an array of filenames. ; ; CALLING SEQUENCE: ; res = read_spec(file) ; ; KEYWORD PARAMETERS: ; miles - set this keyword when reading in spectra based on Miles ; NB: you should not need...
IDL
BSD
3,167
[ascl:2511.008]
https://github.com/timahutchinson/redmonster
pro/ssp_repackage_3.scr.pro
; ; ssp_repackage_3.scr.pro ; ; repackage the theoretical SSPs from Charlie Conroy ; into a FITS file. ; ; 3rd iteration, 3 sept 2014 ; I THINK you have to say ".com read_spec" before you run this script! ;infile = 'SSP_Padova_RRLIB_Kroupa_Z0.0190.out.spec' ;infiles = file_search('/data/SSP/SSP_*.spec') infiles = fi...
IDL
BSD
859
[ascl:2511.008]
https://github.com/timahutchinson/redmonster
doc/template-datamodel.tex
\documentclass[12pt]{article} \parindent=0pt \parskip=8pt \begin{document} \title{Proposed data model for a general archetype redshift template file format} \author{Adam S. Bolton} \maketitle \section{Introduction} This note describes a proposed file format for storing general ``archetype'' redshift template grids...
LaTeX
BSD
8,489
[ascl:2511.008]
https://github.com/timahutchinson/redmonster
doc/redmonster-output-file.tex
\documentclass[12pt]{article} \parindent=0pt \parskip=8pt \begin{document} \title{Documentation of \texttt{redmonster} Output Files} \author{Timothy A. Hutchinson} \maketitle \section{Introduction} This document describes the format and content of the files generated by the \texttt{redmonster} software. The princ...
LaTeX
BSD
6,305
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
__init__.py
""" This is RedPipe, a python package to perform Photometry & Spectroscopy on Optical FITS Images. :Authors: Avinash Singh :License: GPLv3 """ __author__ = "Avinash Singh" __copyright__ = "2018, Avinash Singh" __version__ = "0.1.0" import Photometry, PhotStandard, PhotTemp, PhotUVIT, PreProcPhot, PreProcSpec, PostP...
Python
Unknown
471
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
Setup.py
#!/usr/bin/env python from setuptools import setup version = re.findall(r"__version__ = \"(.*?)\"", open(fname).read())[0] setup(name='RedPipe', version='0.1.1', description='Optical Photometric & Spectroscopic Reduction Pipeline', long_description=open('README.rst').read(), classifiers=['Deve...
Python
Unknown
1,029
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
setup.py
#!/usr/bin/env python from setuptools import setup version = re.findall(r"__version__ = \"(.*?)\"", open(fname).read())[0] setup(name='RedPipe', version='0.1.1', description='Optical Photometric & Spectroscopic Reduction Pipeline', long_description=open('README.rst').read(), classifiers=['Deve...
Python
Unknown
1,029
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
CHANGES.rst
0.1.0a0 (2018-10-04) ================== - Initial Release 0.1.0a1 (2020-02-08) ================== - Updated Directory Structure
reStructuredText
Unknown
129
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
LICENSE.txt
GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamb...
Text
Unknown
35,147
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
README.md
# RedPipe: Reduction Pipeline # [![Build Status](https://img.shields.io/badge/release-0.1.0a1-orange)](https://github.com/sPaMFouR/RedPipe) [![ascl:2106.024](https://img.shields.io/badge/ascl-2106.024-red)](https://ascl.net/2106.024) [![License](https://img.shields.io/github/license/sPaMFouR/RedPipe)](https://github.c...
Markdown
Unknown
1,117
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
InstallDependencies.py
#!/usr/bin/env python """ Installs Necessary Modules To Get The Reduction Pipeline Going. """ # ------------------------------------------------------------------------------------------------------------------- # # Import Required Libraries # ---------------------------------------------------------------------------...
Python
Unknown
5,939
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
plotting/PlotSpecTypeII_3.py
# !/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxx-----------------------PLOT SPECTRA OF SUPERNOVA----------------------xxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
55,488
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
plotting/PlotColorEvolution_5.py
#!/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxx---------------TABULTATE THE SN MAGNITUDE AND PLOT COLOR CURVES----------------xxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
34,886
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
plotting/PlotSpecTypeI.py
# !/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxx---------------------------PLOT 1-D SPECTRA---------------------------xxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
35,867
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
plotting/PlotPhotVelTypeII_3.py
#!/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxx---------------PLOT PHOTOSPHERIC VELOCITY EVOLUTION IN TYPE II SNe----------------xxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
18,981
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
plotting/PlotPhotVelTypeII_2.py
#!/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxx---------------PLOT PHOTOSPHERIC VELOCITY EVOLUTION IN TYPE II SNe----------------xxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
18,105
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
plotting/PlotPhotVel_2.py
#!/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxx---------------Plot The Supernova Photospheric Velocity Evolution----------------xxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
11,290
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
plotting/PlotLightCurve_8.py
#!/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxx--------------PLOT THE SUPERNOVA LIGHT CURVES FROM INPUT MAGNITUDE FILES--------------xxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
69,686
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
plotting/PlotSpectra_3.py
# !/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxx---------------------------PLOT 1-D SPECTRA---------------------------xxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
35,788
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
plotting/PlotSNParamTypeII_3.py
#!/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxx------------------------PLOT THE TYPE II SNE PARAMETERS-------------------------xxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
42,682
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
plotting/PlotPhotVelTypeI.py
#!/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxx---------------Plot The Supernova Photospheric Velocity Evolution----------------xxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
11,815
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
plotting/PlotSNParamTypeI.py
#!/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxx--------------------PLOT CORRELATION BETWEEN TYPE I SNe PARAMETERS-------------------xxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
13,390
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
plotting/PlotFitNagy.py
#!/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxx-------------------Nagy LIGHT CURVE MODEL-----------------xxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
9,076
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
preprocess/EditHeaderDFOT.py
#!/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxx---------MODIFIES HEADER IN THE HFOSC2 FITS FILES AND APPENDS AIRMASS DETAILS------------xxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
6,547
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
preprocess/PreProcPhotHCT.py
#!/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxx-------------------------PHOTOMETRIC DATA PRE-PROCESSING----------------------xxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
26,871
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
preprocess/AppendHeaderInfo.py
#!/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxx---------------UPDATES AND APPENDS HEADER INFORMATION----------------xxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
14,031
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
preprocess/PrintHeaderInfo.py
#!/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxx-------------------------PRINT HEADER INFORMATION----------------------xxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
12,843
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
preprocess/PreProcSpec.py
#!/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxx-------------------------SPECTROSCOPIC DATA REDUCTION-----------------------xxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
19,132
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
preprocess/read_fits_class.py
#!/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxx-----------------Read FITS file----------------xxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
2,729
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
preprocess/PreProcPhotDOT.py
#!/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxx-------------------------PHOTOMETRIC DATA PRE-PROCESSING----------------------xxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
26,570
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
preprocess/PreProcess.py
#!/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxx------------------------PERFORMS PRE-PROCESSING----------------------xxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
11,565
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
preprocess/EditHeader.py
#!/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxx---------MODIFIES HEADER IN THE HFOSC2 FITS FILES AND APPENDS AIRMASS DETAILS------------xxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
6,629
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
preprocess/CosmicRayCor.py
#!/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxx-------------------------COSMIC RAY CORRECTION--------------------------xxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
13,472
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
preprocess/Rename.py
#!/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxx-------------------------RENAME RAW FILES-----------------------xxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
10,989
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
analysis/FitBlackBody.py
#!/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxx-----------------Fit Planckian Function To A Spectrum---------------xxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
7,392
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
analysis/FitTripleGaussian.py
# !/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxx---------------------------PLOT 1-D SPECTRA---------------------------xxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
8,933
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
analysis/FitLatePhase.py
#!/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxx----------FIT RADIOACTIVE DECAY PHASE TO ACCOUNT FOR THE GAMMA-RAY TRAPPING-----------xxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
12,783
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
analysis/FitMultipleGaussian.ipynb
{ "cells": [ { "cell_type": "code", "execution_count": 16, "id": "45bb88fa", "metadata": {}, "outputs": [], "source": [ "# !/usr/bin/env python\n", "# xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx #\n", "# xxxxxxxxxxx...
Jupyter Notebook
Unknown
953,496
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
analysis/ReadJSON.py
#!/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxx----------------------READ DATA FOR SN 2018hna----------------xxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
6,056
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
analysis/FitVinko_2.py
#!/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxx----------------FITTING VINKO MODEL FOR A STRIPPED ENVELOPE SUPERNOVA--------------xxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
7,918
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
analysis/FitPieceWise.py
#!/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxx--------------FIT PIECEWISE LINEAR POLYNOMIAL TO TYPE IIP SN LIGHT CURVES-------------xxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
12,600
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
analysis/FitPejcha.py
#!/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxx-------------------LIGHT CURVE MODELLING-----------------xxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
12,811
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
analysis/FitTaddiaR.py
#!/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxx---------------FITTING TADDIA MODEL FOR A STRIPPED ENVELOPE SUPERNOVAE--------------xxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
10,423
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
analysis/FitDualGaussian.py
# !/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxx---------------------------PLOT 1-D SPECTRA---------------------------xxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
9,725
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
analysis/FitMultiComponent.ipynb
{ "cells": [ { "cell_type": "code", "execution_count": 1, "id": "4ae0bf6d-ab60-4e05-9329-091a9acd1397", "metadata": {}, "outputs": [], "source": [ "# !/usr/bin/env python\n", "# xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Jupyter Notebook
Unknown
665,872
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
analysis/FitInterpLC.py
#!/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxx--------------------FIT SPLINE TO SUPERNOVA LIGHT CURVE-----------------------xxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
12,650
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
analysis/FitOlivares.py
#!/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxx----------------FIT THE OLIVARES MODEL TO TYPE IIP SN LIGHT CURVES---------------xxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
13,875
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
analysis/FitElmhamdi.py
#!/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxx--------------DETERMINE THE STEEPNESS PARAMETER FOR TYPE IIP SUPERNOVA---------------xxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
17,389
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
analysis/FitColorTemplate.py
# ------------------------------------------------------------------------------------------------------------------- # # Read Other Type II SNe Data From The SN Archive Folder # Read B-V Color Template (Stritzinger et al. 2018) # -----------------------------------------------------------------------------------------...
Python
Unknown
10,606
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
analysis/DeReddenSpec.py
#!/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxx-----------------Fit Planckian Function To A Spectrum---------------xxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
18,596
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
analysis/FitPiroNakar.py
#!/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxx----------------FITTING TADDIA MODEL FOR STRIPPED ENVELOPE SUPERNOVAE---------------xxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
10,031
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
analysis/FitRiseTime.py
#!/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxx------------FIT COWEN MODEL TO THE EARLY PHASE LIGHT CURVE IN TYPE IIP SNe------------xxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
10,220
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
analysis/CalcTypeIIParam.py
#!/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxx----------------------CALCULATE TYPE II SN PARAMS---------------------xxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
12,117
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
analysis/FitNagyLC2.py
#!/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxx-------------------Nagy LIGHT CURVE MODEL-----------------xxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
8,401
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
analysis/FitEPM.py
########################################## ## EPM Distance estimation of SN 2016gfy ## ########################################## import numpy as np import matplotlib.pyplot as plt import subprocess import scipy.optimize as optimize from scipy.optimize import curve_fit ########################################## ## Par...
Python
Unknown
10,221
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
analysis/FitValenti.py
#!/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxx-------------FITTING ARNETT-VALENTI MODEL FOR A STRIPPED ENVELOPE SUPERNOVA--------------xxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
13,912
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
analysis/DeReddenPhot.py
#!/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxx-----------------Fit Planckian Function To A Spectrum---------------xxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
11,751
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
analysis/FitEmpirical.py
#!/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxx---------------DETERMINE THE EMPIRICAL RELATION FOR TYPE IIP SUPERNOVA---------------xxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
8,598
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
analysis/FitTaddiaUBVRIBol_3.py
#!/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxx---------------FITTING TADDIA MODEL FOR A STRIPPED ENVELOPE SUPERNOVAE--------------xxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
19,601
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
photometry/PhotGal.py
#!/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxx-------------------PHOTOMETRY OF GALAXIES-----------------xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
14,561
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
photometry/PhotUVIT_3.py
#!/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxx-------------------PHOTOMETRY OF OBJECT FRAMES-----------------xxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
25,322
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
photometry/PhotDOT.py
#!/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxx-------------------PHOTOMETRY OF OBJECT FRAMES-----------------xxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
41,399
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
photometry/EditHeader.py
#!/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxx---------MODIFIES HEADER IN THE HFOSC2 FITS FILES AND APPENDS AIRMASS DETAILS------------xxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
6,629
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
photometry/PhotStandard.py
#!/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxx-------------------PHOTOMETRY OF OBJECT FRAMES-----------------xxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
40,270
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
photometry/Airmass_3.py
#!/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxx-------------------------CALCULATION OF AIRMASS----------------------xxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
8,291
[ascl:2106.024]
https://github.com/sPaMFouR/RedPipe
photometry/AirmassDOT.py
#!/usr/bin/env python # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxx-------------------------CALCULATION OF AIRMASS----------------------xxxxxxxxxxxxxxxxxxxxxxx # # xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Python
Unknown
8,313