Skip to content

ctp-fpub/SDFResultViewer.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SDFResultViewer

Stable Dev Build Status Build Status Coverage

This package aims to provide visualization tools for EPOCH simulations.

Installation

In order to use this package you need to add the ctp-fpub Julia registry

]registry add https://github.com:ctp-fpub/JuliaRegistry.git

After that, you can install the package with

]add SDFResultViewer

Quck start

using SDFResults
using SDFResultViewer
using WGLMakie
using Unitful
using PhysicalConstants.CODATA2018: c_0, ε_0, m_e, e

dir = "epoch_simulation"
sim = read_simulation(dir)
file = sim[4]

λ = get_parameter(file, :lambda)
ω = 2π * c_0 / λ
nc = (ε_0 * m_e) / e^2 * ω^2

add_λ_units(λ)
Ex = file[:ex]

scalar_field_widget(uconvert(unit_E, unit_l, Ex))

widget

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages