; detrending opt: 0=>remove mean 1=>remove mean and detrend
d = 0
; smoothing periodogram: (0 <= sm <= ??.) should be at least 3 and odd
sm = 5
; percent tapered: (0.0 <= pct <= 1.0) 0.10 common.
pct = 0.10
;obs
spec = specx_anal(ts_obs,d,sm,pct)
splt = specx_ci (spec, 0.05, 0.95)