Skip to content

Instantly share code, notes, and snippets.

View lstagner's full-sized avatar

Luke Stagner lstagner

View GitHub Profile
@everywhere push!(LOAD_PATH, "/home/stagnerl/")
import InterpolatingFunctions; @everywhere using InterpolatingFunctions
import GuidingCenterOrbits; @everywhere using GuidingCenterOrbits
import HDF5; @everywhere using HDF5
import Clustering; @everywhere using Clustering
import Iterators; @everywhere using Iterators
import StaticArrays; @everywhere using StaticArrays
import FastKmeans; @everywhere using FastKmeans
function make_clustered_distribution_file(M,wall,nkk)
! Module libfida defined in file fidasim.f90
subroutine f90wrap_interpolcoeffs1d__get__i(this, f90wrap_i)
use libfida, only: interpolcoeffs1d
implicit none
type interpolcoeffs1d_ptr_type
type(interpolcoeffs1d), pointer :: p => NULL()
end type interpolcoeffs1d_ptr_type
integer, intent(in) :: this(2)
type(interpolcoeffs1d_ptr_type) :: this_ptr
@lstagner
lstagner / Callback MWE.ipynb
Last active October 18, 2018 19:30
Callback MWE
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@lstagner
lstagner / Runaway Electron Orbits.ipynb
Created February 4, 2020 21:51
Runaway Electron Orbits + Bremsstrahlung
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@lstagner
lstagner / Compressed Sensing.ipynb
Created February 25, 2020 00:20
Compressed Sensing in Julia
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.