Closed rennone closed 10 years ago
ピーク時間が変わるのが原因. -30°とかでは, かなり速くピークが来たため, それによるずれっぽい.
中心がピークになる時間は peak_time = cos(θ)_cx/C_S + sin(θ)_cy/C_S となる. なので, t0 = -peak_time + 100 とし
const double r = (i+gapX)_cos_per_c+(j+gapY)_sin_per_c-(time-t0); const double gaussian_coef = exp( -pow(r/beam_width, 2 ) ); とすれば,常に100ステップで中心にピークが来るようになる.
180, 270 , -90ではうまく行かなかった. 90ではうまく行った.