BMED

A median mix is usually preferred since it is less likely to smear large amplitude, often noise spikes. As an alternative, one could use the mean mix, BMIX 12.1.3 program. One should use an odd number of traces in the mix.
 bmed infile mix
  
 infile  =input file name 
 mix     =mix width <21