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

FIX: Change errors.py calc_errors() to produce a smooth magnetic profile #127

Merged
merged 1 commit into from
Jun 11, 2021

Conversation

acaruana2009
Copy link
Contributor

Currently the contours generated for magnetic profiles for the non-sliced samples are producing a step profile. Given the fact that we are already using smooth_profile() for non-magnetic profiles, we should change this to be consistent.

Currently the contours generated for magnetic profiles for the non-sliced samples are producing a step profile. Given the fact that we are already using smooth_profile() for non-magnetic profiles, we should change this to be consistent.
@acaruana2009
Copy link
Contributor Author

@bmaranville Could you review this and make sure you are happy? This was the change we talked about yesterday.

Copy link
Member

@bmaranville bmaranville left a comment

Choose a reason for hiding this comment

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

I think that the microslabber is doing a "blend" operation on thetaM now, which is closer to what the Nevot-Croce approximation corresponds to - so there's no reason not to use the smooth profile representation (a long time ago there might have been an inconsistency in what was represented)

@bmaranville bmaranville self-assigned this Jun 10, 2021
@pkienzle
Copy link
Member

Yes, that makes sense, both why it is and why it should change. Feel free to pull.

@bmaranville bmaranville merged commit 4952636 into master Jun 11, 2021
@acaruana2009 acaruana2009 deleted the magnetic_smooth_profile_acaruana branch June 11, 2021 22:16
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