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

Replace repulsion restraint with ZBL reference #234

Closed
cortner opened this issue Aug 31, 2024 · 7 comments
Closed

Replace repulsion restraint with ZBL reference #234

cortner opened this issue Aug 31, 2024 · 7 comments

Comments

@cortner
Copy link
Member

cortner commented Aug 31, 2024

No description provided.

@wcwitt
Copy link
Collaborator

wcwitt commented Sep 4, 2024

Do you have a preferred way of implementing this? I like the idea of allowing for a general "reference potential" that is subtracted before the fit, which might be ZBL, the one-body E0s, or some combination. But might also be a better way.

@cortner
Copy link
Member Author

cortner commented Sep 4, 2024

The possibility is already implemented. Just need to supply a convenient interface for it. I don't have a strong view on this yet.

@wcwitt
Copy link
Collaborator

wcwitt commented Sep 4, 2024

Sure, I was asking about the interface and your opinion - fine if you don't have a strong view. I saw a change somewhere recently that moved in the direction of E0s as the only reference and away from the more generic approach. Wasn't sure if that was purposeful or just convenient in the moment.

@cortner
Copy link
Member Author

cortner commented Sep 4, 2024

Think the E0s (list of pairs or Dict) and ZBL (true/false)should have convenience kwargs but can be overwritten by passing a general Vref.

@cortner
Copy link
Member Author

cortner commented Sep 4, 2024

For now at least. Over time we can think about how to improve on this.

@cortner
Copy link
Member Author

cortner commented Sep 14, 2024

I've now translated the repulsion restraint (#262). Still want to add the ZBL option so we can compare the two.

@cortner
Copy link
Member Author

cortner commented Sep 15, 2024

addressed by #263 - I'm not 100% happy with the tests, but I think it now needs to be tried on real systems before raising issues with the implementatin.

@cortner cortner closed this as completed Sep 15, 2024
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

No branches or pull requests

2 participants