Skip to content

Instantly share code, notes, and snippets.

View mretegan's full-sized avatar

Marius Retegan mretegan

View GitHub Profile
@mretegan
mretegan / hampel.ipynb
Created July 12, 2021 07:44
Hampel filter
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Keybase proof

I hereby claim:

  • I am mretegan on github.
  • I am mretegan (https://keybase.io/mretegan) on keybase.
  • I have a public key ASBlDexD1ekwXWZjZd2a7eJqCfC9RrsC01QSm5r0lADVhQo

To claim this, I am signing this object:

@mretegan
mretegan / mep.py
Last active February 15, 2024 15:04
Create a .cube file of the molecular electrostatic potential using ORCA.
"""
(c) 2013, 2019, 2022 Marius Retegan
License: BSD-2-Clause
Description: Create a .cube file of the molecular electrostatic
potential (MEP) using ORCA.
Run: python mep.py basename npoints nprocs (e.g. python mep.py water 40 2).
Arguments: basename - file name without the extension;
this should be the same for the .gbw and .scfp.
npoints - number of grid points per side
(80 should be fine)