% histogram and percentile distribution of given channel % forexample here: seism microseism format long g run /users/swinkels/deploy/MatlabVirgoTools/trunk/startup.m %%% this give access BAS's functions, including pole/zero TF fit clear all close all cd '/users/fiori/home/AdV/Commissioning/clima/percentili_rms' %chname='V1:ENV_CEB_SEIS_N_50Hz_rms_0.1_1Hz'; %chname='V1:ENV_CEB_SEIS_W_50Hz_rms_0.1_1Hz'; chname='V1:ENV_CEB_SEIS_V_50Hz_rms_0.1_1Hz'; fflT='/virgoData/ffl/trend.ffl'; gps=utc2gps(datenum(2015,1,25,0,0,0)); gpsend = utc2gps(datenum(2017,2,26,0,0,0)); len = gpsend - gps; days = floor(len/86400); if (chname(17) == 'V') cleancut = 5E-8; % V else cleancut = 8E-8; % N,W end cebn=frgetvectN(fflT,chname,gps,len); time = (1:1:length(cebn))'/86400/0.005; figure(1) plot(time,cebn); grid on; set(gca,'yscale','log') cebnclean = cebn; cebnclean(cebnclean