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

feat: Added metadata saving in PPSimulation_2DContinuous #105

Merged
merged 1 commit into from
Jun 17, 2024

Conversation

Abhinavcode13
Copy link
Collaborator

Fixes #81

@Abhinavcode13 Abhinavcode13 requested a review from OskarElek June 17, 2024 08:53
@pjflux2001 pjflux2001 self-assigned this Jun 17, 2024
@pjflux2001 pjflux2001 merged commit 9ce2598 into PolyPhyHub:main Jun 17, 2024
13 checks passed
@Abhinavcode13 Abhinavcode13 deleted the metadata-saving branch June 17, 2024 12:53
Copy link
Collaborator

@OskarElek OskarElek left a comment

Choose a reason for hiding this comment

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

@Abhinavcode13 Looks good to me, thank you!

Left a few small comments. Once you're done, please run the pipeline and post a comment with the output from the console, and attach the resulting metadata file, so that we can verify that they match.

Thanks!!

"sense_distance_grid": ppConfig.sense_distance / ppConfig.ppData.DOMAIN_SIZE[0] * ppConfig.TRACE_RESOLUTION[0],
"move_spread": ppConfig.steering_rate,
"sense_spread": ppConfig.sense_angle,
"persistence_coefficient": ppConfig.sampling_exponent,
Copy link
Collaborator

Choose a reason for hiding this comment

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

this should be ppConfig.trace_attenuation and ppConfig.deposit_attenuation
...which means we now need 2 fields for this in the metadata - so let's call them the same as in the code please

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Thank you for the review, however I'm unsure what needs to done in this case.

    "move_spread": ppConfig.trace_attenuation,
    "sense_spread": ppConfig.deposit_attenuation,

Is this the correct way?

cc: @OskarElek

@Abhinavcode13
Copy link
Collaborator Author

I thank you pointing it out, @OskarElek. I will address the adjustments in the upcoming PR.

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.

Metadata file is not saved
3 participants