Manual ROI

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #8893
    Naser
    Participant

    Dear Fjolla,

    I need to set manual ROI of -1000 to 1000,

    I set:
    LTE_config.manually_set_ROI =1;
    LTE_config.roi_x = [-1000 1000];
    LTE_config.roi_y = [-1000 1000];

    Yet, the output still showing automatic ROI. I think my roi values it is overwritten somewhere else.

    Could yo please help ?

    Best regards,
    Naser

    #8902

    Dear Naser,

    Yes you are right. Your values are overwritten in +network_generation/generated_network.m lines 91 – 101. Before calculating the region of interest (ROI), the positions of base stations are generated based on the intersite distance given as input parameter and based on the base station distribution. Then the ROI is calculated based on those base station positions.

    You can solve this by adding the following code in the lines I mentioned above:
    elseif LTE_config.manually_set_ROI == 1
    roi_x = LTE_config.roi_x;
    roi_y = LTE_config.roi_y;
    else

    Best regards,
    Fjolla

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.