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

Update the default parameters in common.py #233

Open
ondrejkrejci opened this issue Nov 10, 2023 · 3 comments
Open

Update the default parameters in common.py #233

ondrejkrejci opened this issue Nov 10, 2023 · 3 comments

Comments

@ondrejkrejci
Copy link
Collaborator

ondrejkrejci commented Nov 10, 2023

The default tip parameters in the wiki, in the common.py and in the default params.ini are basically old and they do not capture the right physics of the most common (Cu-)CO tip.

I would suggest to changing it to:

rProbe [0.,0. 3.0] # (Cu-O distance is really only 3 Ang)
tip 'dz2'
Q 0.0 # - we do not want to have the FF_el as default
klat 0.24

What do you think?

@NikoOinonen
Copy link
Collaborator

Makes sense. But is there any chance that it would break some existing scripts (if it even matters at this point)?

@ondrejkrejci
Copy link
Collaborator Author

But is there any chance that it would break some existing scripts (if it even matters at this point)?
Quick check from my side:

Anything else should be OK.

@ondrejkrejci ondrejkrejci self-assigned this Nov 14, 2023
@yakutovicha yakutovicha changed the title Adding better physics to the default parameters. Update the default parameters in common.py Dec 19, 2023
@yakutovicha
Copy link
Collaborator

A few remarques:

  • The PR Implement PpafmParameters class based on pydantic.BaseModel #275 is merged, which means now the only place where the default values are defined is the PpafmParameters class defined in the common module.
  • I updated the wiki parameters to be compatible with the PpafmParameters, but it needs to be double-checked.
  • When making a PR, I suggest rearranging and reorganising the parameters inside PpafmParameters in the same way as it is done in wiki.
  • For the specific parameters:
    • The Vbias parameter is not described in the wiki.
    • The Vrange parameter is missing in the PpafmParameters class.
    • The moleculeShift class should probably be removed from both.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants