DeepMIMO / DeepMIMO-python

DeepMIMO python dataset codes for mmWave and massive MIMO
Other
56 stars 10 forks source link

Access BS1-UE1 data in Dynamic Doppler (DD1) Scenario using v3 #4

Closed abdullah-alahmadi closed 3 months ago

abdullah-alahmadi commented 3 months ago

I have a question about the total number of UEs in Dynamic Doppler (DD1) Scenario, the website does not mention that. but from figure 2 it seems that there are 3 UEs. How can I access a specific link data between BS and UE (say BS1 and UE1).

Thank you

jmoraispk commented 3 months ago

Hi @abdullah-alahmadi Thanks for bringing this to our attention. We probably should make an example with dynamic scenarios.

In any case, you can find it the DeepMIMOv3 docs. After generating the dataset, you'll have a deepMIMO_scenario which is a list of snapshots (or scenes) across time. deepMIMO_scenario[0] will list the datastets of each basestation for the first time sample. deepMIMO_scenario[0][0] is a dictionary for the first basestation. deepMIMO_scenario[0][0]['user']['location'] would give you the locations of those 3 users, which should match across basestations. deepMIMO_scenario[0][0]['user']['channel'] would give you channel between each user and basestation 0. The only difference between DD1 and the other scenarios in terms of how to access the data is the existence of "scenes" since it's a dynamic scenario, so it needs double indexing.

For more info, see the output parameters section in the docs

abdullah-alahmadi commented 3 months ago

Thanks @jmoraispk. But when running dataset[0][0]['user']['location'] it gives an array [5,3]. Does this mean we have 5 users?

jmoraispk commented 3 months ago

@abdullah-alahmadi, exactly. 3 would be the dimension of the each location, XYZ. The website mentions that the number of users can vary across scenes, since users are passing cars randomly generated.