You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update documentation for changes in NQCBase#11 (#351)
* Update documentation for changes in NQCBase#11
* Version bump. Compat bump for NQCModels.jl
* Replaced PyCall with PythonCall in CI test
* Forgot to switch Project.toml to PythonCall
Copy file name to clipboardexpand all lines: docs/src/atoms.md
+24-16
Original file line number
Diff line number
Diff line change
@@ -4,10 +4,11 @@ start_time = time()
4
4
```
5
5
# [Handling Atoms](@id atoms)
6
6
7
-
This package makes the choice to separate the atomic parameters from their positions and
8
-
velocities for ease of use with the differential equations solvers.
9
-
This contrasts somewhat with most other software packages where these would be usually
10
-
by joined together into a single object.
7
+
!!! tip "Tip: NQCDynamics.jl handles atoms differently to `ase`"
8
+
This package makes the choice to separate the atomic parameters from their positions and
9
+
velocities for ease of use with the differential equations solvers.
10
+
This contrasts somewhat with most other software packages where these would be usually
11
+
be joined together into a single object.
11
12
12
13
The atomic parameters here are contained within the
13
14
[`Atoms`](@ref) type introduced earlier
@@ -40,32 +41,39 @@ When working with NQCDynamics, the most useful packages are [AtomsIO](https://gi
40
41
for reading and writing structures and trajectories, and [ASEconvert](https://github.com/mfherbst/ASEconvert.jl)
41
42
for working with [ASE](https://wiki.fysik.dtu.dk/ase/index.html) from within Julia.
42
43
43
-
## Using ASE with ASEconvert.jl
44
+
## Using Python's `ase` package from Julia
44
45
45
-
This example shows how ASEconvert can be used to build a structure, then convert
46
-
from the ASE format into an AtomsBase compatible system:
46
+
Julia provides multiple options to run Python-based code from Julia scripts. The NQCD packages
47
+
provide compatibility with [**PythonCall.jl**](https://github.com/JuliaPy/PythonCall.jl), and some deprecated interfaces for [**PyCall.jl**](https://github.com/JuliaPy/PyCall.jl) exist as well.
48
+
While both of these packages function similarly, PythonCall forces you as a user to think more about when data is copied in memory between Python and Julia, enabling more efficient code.
49
+
50
+
This example shows how `ase.build` can be used to build a structure from within Julia, then convert
51
+
from the ASE format into the required objects for atoms, positions and unit cell for an NQCD simulation:
0 commit comments