Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Mobility Model and Extend RADP Library with Essential Helper Functions #13

Closed
wants to merge 28 commits into from
Closed

Conversation

tanzim10
Copy link
Contributor

Overview

This pull request introduces a comprehensive update to the RADP library, integrating a new mobility model for user equipment (UE) and adding five essential helper functions. These enhancements are designed to improve our ability to analyze, visualize, and predict UE behavior based on dynamic data inputs.

Functions

  • Mobility Model Implementation: A new mobility model notebook has been added to simulate and predict UE movement based on various parameters more like an API Service.
  • New Helper Functions:
    1. get_ue_data: Fetches UE data from the database.
    2. plot_ue_tracks: Visualizes UE tracks on a map.
    3. plot_ue_tracks_side_by_side: Allows comparative visualization of actual vs predicted UE tracks.
    4. calculate_distances_and_velocities: Computes distances and velocities between consecutive UE points to analyze movement speed and trajectory.
    5. preprocess_ue_data(data): Prepares and cleans UE data for analysis.
    6. get_predicted_alpha: Estimates the alpha parameter using regression techniques within the mobility model.

tanzim10 and others added 28 commits September 10, 2024 12:19
* changed location for handler and added unit tests

* fixed hanlder position

* fixed import locations

* used black on test & helper files

* fixed name and removed redundant code in test

* added docstring

* added HOW TO RUN comment

* blacked

* fixed typo

* made pr comment changes

* added eu-tracks-params test code

* fixed test_ue_params

* added docstring

* changed venv issues
Copy link

CLA Not Signed

Copy link
Collaborator

@paulvarkey paulvarkey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For notebook, don't use actual simulation alpha as alpha0. Strip out black (since that will be separate PR)

"""

# Initialize the UE data
data = UETracksGenerationParams(params)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

call this ue_tracks_params

Comment on lines +994 to +999
if ue_tracks_generation.empty:
ue_tracks_generation = ue_tracks_generation_batch
else:
ue_tracks_generation = pd.concat(
[ue_tracks_generation, ue_tracks_generation_batch], ignore_index=True
)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no need for if/else -- concat works on empty

@tanzim10 tanzim10 closed this by deleting the head repository Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants