-
Notifications
You must be signed in to change notification settings - Fork 8
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
Conversation
Tanzim patch 1
* 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
|
There was a problem hiding this 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) |
There was a problem hiding this comment.
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
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 | ||
) |
There was a problem hiding this comment.
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
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
get_ue_data
: Fetches UE data from the database.plot_ue_tracks
: Visualizes UE tracks on a map.plot_ue_tracks_side_by_side
: Allows comparative visualization of actual vs predicted UE tracks.calculate_distances_and_velocities
: Computes distances and velocities between consecutive UE points to analyze movement speed and trajectory.preprocess_ue_data(data)
: Prepares and cleans UE data for analysis.get_predicted_alpha
: Estimates the alpha parameter using regression techniques within the mobility model.