-
Notifications
You must be signed in to change notification settings - Fork 1
Rebase PR-31 branch from Jakob #32
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
Closed
Closed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Clustering and mode tracking is added with example code for both and a shared module for both. Other small changes have been made. Splitting function blocks into smaller functions. Other small changes. Bug fix and small change to plot_cluster Fixed an error in create_cluster, that resulted in doublicate model orders for a cluster. Allowed for scatter point size to be adjusted. Removed debug info from some files, added missing type info for function arguments and returns, updated to YaFEM 1.0.0, changed some function descriptions, added timestamp to clustering data Model update module and other changes Add model update module. Added reconnect function for MQTT client. Added timestamp outputs to some functions. Added models folder to store YAFEM models and model parameters. Added function to publish clustering results. Small change to the mode tracking algorithm. Added function to check mode shapes. Moved convert_list function to util.py, since it is used in multiple other functions. Added function to view the spectral density. Changes to readability. Added example functions Changed the typing of some arguments in some functions dict to Dict, list to List, tuple to Tuple
eceb467 to
a69c295
Compare
| else: | ||
| print(mode_shape) | ||
| print('Press enter to continue') | ||
| x = input() |
| myModel = model(myNodes, myElements,model_pars) | ||
|
|
||
| # simulation | ||
| mySimulation = simulation(myModel) |
| try: | ||
| message = json.dumps(payload) | ||
|
|
||
| reconnect_succes = reconnect_client(publish_client) |
| print(f"Skipping model updating due to error: {e}") | ||
| message = json.dumps(payload) | ||
|
|
||
| reconnect_succes = reconnect_client(publish_client) |
| plt.show(block=True) | ||
| cluster_results, sysid_output, dictionary_of_clusters, meadian_frequencies, timestamp = MC.subscribe_and_cluster(config_path,PARAMS) | ||
| if sysid_output is not None: | ||
| fig_ax = plot_clusters(dictionary_of_clusters, sysid_output, PARAMS, fig_ax = None) |
| print("Model update failed.") | ||
|
|
||
|
|
||
| parameters, omegaMU, model_parameters = model_update.estimate_updated_model(dictionary_clusters,MODEL_PARAMETERS,PARAMS) |
| print("Model update failed.") | ||
|
|
||
|
|
||
| parameters, omegaMU, model_parameters = model_update.estimate_updated_model(dictionary_clusters,MODEL_PARAMETERS,PARAMS) |
| print("Model update failed.") | ||
|
|
||
|
|
||
| parameters, omegaMU, model_parameters = model_update.estimate_updated_model(dictionary_clusters,MODEL_PARAMETERS,PARAMS) |
Contributor
Author
|
rebase done in PR #35 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.