Comments (6)
Hi @wushanyun64,
You can see how the output of SOAP is ordered at the tutorial page. (see the pseudo-code block on that page). Essentially you're right in that the output is ordered into pairs of species.
Would you think that implementing a function that would return the indices of specific species-combinations would serve your purpose? We already provide this kind of function for MBTR (see here), so to stay consistent we could also implement if for SOAP and ACSF. What do you think?
from dscribe.
Hi @wushanyun64,
You can see how the output of SOAP is ordered at the tutorial page. (see the pseudo-code block on that page). Essentially you're right in that the output is ordered into pairs of species.
Would you think that implementing a function that would return the indices of specific species-combinations would serve your purpose? We already provide this kind of function for MBTR (see here), so to stay consistent we could also implement if for SOAP and ACSF. What do you think?
Hi, Lauri:
If we can have a function like get_location()
in SOAP, that would be very helpful! I imagine something like :
soap.get_location((Zi,Zj)):
return ((a,b) which indicates the slice corresponds to the location of P{Zi, Zj})
Also, one question, since based on the SOAP tutorial, in the SOAP vector both P{Zi, Zj} and P{Zj, Zi} will be calculated, how you will address this in the function get_location()
? Thank you!
from dscribe.
I'm now preparing a bigger update for version 0.3.0 and I can include get_location()
in it. I will publish it within a few days.
Also, one question, since based on the SOAP tutorial, in the SOAP vector both P{Zi, Zj} and P{Zj, Zi} will be calculated, how you will address this in the function get_location()? Thank you!
Actually only one of the identical pairs (I think the one where i<=j
) is included in the SOAP output. The get_location()
-function would accept both (Z_i, Z_j) and (Z_j, Z_i) as arguments, but would return the same location. This is also how it works for MBTR.
from dscribe.
That's great, can't waiting to try the new version.
from dscribe.
Hi @wushanyun64,
The get_location()
-method can now be found in the development version 0.3.0a0 that can be installed from the git master branch. (just to git clone [email protected]:SINGROUP/dscribe.git
and pip install .
within the cloned folder)
I'm still workin on some features for the 0.3.0 release. When that is ready, you can find this same feature on version 0.3.0.) Message me here if you find any issues with the implementation.
from dscribe.
The get_location
function is now available in version 0.3.2 which is available through pip
.
from dscribe.
Related Issues (20)
- Is it possible to parallelize `lmbtr.create` when working on one `ase.Atoms` object? HOT 3
- Error with np.str (NumPy >= 1.24) HOT 1
- Descriptor that recognizes each atom of the same species differently HOT 1
- The example in README.md is not correct HOT 1
- [Bug] Error in SOAP derivatives when using weighting. HOT 2
- API compatibility is broken since 0696656 HOT 1
- GNU compiler warnings HOT 1
- Issue with the Coulomb matrix descriptor HOT 4
- dscribe setup broken with py 3.10.1? HOT 2
- Please make dscribe available at conda-forge/osx-arm64 channel HOT 3
- SOAP computation hangs when `calc` is not `None` in ASE trajectory HOT 2
- Can dscribe encode the atom type not in the list as "unkown type" in acsf calculation? HOT 2
- Descsize of ASCF HOT 1
- conda channel has no function for features' derivatives
- `CoulombMatrix(permutation="sorted_l2")` is not symmetric HOT 5
- Naming incosistency of rcut in SOAP and MBTR HOT 2
- Potential memory leak in MBTR HOT 2
- Analytical derivatives of SOAP HOT 4
- Identical geometry but similarity < 1 HOT 4
- Numerical SOAP derivatives for periodic systems HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dscribe.