This repository provides a MATLAB GUI tool to estimate NV center areal density and spacing from implantation parameters.
It is useful for quickly evaluating how ion implantation dose, conversion efficiency, and depth-dependent detection weighting affect NV distributions.
- Dose input: accepts scientific notation (e.g.,
2e12) for implantation dose (cm⁻²). - Conversion ratio: specify NV creation efficiency in %.
- Implant energy: placeholder input (keV), can be extended to link with SRIM/empirical depth models.
- Depth distribution
p(z): approximated as a Gaussian (μ,σ) in nm, normalized for z ≥ 0. - Depth weighting
w(z): selectable models:Uniform: all depths treated equally (2D projection).Rectangular [0,t]: count only NVs within the first t nm.Exponential exp(-z/δ): depth-weighted with decay length δ (nm), useful for optical excitation/collection effects.
- Outputs:
- Effective NV areal density (NV/μm²).
- Average "grid spacing" ~ 1/√ρ (nm).
- Average nearest-neighbor spacing ~ 1/(2√ρ) (nm).
- Average depth (currently μ; can be replaced by SRIM/energy-to-depth relation).
- Clone the repository:
git clone https://github.com/yourname/NV-distance-estimate.git