david1412 / Time-varying--MIMO

Time varying system identification of MIMO Acoustics systems
0 stars 0 forks source link

Mean System Distance #8

Closed narahahn closed 6 years ago

narahahn commented 6 years ago

The average value of system distance is computed incorrectly. We already discussed this error before in our meeting. Please correct it in average_fwai

https://github.com/david1412/Time-varying--MIMO/blob/217d06d160655bff32c991344a23d17d5d1a0a0c/utility.py#L383-L389

In Avg_System_distance_MISO.py you give np.linspace(90, 270, num=K) into average_fwai, which I don't understand.

https://github.com/david1412/Time-varying--MIMO/blob/217d06d160655bff32c991344a23d17d5d1a0a0c/Avg_System_distance_MISO.py#L105-L108

narahahn commented 6 years ago

When I run your code Avg_System_distance_MIMO.py, I get the following figures.

mic1 mic2

They do not seem to be right, because the system distance is supposed to decrease for slower motions.

david1412 commented 6 years ago

1.I will correct the plots . 2.In Avg_System_distance_MISO.py you give np.linspace(90, 270, num=K) into average_fwai, which I don't understand. ( i will check and revert in a moment) 3The average value of system distance is computed incorrectly. We already discussed this error before in our meeting. Please correct it in average_fwai ,# yes,we discussed in the previous meeting

as far i understood from the meeting. i need to write code as

np.mean(D,axis=-1) pl.plot(np.mean(D,axis=-1))

if am wrong in understanding , please send me the procedure again. Thankyou

david1412 commented 6 years ago

MIMO average System distance are modified ( i used mics)

in line 109,114,119,124, 20*log 10 is replaced in db . I got this plots ,please find below for mic1 and mic2

mic1 mic2


MISO plot ( in line 107,112,117,122, 20*log 10 is replaced in db )

miso

david1412 commented 6 years ago

I have a question : Are the results fine in system distance MISO and MIMO .. I got this plots ..

mic1 mic1 1 mic2 mic2 2 ![sys mic1](https://user-images.githubuser sdmic1 sd mic2 sysmic2

content.com/30881405/34636809-792a0a90-f2a9-11e7-95d8-39a09106f0cc.png)

narahahn commented 6 years ago

Great. The impulse responses seem OK.

But the system distance still looks strange. Are you sure that the horizontal axes are the angular speed and the vertical axes are in decibels?

david1412 commented 6 years ago

2 loud speakers used in the code ..( i got 8 individual interpolation IR) and (4 sysstem distance Mic1 and mic2)

c.f with your paper( it seems better than earlier results )

please find the plots below.

sinc2

spline2

nn2

irlinear 2

ir sinc

ir spline

ir nn mic1

sdmic2

sdmic2 2

sdmic1 1 It looks strange ,i modified some code and i got this results. The horizontal and vertical are in angular speed and decibles respectively.

sd mic1

ir-linear-mic1

david1412 commented 6 years ago

avg2

avg1 Results of MIMO and MISO ( average system distance ) average sys miso

david1412 commented 6 years ago

first 2 plots from MIMO

last plot is from MISO , i think the system distance is decreased for slower motions . If the plots are good, i will update the code as per your suggestion.

david1412 commented 6 years ago

MIMO plots seem to be strange, I modified the code and I got the plots below.

mimo2

mimo

david1412 commented 6 years ago

MIMO system distance plots , omega=2radians/sec , line 203 is modified Phi[1, :] = np.roll(Phi[0,:], int(K/2))

mic2 2

mic2

sysmic1 1

sysmic1 mic1l mic2l mic1sinc mic2sinc mic1sp mic2sp mic2nn mic2 2nn

david1412 commented 6 years ago

sysd2 MISO system distance ,omega=2 radians/second. I the impulse was flipped. I adjusted it

sp2

sp1

sinc1

sin2

nn2

nn1

l2

l1 sysd

david1412 commented 6 years ago

mimoavgsd2 miso avgerage sd mimoavgsd