Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
! 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#The MIT License (MIT) | |
#Copyright (c) 2016 Luke Stagner | |
#Permission is hereby granted, free of charge, to any person obtaining a copy of this software | |
#and associated documentation files (the "Software"), to deal in the Software without restriction, | |
#including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, | |
#and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, | |
#subject to the following conditions: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LoadError: PyError (:PyObject_Call) <class 'AttributeError'> | |
AttributeError("'PathCollection' object has no attribute 'do_3d_projection'",) | |
File "/home/lstagner/anaconda3/lib/python3.5/site-packages/mpl_toolkits/mplot3d/axes3d.py", line 2273, in scatter | |
patches = Axes.scatter(self, xs, ys, s=s, c=c, *args, **kwargs) | |
File "/home/lstagner/anaconda3/lib/python3.5/site-packages/matplotlib/__init__.py", line 1812, in inner | |
return func(ax, *args, **kwargs) | |
File "/home/lstagner/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_axes.py", line 3922, in scatter | |
self.add_collection(collection) | |
File "/home/lstagner/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_base.py", line 1676, in add_collection | |
collection.set_clip_path(self.patch) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SENDING IPython Msg [ idents pyerr ] { | |
header = Dict("msg_id"=>"d3543821-d811-4529-b786-ce4128bb9015","msg_type"=>"pyerr","username"=>"username","session"=>"937AFEA751D3466C8BF47EA8C7C66E2A"), | |
metadata = Dict{AbstractString,Any}(), | |
content = Dict{ASCIIString,Any}("traceback"=>UTF8String["PyError (:PyObject_Call) <type 'exceptions.AttributeError'>\nAttributeError(\"'Path' object has no attribute '_vertices'\",)\n File \"/home/lstagner/anaconda3/envs/python2/lib/python2.7/site-packages/matplotlib/backend_bases.py\", line 2158, in print_figure\n **kwargs)\n File \"/home/lstagner/anaconda3/envs/python2/lib/python2.7/site-packages/matplotlib/backends/backend_agg.py\", line 521, in print_png\n FigureCanvasAgg.draw(self)\n File \"/home/lstagner/anaconda3/envs/python2/lib/python2.7/site-packages/matplotlib/backends/backend_agg.py\", line 469, in draw\n self.figure.draw(self.renderer)\n File \"/home/lstagner/anaconda3/envs/python2/lib/python2.7/site-packages/matplotlib/artist.py\", line 59, in draw_ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
EXECUTING using PyPlot | |
SENDING IPython Msg [ idents pyin ] { | |
header = Dict("msg_id"=>"fa39874c-5f4a-4265-add0-28cdfb910334","msg_type"=>"pyin","username"=>"username","session"=>"5DBF73B2FA44486D88C609D2E1C4BCE8"), | |
metadata = Dict{AbstractString,Any}(), | |
content = Dict{ASCIIString,Any}("code"=>"using PyPlot","execution_count"=>1) | |
} | |
Warning: New definition | |
call(Type{PyCall.PyDict}, Base.Associative{#K<:Any, Any}) at /home/lstagner/.julia/v0.4/PyCall/src/conversions.jl:464 | |
is ambiguous with: | |
call(Type{PyCall.PyDict}, Base.Associative{Any, #V<:Any}) at /home/lstagner/.julia/v0.4/PyCall/src/conversions.jl:463. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
EXECUTING dens[err_ind-1] = sum(max(sol.x,0)) | |
dens_err[err_ind-1] = norm(sol.sigma) | |
x[:,:,err_ind-1] = reshape(max(sol.x,0),npitch,nenergy) | |
sigma[:,:,err_ind-1] = reshape(sol.sigma,npitch,nenergy) | |
dx[:,:,err_ind-1] = x[:,:,err_ind-1] .- dist | |
pygui(true) | |
make_plots(energy,pitch,x[:,:,err_ind-1],sigma[:,:,err_ind-1],dist) | |
SENDING IPython Msg [ idents pyin ] { | |
header = ["msg_id"=>"1442b99d-500f-488e-99c2-e2b4ad9f2a51","msg_type"=>"pyin","username"=>"username","session"=>"9435E47D56D3486F894CA922AEFD2A89"], | |
metadata = Dict{String,Any}(), |
NewerOlder