Rosetta
Variables
hist2d Namespace Reference

Variables

 inputfiles = sys.argv[1:]
 
int xcol = 0
 
int ycol = 2
 
 fig = plt.figure()
 
int i = 1
 
 inp = open(inputfile, 'r')
 
 lines = inp.readlines()
 
list xdat = []
 
list ydat = []
 
 dat = line.split()
 
 x = float(dat[xcol])
 
int y = float(dat[ycol])*180/3.1416
 
list range = [[0, 6], [-180, 180]]
 
 H
 
 xedges
 
 yedges
 
 bins
 
list extent = [yedges[0], yedges[-1], xedges[-1], xedges[0]]
 
 ctdatx = Counter(xdat)
 
 ctdaty = Counter(ydat)
 
 peakx = ctdatx.most_common(1)
 
 peaky = ctdaty.most_common(1)
 
 ax = fig.add_subplot(5,4,i)
 
 interpolation
 
 inputfile
 
 fontsize
 

Variable Documentation

◆ ax

hist2d.ax = fig.add_subplot(5,4,i)

◆ bins

hist2d.bins

◆ ctdatx

hist2d.ctdatx = Counter(xdat)

◆ ctdaty

hist2d.ctdaty = Counter(ydat)

◆ dat

hist2d.dat = line.split()

◆ extent

hist2d.extent = [yedges[0], yedges[-1], xedges[-1], xedges[0]]

◆ fig

hist2d.fig = plt.figure()

◆ fontsize

hist2d.fontsize

◆ H

hist2d.H

◆ i

int hist2d.i = 1

◆ inp

hist2d.inp = open(inputfile, 'r')

◆ inputfile

hist2d.inputfile

◆ inputfiles

hist2d.inputfiles = sys.argv[1:]

◆ interpolation

hist2d.interpolation

◆ lines

hist2d.lines = inp.readlines()

◆ peakx

hist2d.peakx = ctdatx.most_common(1)

◆ peaky

hist2d.peaky = ctdaty.most_common(1)

◆ range

hist2d.range = [[0, 6], [-180, 180]]

◆ x

hist2d.x = float(dat[xcol])

◆ xcol

int hist2d.xcol = 0

◆ xdat

hist2d.xdat = []

◆ xedges

hist2d.xedges

◆ y

int hist2d.y = float(dat[ycol])*180/3.1416

◆ ycol

int hist2d.ycol = 2

◆ ydat

hist2d.ydat = []

◆ yedges

hist2d.yedges