sfwindow (2.0-git)
index
system/main/window.c
Documentation
Window a portion of a dataset.

 
Synopsis
        sfwindow < in.rsf > out.rsf verb=n squeeze=y j#=(1,...) d#=(d1,d2,...) f#=(0,...) min#=(o1,o2,,...) n#=(0,...) max#=(o1+(n1-1)*d1,o2+(n1-1)*d2,,...)

Other parameters from the command line are passed to the output (similar to sfput).

 
Parameters
       
 
float d#=(d1,d2,...)
sampling in #-th dimension
 
largeint f#=(0,...)
window start in #-th dimension
 
int j#=(1,...)
jump in #-th dimension
 
float max#=(o1+(n1-1)*d1,o2+(n1-1)*d2,,...)
maximum in #-th dimension
 
float min#=(o1,o2,,...)
minimum in #-th dimension
 
largeint n#=(0,...)
window size in #-th dimension
 
bool squeeze=y [y/n]
if y, squeeze dimensions equal to 1 to the end
 
bool verb=n [y/n]
Verbosity flag

 
Used In
       

 
BEI
        dpmv/krchdmo
dpmv/matt
dwnc/sigmoid
fdm/kjartjac
fld/cube
fld/shotmovie
fld/synmarine
fld/yc
ft1/autocor
ft1/brad
ft1/ft2d
krch/sep73
sg/denmark
sg/toldi
trimo/mod
trimo/subsamp
vela/stretch
vela/vscan
wvs/head
wvs/vscan

 
CUP
        rna2d/real
rna2d/shot
rna2d/simple
rna3d/real
rna3d/shot
rna3d/sin

 
CWP
        geo2006TimeShiftImagingCondition/flat
geo2006TimeShiftImagingCondition/icomp
geo2006TimeShiftImagingCondition/zicig
geo2007StereographicImagingCondition/flat4
geo2007StereographicImagingCondition/gaus1
geo2007StereographicImagingCondition/sigsbee2
geo2008InterferometricImagingCondition/circle
geo2008InterferometricImagingCondition/sact1
geo2008InterferometricImagingCondition/sigs2
geo2008IsotropicAngleDomainElasticRTM/marm2allA
geo2008IsotropicAngleDomainElasticRTM/marm2oneA
geo2008NumericWEMVAoperators/flatWEMVA
geo2008NumericWEMVAoperators/saltWEMVA
geo2009TTIModeSeparation/fold
geo2009TTIModeSeparation/marmousi2
geo2009TTIModeSeparation/operator
geo2009TTIModeSeparation/tti3
geo2009TTIModeSeparation/vti3
geo2009VTIModeSeparation/aniopsize
geo2009VTIModeSeparation/oporder
geo2009VTIModeSeparation/separate2
geo2009VTIModeSeparation/separate3
geo2009VTIModeSeparation/separate5
geo2009VTIModeSeparation/sigsbee
geo2011WideAzimuthAngleDecomposition/flatEICangle
geo2011WideAzimuthAngleDecomposition/seam357
jse2006RWEImagingOverturningReflections/sigsbee
pept2011MicroearthquakeMonitoring/saf1
pept2011MicroearthquakeMonitoring/saf2
pept2011MicroearthquakeMonitoring/saf3

 
DATA
        alaska/foldplot
alaska/line31-81-m8r
amoco/fdmod
amoco/shots
bpait/model
freeusp/land
marmousi/fdmod
marmousi/model
marmousi/shots
marmousi2/curl
marmousi2/div
marmousi2/fdMod
marmousi2/vx
marmousi2/vz
nankai/data
nankai/shots
nankai/stack
p-cable/geom
p-cable/stack
pluto/data
pluto/fdmod
pluto/model
pluto/mult
pluto/shot
seam-phase1-2d/cvs
seam-phase1-2d/fetch
seam-phase1-2d/sfmshots
segsalt/data
sigsbee/data2A
sigsbee/fdmod2A
sigsbee/fs2B
sigsbee/model2A
sigsbee/nfs2B
sigsbee/ptest
sigsbee/pwemig
sigsbee/wemig
teapotdome/fetch
teapotdome/firstlook
teapotdome/geom
teapotdome/nmostack
teapotdome/scdecon
teapotdome/tahnmostack
teapotdome/tahscscale
teapotdome/tahsubset
teapotdome/vels
teapotdome/zomig
viking/basicsu
viking/fetch
viking/firstlook
wggom/model

 
EEG
        marchenko/example

 
GALLERY
        bptti/model
constant/gazdag
constant/kirch
constant/lowrank
constant/model
constant/oway
constant/stolt
constant/vc
french/gazdag
french/lowrank
french/model
french/oway
french/stolt
french/vc
gradient/fakirmig
gradient/lowrank
gradient/model
gradient/oway
marmousi/model
model94/model
overthrust/lowrank
overthrust/model
segsalt/lowrank
segsalt/model
sigsbee/ffd
sigsbee/kirMulti
sigsbee/lowrank
sigsbee/lrostep
sigsbee/model
sigsbee/oway
statics94/model
teapot/angmig
teapot/zomig
twohalf/kirMulti
twohalf/model
twohalf/oway
vofz/gazdag
vofz/kirch
vofz/lowrank
vofz/model
vofz/oway
vofz/stolt
vofz/vc

 
GEE
        ajt/galilee
ajt/igrad1
hlx/futterman
hlx/helderiv
hlx/helgal
hlx/helocut
hlx/mam
hlx/solar
iin/chevron
iin/galilee
iin/invint
lal/multiscale
lmn/scale
lmn/sep73
lmn/sep77
lsq/antoine
lsq/lomask
lsq/puck
lsq/vesuvio
mda/elita
mda/levint
mda/mad
mda/miss3
mda/morgan
mda/pefex
mda/seabeam
noiz/antoine
noiz/rbst
noiz/softclip
pch/ida
pch/mideast
pch/patch
pch/signoi
pch/tvdecon
prc/bob
prc/seab
prc/sep94
rez/canyon

 
GEO384H
        hw1/tpow
hw2/helix
hw2/sorting
hw3/compress
hw3/pocs
hw4/invint
hw5/match
hw5/pattern
hw5/seabeam

 
GEO384S
        hw1/data
hw2/groundroll
hw2/land3d
hw2/migration
hw3/dmo
hw3/nmo
hw3/nmo3d
hw4/alaska
hw4/teapot
hw4/viking
hw5/pradon
hw5/radon
hw6/gazdag
hw6/rtm

 
GEO384W
        hw1/code
hw1/wave
hw2/cmp
hw2/eikonal
hw3/synth
hw4/sigsbee
hw4/synth
hw5/hyper
hw5/lsmig
hw5/sigsbee
hw6/blake
hw6/hyper
hw6/sigsbee

 
GEOSTATS
        simulate/rfield
simulate/simple
spatial_stats/correlogram
spatial_stats/covariance
spatial_stats/gr_variogram
spatial_stats/variogram

 
GPGN658
        fdmod/exercise
rtmig/exercise

 
ICP
        sam2013gpushortestpath/test

 
JLU
        riesz/fieldata
riesz/linefit
riesz/sigmdenoi
riesz/sigmoid
txyapf/curve
txyapf/french
txyapf/real3d
txyapf/sigmoid
vdseislet/demultiple
vdseislet/haskell
vdseislet/nmo
vdseislet/usp

 
MILANO
        taupvel/cmp
taupvel/synth

 
OSU
        shalek/elastic2d
shalek/elastic3d
shalek/mod2d
shalek/mod3d

 
PSU
        ligo/test

 
RSF
        animate/movie
challenge/rain
reprobook/exam2
reprobook/exam3
reprobook/exam4
reprobook/exam5
rsf/fractal
rsf/plot
rsf/rsftour
rsf/sfagc
rsf/sfawefd
rsf/sfderiv
rsf/sfdots
rsf/sfenvelope
rsf/sfgrey
rsf/sfnoise
rsf/sfwiggle
rsf/wedge
school/austin
school/complex
school/data
school/gauss
school/horizon
school/marm
school/modeling
school/sigsbee
school/single
school/tapprox
school2009/channel
school2009/channel2
school2009/local
school2015/adapt
school2015/asc2rsf
school2015/born
school2015/channel
school2015/channel2
school2015/local
school2015/matlab
school2015/modmig
school2016/synth
scons/easystart
scons/rsf
scons/rsfpy
su/rsfcurves
su/rsfdecon
su/rsfkfupm
su/rsflab10
su/rsflab11
su/rsflab12
su/rsflab13
su/rsflab16
su/rsflab5
su/rsflab8
su/rsflab9
su/rsfreadwrite
su/rsfscales
su/rsfshape
su/rsftaup
su/rsfwellrf
tutorials/attr
tutorials/colormaps
tutorials/cs
tutorials/hilbert
tutorials/images
tutorials/nmo
tutorials/parameters
tutorials/petro1
tutorials/semblance
tutorials/slicing
tutorials/smoothing
tutorials/spitz
tutorials/sthelens
tutorials/tuning
tutorials/well-tie

 
SEP
        aal/gulf
angle/agmig
antial/imp
antial/mod
antial/sig
avo/bsr
balance/ampl
banana/kernel
bspl/chirp
bspl/chirp2
bspl/plane3
bspl/sei3d
bspl/stolt
burg/gtens
burg/laplac
burg/tension
cdstep/veltran
fat/green
fat/migration
findif/heat
findif/vc3
fmeiko/fmarch
fmeiko/tri
fmsec/cvel
fmsec/marm
forwd/chirp
forwd/chirp2
forwd/stolt
fractal/random
geostat/dix
geostat/miss
helft/mult
helft/spike
helmholtz/wavemovie
huygens/gauss
huygens/marmousi
oc2/cup
oc2/elfshot
oc2/ocimp
passive/synth
pefmult/haskell
pefmult/mobil
pefmult/syn
plane/cube
plane/qint
precon/cube
precon/oned
precon/seab
pwd/alias
pwd/blast
pwd/dune
pwd/hector
pwd/hole
pwd/lomo
pwd/seab
pwd/sean
pwd/signoi
pyramid/model
pyramid/pyramid
rwe/simp1
seaofgal/gal
shearer/stacks
sparse2/test
spitz/sign
stack/velinv
steer/qdome
steer/wz25
stoltst/elfst
stoltst/imps
super/tau
texture/fft
txamo/app
vc1/resdmo
vc2/beivc
vc2/elfvc
vc2/sigvc
vc2/spec
vc2/vcmod
vc2/vcspk
velspec/impls
velspec/sigvc
waverays/marm

 
SWAG
        anisogath/synth
eikds/marm2
eikds/smvel
itime/oz2
itime/oz6
itime/syn
tau/arte
tau/hess
tau/iso
tau/marm
waveds/fdmod
waveds/fdmodnoSS
waveds/svmod

 
TCCS
        agath/zslice
aii/heidrun
apefint/alias
apefint/misscurv
apefint/missing
apefint/ray
apefint/sean
atten/enerd
atten/karmand
atten/pdepth
atten/spectra
attr/attr
attr/vecta
avo/avo
avo/avo2
avo/stat
butterfly/field2
butterfly/synth2D-1-timer
butterfly/synth2D-2
butterfly/synth2D-3
butterfly/synth2D-4
crs/dome2
dbortho/hyper
deblend/fairfield-initmfnew
deblend/linear
deblend/synthcomplex
deblend/synthhyper
decomp/frenchtri
decomp/homoortho
decomp/homotri
diffr/chan3d
diffr/fault
diffr/gom
dsd/conflict
dsd/demo
dsd/demo2
dsd/demo3.1perc
dsd/field1
dsd/field2
dsd/real
dsrtomo/accuracy
dsrtomo/causal
dsrtomo/hessian
dsrtomo/marm
eikods/check
eikods/marm
eikods/migration
emdpf/dipfilter
emdpf/southsea
emdpf/synsig
ffd/anisotropic
ffd/bpmodel
ffd/bptti
ffd/ffd
flat/comaz
flat/flat
flat/flatelf
fpwd/teapot
fraclapl/diffq
fraclapl/marmq
fraclapl/twolayer
gmresq/bpgas
gmresq/exploding
group/ell
group/emarm
group3/bptti
group3/tiltorthocompare
hyper/amarm
hyper3/seam2
intshape/fsyn
intshape/sean
lfd/aniso
lfd/bp
lfd/bptti
lfd/dispersion1
lfd/oned
lfd/twod
lowrank/aniso
lowrank/bp
lowrank/bptti
lowrank/fio
lowrank/fowler
lowrank/impres
lowrank/threed
lpf/lpf
lpf/plut
lpf/ray
lpf/regr
lpf/simon
ltft/groll
ltft/timefreq
ltft/vecta
medianfilter/dragon
medianfilter/model
nar/chirp
nar/hou
nar/mirko
nar/trace
nar/vecta
nmo3/azimuthtest
nmo3/mcelroy
nmodeblend/bei
nmodeblend/class
nmodeblend/simple
nmodeblend/synth
nmodeblend/timespace
oc3/bei
oc3/fault
oc3/french
oc3/frenchint
onestep/abc
onestep/bptti
onestep/bptti2
onestep/bpttirtm
onestep/fio1d
onestep/fowler
onestep/grad
onestep/grad2
onestep/tiltorth
optapert/depthMig
optapert/gibson
optapert/rightSigsbee
optapert/sigsbee
optapert/theo
opwd/freq
opwd/pick
opwd/wrap
ortho/orthocomplex
ortho/orthocsimul
ortho/orthofair
ortho/orthonine
ortho/orthorna
orthogroll/field
orthorhombic/orth
orthorhombic/test
orthorhombic/tiltn
ovc/nankai
ovc/psovc
ovc/toy
phase/boon
phase/boon3
phase/nonstat
phase/signal
phase/zero
pi/barrolka
pi/bei
pi/simple-model
pmig/mig
pmig/nmo
psp/models
psp/overthrust
reversible/delta
reversible/nscnmo
scan3/fourevents
scan3/noncwavg-1
scan3/realdata
seislet/diplet
seislet/gath
seislet/lena
seislet/plane
seislet/seis
seislet/sin2
sglowrank/avo
sglowrank/bp3
sglowrank/dispersion
sglowrank/mms1d-all-vv
sglowrank/mms1d-dt-vv
sglowrank/mms1d-dx-vv
sglowrank/mms1d-fre
sglowrank/oned
sglowrank/tlayer3
shape/beivc
shape/int1
shape/smoo
shemd/field
shemd/hyperoil
shemd/nonstat
shemd/synth1
simistack/bei
simistack/flat4
specrecom/gulf
specrecom/ricker
specrecom/tf
stackadcig/flat
stackadcig/sigsbee
strat/sigmoid1
strat/spec-decom
strat/three-d
strfilter/bei
strfilter/hongliu
strfilter/spray
svmf/bei
svmf/class
svmf/fairfield
svmf/test
svmf/testnoise
svmf/timespatial
synth/ordexample20hz
synth/small-khuff
synwav/gch1
synwav/lowf
synwav/pp
time2depth/masha2
time2depth/msyn2
time2depth2/beinew
time2depth2/hs2grad
time2depth2/synth
time2depth2/vgrad
timefreq/chev
timefreq/lowf
timefreq/syn
timelapse/duri
timelapse/long1
timelapse/timelapse
uncert/beivc
vc3/fracs
vc3/threedim
vscan/bei
vscan/hw
vscan/stack
vscan/synth

 
TONGJI
        decoupledpropagation/bptti2007.smooth
decoupledpropagation/hessvti.2nd.decoupled
decoupledpropagation/twolayer2dti.2nd.coupled.0.5ms
decoupledpropagation/twolayer2dti.2nd.coupled.compare
decoupledpropagation/twolayer2dti.2nd.decoupled.1ms
lrmode/bptti2007.comparison
lrmode/bptti2007.smth
lrmode/bptti2007
lrmode/hessvti
qpwave/bptti2007
qpwave/comparison.operators
qpwave/hessvti
qswave/bptti2007
qswave/twolayer3dvti

 
TRIP
        asg/project
hpcss/marmousi
hug/marm1s_deep
hug/marm1s_shallow
struct/project
test/flat

 
UH
        avostack/cmp1
avostack/cmp2
avostack/stack
avostack/synh
avostack/synl

 
UWA
        geo2013ElasticModellingGPU/bp2d
geo2013ElasticModellingGPU/homo3d
geo2013ElasticModellingGPU/homog2d
geo2013ElasticModellingGPU/hti3d
geo2013ElasticModellingGPU/test2d
geo2013ElasticModellingGPU/test3d

 
XJTU
        gpufwi/fbrec
gpufwi/marmtest
mcaseislet/interp
mcaseislet/sep2
modeling2fwi/marmtest
primer/marmfwi
primer/testaniso
primer/testeb
primer/testfd2d
primer/testspml
test/checkptdemo
test/dlct
test/fpocs2d
test/fpocs3d
test/interpseislet
test/lsinterp2d
test/lsprtm2d
test/marmousi
test/mwni2d
test/myradon2
test/pocs5d
test/sigsbee
test/viscoa2d