Skip to content

KangXu90/NV-distance-estimate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

NV Density & Spacing Estimator (MATLAB GUI)

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.


Features

  • 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).

Screenshot

image

Usage

  1. Clone the repository:
    git clone https://github.com/yourname/NV-distance-estimate.git

About

Estimate NV distance with implantation dose and transform ratio

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages