Skip to content

Commit

Permalink
Some house keeping
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosbornes committed Nov 7, 2024
1 parent bd72457 commit 51d3953
Show file tree
Hide file tree
Showing 35 changed files with 19 additions and 10 deletions.
11 changes: 11 additions & 0 deletions docs/about/citation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Citing simPYson

If you use `SimPYson` in your work, please consider citing all the software that makes it possible:

- **SIMPSON**: [https://doi.org/10.1016/j.jmr.2011.09.008](https://doi.org/10.1016/j.jmr.2011.09.008), [https://doi.org/10.1016/j.jmr.2014.07.002](https://doi.org/10.1016/j.jmr.2014.07.002), and [https://doi.org/10.1016/bs.arnmr.2019.12.001](https://doi.org/10.1016/bs.arnmr.2019.12.001)
- **ASE**: [https://doi.org/10.1088/1361-648X/aa680e](https://doi.org/10.1088/1361-648X/aa680e)
- **Soprano**: Acknowledge CCPNC.
- This work was facilitated by software tools (specifically Soprano) developed by the Collaborative Computing Project for NMR Crystallography, funded by EPSRC grant EP/T026642/1.
- **SimPYson**: [https://doi.org/10.5281/zenodo.14041918](https://doi.org/10.5281/zenodo.14041918)

For the most accurate references, please refer to each software’s official website or documentation for citation details.
4 changes: 1 addition & 3 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@

## Why choose SimPYson? 🙎‍♂️

No particular reason. One possible advantage lies in its seamless integration with other Python packages, making it easy to incorporate into your existing Python workflow. However, depending on your needs/taste, there are a few alternatives that may better suit you. Some examples:

Why you should use simPYson? In our opinion, the easy integration with other python packages, but there are few alteratives that have some of the features, and might be better for you. The shouout goes to:
No particular reason. One possible advantage lies in its seamless integration with other Python packages, making it easy to incorporate into your existing Python workflow. However, depending on your needs/taste, there are a few alternatives that may better suit you, hera are some examples:

- [Simplot](https://inano.au.dk/about/research-centers-and-projects/nmr/software/simpson): From the developers of Simpson offers a user-friendly interface to analyze the results.
- [Simview](https://github.com/zdetos/Simpson-View): From [Zdeněk Tošner](https://optimal-nmr.net/about.html) (Simpson dev) provides a GUI to run SIMPSON simulations and plot results within a clean, intuitive interface
Expand Down
14 changes: 7 additions & 7 deletions docs/user_guide/write_simpson.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
},
{
"cell_type": "code",
"execution_count": 7,
"execution_count": 4,
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -313,7 +313,7 @@
" pulse_sequence = no_pulse,\n",
" )\n",
"\n",
" al_inp.save(f'../../examples/write/castep_sim_al_{i}.in')\n",
" al_inp.save(f'../../examples/write/split_simulation_al/castep_sim_al_{i}.in')\n",
"\n",
"# Prepare Simpson for each Al atom of VASP\n",
"al_idx = [atom.index for atom in vasp if atom.symbol == 'Al']\n",
Expand Down Expand Up @@ -346,7 +346,7 @@
" pulse_sequence = no_pulse,\n",
" )\n",
"\n",
" al_inp.save(f'../../examples/write/vasp_sim_al_{i}.in')"
" al_inp.save(f'../../examples/write/split_simulation_al/vasp_sim_al_{i}.in')"
]
},
{
Expand Down Expand Up @@ -377,24 +377,24 @@
"real = []\n",
"imag = []\n",
"for i in range(0, len(al_idx)):\n",
" castep_al_out = SimpReader(f'../../examples/write/castep_sim_al_{i}.spe', b0='800MHz', nucleus='27Al', format='spe')\n",
" castep_al_out = SimpReader(f'../../examples/write/split_simulation_al/castep_sim_al_{i}.spe', b0='800MHz', nucleus='27Al', format='spe')\n",
" real.append(castep_al_out.data['real'])\n",
" imag.append(castep_al_out.data['imag'])\n",
"\n",
"# Read one example and update the data\n",
"castep_al_out = SimpReader('../../examples/write/castep_sim_al_0.spe', b0='800MHz', nucleus='27Al', format='spe')\n",
"castep_al_out = SimpReader('../../examples/write/split_simulation_al/castep_sim_al_0.spe', b0='800MHz', nucleus='27Al', format='spe')\n",
"castep_al_out.data['real'] = sum(real)\n",
"castep_al_out.data['imag'] = sum(imag)\n",
"\n",
"# Do the same of VASP\n",
"real = []\n",
"imag = []\n",
"for i in range(0, len(al_idx)):\n",
" vasp_al_out = SimpReader(f'../../examples/write/vasp_sim_al_{i}.spe', b0='800MHz', nucleus='27Al', format='spe')\n",
" vasp_al_out = SimpReader(f'../../examples/write/split_simulation_al/vasp_sim_al_{i}.spe', b0='800MHz', nucleus='27Al', format='spe')\n",
" real.append(vasp_al_out.data['real'])\n",
" imag.append(vasp_al_out.data['imag'])\n",
"\n",
"vasp_al_out = SimpReader('../../examples/write/vasp_sim_al_0.spe', b0='800MHz', nucleus='27Al', format='spe')\n",
"vasp_al_out = SimpReader('../../examples/write/split_simulation_al/vasp_sim_al_0.spe', b0='800MHz', nucleus='27Al', format='spe')\n",
"vasp_al_out.data['real'] = sum(real)\n",
"vasp_al_out.data['imag'] = sum(imag)\n",
"\n",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 51d3953

Please sign in to comment.