Skip to content

Conversation

HarshithBachimanchi
Copy link
Contributor

Applies a Gaussian mask directly to the field generated in MieScatterer if the parameter coherence_length is provided as an input in MieSphere. This functionality will be useful for partially coherent sources.

Coherence length fix for MieScatterer
@BenjaminMidtvedt BenjaminMidtvedt self-assigned this Nov 16, 2022
@BenjaminMidtvedt BenjaminMidtvedt self-requested a review November 16, 2022 11:22
@BenjaminMidtvedt
Copy link
Collaborator

BenjaminMidtvedt commented Nov 16, 2022

Looks good! Could you add coherence_length to __conversion_table__ ?
Something like coherence_length=(u.m, u.pixel).

Then change the docs to say that it is given as meters per default. __conversion_table__will convert it to pixels for you automatically

Added coherence length to the conversion table
@HarshithBachimanchi
Copy link
Contributor Author

Yes! Added it now.

@BenjaminMidtvedt BenjaminMidtvedt merged commit d34ba6a into DeepTrackAI:develop Nov 21, 2022
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.

2 participants