Quick Start

Content

Import WaveMixings.jl

Here are the functions in WaveMixings.jl that we will use in this tutorial (Quick Start):

using WaveMixings

Information about WaveMixings.jl

WaveMixings.jl has function to retrieve information of your system, which might be important to trouble shooting problems. WaveMixings.pkginfo() displays information of Julia, your system, and your WaveMixings.jl instalaltion.

WaveMixings.pkginfo()

                              ___           
__          __ __  __        / _ \_/\       
\ \        / /|  \/  |  ___  \/ \___/___    
 \ \  /\  / / | \  / | / _ \_/\     / _ \_/\
  \ \/  \/ /  | |\/| | \/ \___/     \/ \___/
   \  /\  /   | |  | |
    \/  \/    |_|  |_|

Julia framework for computing time-resolved
nonlinear electronic spectra from on-the-fly
quasi-classical trajectories.
Keywords: transient absorption, pump-probe, TA PP.
≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡
Repository      : codeberg.org/apolionl/WaveMixings.jl
Lead  developer : Dr. Luis Vasquez
Other developers: (Alphabetically)
                  Prof. Dr. Maxim Gelin
                  Prof. Dr. Zhenggang Lan
                  Dr. Chen Lipeng
                  Dr. Sebastian Pios
                  Prof. Dr. Ke-Wei Sun
Copyright © Gelin's group 2023 and later.

Package information:
====================================
Julia              Ver. 1.11.2
WaveMixings        Ver. 0.9.0
DelimitedFiles     Ver. 1.9.1
LinearAlgebra      Ver. 1.11.0

System information:
====================================
OS       : Linux (x86_64-pc-linux-gnu)
CPU      : 64 × Intel(R) Xeon(R) Gold 6426Y
Memory   : 1007.556 GB
WORD_SIZE: 64
LIBM     : libopenlibm
LLVM     : libLLVM-16.0.6 (ORCJIT, sapphirerapids)
BLAS     : libopenblas64_.so (ilp64)
BLAS CPU : 1 cores
Threads  : 1 (on 64 virtual cores)

+--------------------------------------------------------+
| Please cite WaveMixings.jl in your publication if used |
+--------------------------------------------------------+
CITATION.bib file contains the nesessary references of Wavemixings.jl.
Alternatively, one can use `WaveMixings.cite()`.

If you use WaveMixings.jl, we appreciate if you cite our work. With this in mind WaveMixings provides WaveMixings.cite(), that shiftly prints out the biblatex citations to our work.

 WaveMixings.cite()
@Misc{Vasquez2023,
  author   = {Vasquez, Luis <apolionl@noreply.codeberg.org> and contributors},
  title    = {WaveMixings.jl},
  abstract = {Compute ultrafast time-resolved ({TR}) nonlinear electronic
  spectra from on-the-fly quasi-classical trajectories (surface hopping,
  Ehrenfest, mapping Hamiltonian approach and similar algorithms) with the
  Doorway-Window ({DW}) approximation of third-order four- and six-wave
  mixing signals.},
  date     = {2023-11},
  url      = {https://codeberg.org/apolionl/WaveMixings.jl},
  version  = {v0.2.0},
}

@Article{Vasquez2025a,
  title={Wave{M}ixings.jl: a {J}ulia package for performing on-the-fly
  time-resolved nonlinear electronic spectra from quasi-classical trajectories},
  author={Luis Vasquez and Sebastian Pios and Lipeng Chen and Zhenggang Lan and Wolfgang Domcke and Maxim Gelin},
  year={2025},
  eprint={2509.03917},
  archivePrefix={arXiv},
  primaryClass={physics.chem-ph},
  url={https://arxiv.org/abs/2509.03917},
}

@Article{Vasquez2025b,
  title={{WaveMixings.jl}: a {J}ulia package for computing
  time-resolved nonlinear electronic spectra from on-the-fly
  quasi-classical trajectories},
  author={Luis Vasquez and Sebastian Pios and Lipeng Chen and Zhenggang Lan and Wolfgang Domcke and Maxim Gelin},
  year = {2025},
  volume = { },
  number = { },
  pages = {  },
  month = {  },
  doi = {    },
  url = {    }
}

Input data

Now that we know that WaveMixings is inatalled, we can procede to input the most basic data to perform the simulations.

Bellow YOU put all the necesary data for the calculation. For this script, one only needs the name of files with energies and transition dipole moments (TDMs). The user is reponsable for providing the files (energies and TDMs).

These are your files with energies and TDMs. For real calculations you will need 100s of these files, so by default WaveMixings expect them to be in a separate folder, EACH PAIR of files.

input_ener  = "data_hopping/energies.dat"
input_tdms  = "data_hopping/tdm_xyzs.dat"
"data_hopping/tdm_xyzs.dat"

We need pulse duration, pump and probe carrier frequencies. Time delay in femtoseconds

pulse_time = make_pulse_duration(5.0)
206.70687287875498

Probe carrier frequencies in eV. From 2 till 6 eV, 200 points

probe_freq = make_probe_freq(1, 6, 200)
1×200 Matrix{Float64}:
 0.0367493  0.0376727  0.038596  0.0395194  …  0.218649  0.219573  0.220496

Pump carrier frequency, from 3.0 eV

pump_frequ = make_pump_freq(3.0)
0.1102479665273215

You will need to import the energies and TDMs, with the corresponding function of how the data was calculated, i.e GSB, SE, or ESA.


This page was generated using Literate.jl.