コード例 #1
0
def normWeightStack(data, wgts, taperwidth, tapertype):
    """ Calculate array stack by averaging with weighting and normalization.
	"""
    mdata = [d / max(d) for d in data]
    sdata = mean(transpose(mdata) * wgts, 1)
    sdata = taper(sdata, taperwidth, tapertype)
    return sdata
コード例 #2
0
ファイル: algiccs.py プロジェクト: ehparker/pysmo
def normWeightStack(data, wgts, taperwidth, tapertype):
	""" Calculate array stack by averaging with weighting and normalization.
	"""
	mdata = [ d/max(d)  for d in data ]
	sdata = mean(transpose(mdata) * wgts, 1)
	sdata = taper(sdata, taperwidth, tapertype)
	return sdata
コード例 #3
0
def weightStack(data, wgts, taperwidth, tapertype):
    """ Calculate array stack by averaging with weighting.
	"""
    sdata = mean(transpose(data) * wgts, 1)
    sdata = taper(sdata, taperwidth, tapertype)
    return sdata
コード例 #4
0
def meanStack(data, taperwidth, tapertype):
    """ Calculate array stack by averaging without weighting.
	"""
    sdata = mean(data, 0)
    sdata = taper(sdata, taperwidth, tapertype)
    return sdata
コード例 #5
0
ファイル: algiccs.py プロジェクト: ehparker/pysmo
def weightStack(data, wgts, taperwidth, tapertype):
	""" Calculate array stack by averaging with weighting.
	"""
	sdata = mean(transpose(data) * wgts, 1)
	sdata = taper(sdata, taperwidth, tapertype)
	return sdata
コード例 #6
0
ファイル: algiccs.py プロジェクト: ehparker/pysmo
def meanStack(data, taperwidth, tapertype):
	""" Calculate array stack by averaging without weighting.
	"""
	sdata = mean(data, 0)
	sdata = taper(sdata, taperwidth, tapertype)
	return sdata