Src/radar_dsp.c
//zeros out certain bins (distances) based on mask

zeros out certain bins (distances) based on mask
zeros out certain bins ( distances ) based on mask
void dobandstop(uint16_t** data, uint8v2_t data_size, uint32_t mask){
	uint8_t sweeps = data_size.x1;
	uint8_t bins = data_size.x2;
	for(uint16_t j = 0; j<sweeps/2; j++){
		if(mask & (1<<j)){
			for(uint16_t i = 0; i<bins; i++){
					data[j][i] = 0;
			}
		}
	}
}
void dobandstop ( uint16_t * * data , uint8v2_t data_size , uint32_t mask ) { uint8_t sweeps = data_size . x1 ; uint8_t bins = data_size . x2 ; for ( uint16_t j = 0 ; j < sweeps / 2 ; j ++ ) { if ( mask & ( 1 << j ) ) { for ( uint16_t i = 0 ; i < bins ; i ++ ) { data [ j ] [ i ] = 0 ; } } } }
zeros out certain bins (distances) based on mask
zeros out certain bins ( distances ) based on mask