
/* -fn MAC -macro noiseMask.M -var mult 3.0 -all */

if (sliceCode == CODE_INIT)
   {
    noise = getParm( fdata, FDNOISE, 0 );
   };

if (sliceCode > 0) 
   {
    for( i = 0; i < size; i++ )
       {
        if (rdata[i] > -mult*noise && rdata[i] < mult*noise)
           {
            rdata[i] = 0.0;
            idata[i] = 0.0;
           }
        else
           {
            rdata[i] = 1.0;
            idata[i] = 1.0;
           };
       }
   };
