sfwindow
(4.0)
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
bpstatics94/firstlook
bptti2007/firstlook
bpvelanal2004/firstlook
cant12/lpf
cant12/stk
chevron2014/fwi
freeusp/land
marmousi/fdmod
marmousi/model
marmousi/shots
marmousi2/curl
marmousi2/div
marmousi2/fdMod
marmousi2/vx
marmousi2/vz
marmousi2mp/modelproc
nankai/data
nankai/shots
nankai/stack
new-zealand-kahu-3d/fetch
new-zealand-kerry3d/fetch
new-zealand-opunake-3d/displayin
new-zealand-opunake-3d/fetch
new-zealand-parihaka-3d/displayin
new-zealand-tui3d/fetch
new-zealand-waihapa-3d/fetch
new-zealand-waipuku-3d/fetch
new-zealand-waka-3d/fetch
new-zealand-waka-3d/firstlook
p-cable/geom
p-cable/ntg
p-cable/removeclick
p-cable/stack
p-cable/veltest
pluto/data
pluto/fdmod
pluto/model
pluto/mult
pluto/shot
seam-phase1-2d/compare
seam-phase1-2d/cvs
seam-phase1-2d/fetch
seam-phase1-2d/filter
seam-phase1-2d/ntg
seam-phase1-2d/sfawefd2d
seam-phase1-2d/sfawefd2d_split
seam-phase1-2d/sfmshots
seam-phase1-2d/sfmshots1
seam-phase1-2d/sfshot1
seam-phase1-2d/vscan
seam_interpret/fetch
segsalt/data
sigsbee/data2A
sigsbee/fdmod2A
sigsbee/fs2B
sigsbee/model2A
sigsbee/nfs2B
sigsbee/ptest
sigsbee/pwemig
sigsbee/wemig
stratton/fetchbooklet
stratton/fetchfinal
stratton/fetchgather
stratton/fetchslow
teapotdome/angmig
teapotdome/canoren
teapotdome/cmp_stack_tahstack
teapotdome/fetch
teapotdome/firstlook
teapotdome/geom
teapotdome/interp-model
teapotdome/nmostack
teapotdome/scdecon
teapotdome/tahnmostack
teapotdome/tahscplot
teapotdome/tahscscale
teapotdome/tahsubset
teapotdome/teamodel
teapotdome/test-preprocessing
teapotdome/vels
teapotdome/zomig
viking/basicsu
viking/fetch
viking/firstlook
wggom/model
DIRACK
examples/crestack
examples/pefInterpolation
examples/vfsa-set-t0-m0
examples/vfsa-simple
EEG
marchenko/example-cluster
marchenko/example
GALLERY
bp/lowrank
bp/oway
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
marmousi/recurkir
model94/model
overthrust/kirch
overthrust/lowrank
overthrust/model
overthrust/oway
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/lrostep
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/dem
hw1/tpow
hw2/helix
hw2/running
hw3/compress
hw3/pocs
hw4/invint
hw4/match
hw5/pattern
hw5/seabeam
GEO384S
hw0/channel
hw0/channel2
hw0/local
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/kirchhoff
hw6/rtm
GEO384W
hw1/code
hw1/wave
hw2/cmp
hw2/eikonal
hw3/synth
hw4/sigsbee
hw4/synth
hw5/hyper
hw5/hyper2
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
apefsnsep/dune
apefsnsep/simplegroll
fspfint/cmp
fspfint/curve
fspfint/noise_curve
fspfint/noise_qdome
fspfint/qdome
fspfint/sean
fspfint/snr
fxyspfdenoi/qdome
gvdseisint/bei
gvdseisint/ocmodel
gvdseisint/vti
lcfs/conq-model
lcfs/conq-noise
lcfs/lcfest
lcfs/rdata
lcfs/varq-model
riesz/fieldata
riesz/linefit
riesz/sigmdenoi
riesz/sigmoid
spefdecon/atten-model
spefdecon/rdata
spefdecon/simple
spefdecon/wedge
txsopf/curvedmodel
txsopf/data2
txsopf/model
txyapf/curve
txyapf/french
txyapf/real3d
txyapf/sigmoid
txyspfint/curve
txyspfint/field3
txyspfint/french
txyspfint/jp
vdseislet/demultiple
vdseislet/haskell
vdseislet/nmo
vdseislet/usp
M8R
api/afdm
data/freeusp
format/las
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/afdm
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
school2017/c++
school2017/c
school2017/csem
school2017/f90
school2017/gravity
school2017/modeling
school2017/seismic
school2020/cmp
school2020/csem
school2020/gravity
school2020/seismic
scons/easystart
scons/rsf
scons/rsfpy
su/rsfcurves
su/rsfdecon
su/rsffdmod2
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
tutorial2017/radon
tutorial2017/synth
tutorials/attr
tutorials/cg
tutorials/colormaps
tutorials/cs
tutorials/hilbert
tutorials/images
tutorials/interp
tutorials/inv
tutorials/lineaments
tutorials/nmo
tutorials/parameters
tutorials/petro1
tutorials/petro2
tutorials/rockphysic
tutorials/scicolormaps
tutorials/semblance
tutorials/slicing
tutorials/smoothing
tutorials/spitz
tutorials/sthelens
tutorials/timefreq
tutorials/tuning
tutorials/wavelet
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
acrossfault/clyde
acrossfault/gulf
acrossfault/louis2d
acrossfault/synth
agath/zslice
aii/heidrun
anisodiff/barrolka
anisodiff/pcable
anisodiff/simple
anisodiff/simple3d
apefint/alias
apefint/misscurv
apefint/missing
apefint/ray
apefint/sean
apwd/crnfld
apwd/trace
asa/dipping
asa/freeuspemd
asa/sigsep
asa/simple
asa/simpleemd
asa/tracesep
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
cs/coef
cs/sean
cs/synth
dbortho/hyper
dealiase/coef
dealiase/field
dealiase/linear
dealiase/synth
dealiase/synth30Hz
dealiase2/bei
dealiase2/hyper
dealiase2/hypern
deblend/fairfield-initmfnew
deblend/linear
deblend/synthcomplex
deblend/synthhyper
decomp/frenchtri
decomp/homoortho
decomp/homotri
demulemd/haskell
demulemd/mobil
demulemd/syn
diffr/chan3d
diffr/fault
diffr/gom
dipseis/complex
dipseis/field
dipseis/hyper
dipseis/sigmoid
dlaugment/exp
dlchan/label
dlchan/testing
dlchan/thin
dmssa/field
dmssa/synth3
drr3d/field
drr3d/synth
drr5d/hankel
drr5d/hyper
drr5d/snrs_ratio
drr5d/snrs_sigma
drr5d/synth
dsd/conflict
dsd/demo
dsd/demo2
dsd/demo3.1perc
dsd/field1
dsd/field2
dsd/real
dsrtomo/accuracy
dsrtomo/causal
dsrtomo/hessian
dsrtomo/marm
dtwaniso/dtw-example
dtwaniso/synthetic-gather
eikods/check
eikods/marm
eikods/migration
elas/french-dc
elas/gradient
elas/homomono3d
elas/homotric3d-dc
elas/homotric3d
elas/twolayer3d
emdpf/dipfilter
emdpf/southsea
emdpf/synsig
enhemd/postack
enhemd/prestack
enhemd/sigmoid
eseis/demo2
eseis/demo4
eseis/field
eseis/sparse
ffd/anisotropic
ffd/bpmodel
ffd/bptti
ffd/ffd
flat/comaz
flat/flat
flat/flatelf
fpwd/teapot
fraclapl/diffq
fraclapl/marmq
fraclapl/twolayer
fwiseislet/blend
fwiseislet/encoding-spar
fwiseislet/encoding
fwiseislet/noise-spar
fwiseislet/noise
fwiseislet/timedomain
fwiseislet/wavelet
gmresq/bpgas
group/ell
group/emarm
group3/bptti
group3/tiltorthocompare
halfthr/hyper
halfthr/linear
halfthr/sean
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
merge/apache
merge/pcable
merge/pcable2
nar/chirp
nar/hou
nar/mirko
nar/trace
nar/vecta
nmo3/azimuthtest
nmo3/mcelroy
nmodeblend/bei
nmodeblend/class
nmodeblend/simple
nmodeblend/synth
nmodeblend/timespace
npm/hou
npm/mirko
npm/trace
npm/vecta-emd
npm/vecta-nar
npm/vecta-stlc
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
pcastack/field
phase/boon
phase/boon3
phase/nonstat
phase/signal
phase/zero
pi/barrolka
pi/bei
pi/simple-model
pmig/mig
pmig/nmo
probdif/nankai
probdif/noisy-synthetic
probdif/synthetic
probdif/toy
psp/models
psp/overthrust
pwshape/parihaka
pwshape/qdome
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
sobel/pari
sobel/penobscot
sparse/sparse-experim-shaping
sparse/vg
specrecom/gulf
specrecom/ricker
specrecom/tf
sswtapp/boonsville
sswtapp/strata
stackadcig/flat
stackadcig/sigsbee
strat/sigmoid1
strat/spec-decom
strat/three-d
strfilter/bei
strfilter/hongliu
strfilter/spray
strsvd/fieldstrsvd
strsvd/hyper
svmf/bei
svmf/class
svmf/fairfield
svmf/test
svmf/testnoise
svmf/timespatial
svscan/bei
svscan/beicmps
svscan/class
svscan/field
svscan/simple
svscan/synth
synth/ordexample20hz
synth/small-khuff
synwav/gch1
synwav/lowf
synwav/pp
t2dweak/alaska
t2dweak/field
t2dweak/grad
t2dweak/slow
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
varipick/global-gom
varipick/horizon
varipick/newviking
vc3/fracs
vc3/threedim
vscan/bei
vscan/hw
vscan/stack
vscan/synth
welllogs/logs
wetm/beivel
wetm/nankaizone
wetm/synthetic4
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
pscons/project
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
ZJU
diffrlrra/fault
diffrlrra/nankai_new
diffrlrra/synth
dtv/marm
odrr3d/hyp3d
odrr3d/hyp3d_N20
odrr3d/syn3d
odrr3d/syn3d_N6
odrr3d/syn3d_hf
odrr5d/hankel
odrr5d/hyper
odrr5d/snrs_rank
odrr5d/snrs_ratio
odrr5d/snrs_sigma
odrr5d/synth
odrr5d/synth2
optnoise/flat
optnoise/postack
optnoise/prestack
optnoise/slope
q/field
q/simple
q/var
sosvmf/field
sosvmf/hyper
sosvmf/jy