Package pysls :: Module pl
[frames] | no frames]

Module pl

source code

Functions to make plots

Functions
 
mix(spectralist, fluxchoice='fluxes_csc', templatelist=[], crosslist=[], peakslist=[], indtemp=True, printing=False)
plots a list of spectra, templates and correlations [not used]
source code
 
plotlines(template)
plots the lines in a template as vertical lines with a name
source code
 
plottemplate(template, angst, labels=[], withtemp=True)
plots a template
source code
 
plotpeaks(peaks, labels=[], color='red', withpeaks=True)
plots the peaks as vertical lines
source code
 
plotspectra(spectra, labels=[], fluxchoice='fluxes_csc', withnoise=True, withmask=True)
plots a spectra, the noise, the mask
source code
 
plotcorr(ccsp, labels=[], withcorr=True)
plots the cross correlation
source code
 
plotcont(spec)
plots the flux without continuum, once for the fit file and once using the median filter.
source code
 
completeplot(spec, fluxchoice, temp, ccsp, peaks, mainpeaks, candidat, printing)
plots whatever can be plotted !
source code
 
plotcand(cand, directory, reftuples, fluxchoice, minangst, maxangst, withmask=True)
plots what can be interesting to check a candidat
source code
 
plotmask(spec)
plots the mask as gray areas
source code
Function Details

plotcont(spec)

source code 

plots the flux without continuum, once for the fit file and once using the median filter. It also shows the difference between the two fluxes