Advertisement
Guest User

Untitled

a guest
Mar 5th, 2019
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Julia 0.98 KB | None | 0 0
  1. help?> KM3NeT.make_cherenkov_calculator
  2.   function make_cherenkov_calculator(track_pos, track_dir)
  3.  
  4.   Returns a function which calculates the arrival time of a Cherenkov photon at a given
  5.   position.
  6.  
  7.   ──────────────────────────────────────────────────────────────────────────────────────
  8.  
  9.   function make_cherenkov_calculator(d_closest, t_closest, z_closest, dir_z, t₀)
  10.  
  11.   Returns a function which calculates the arrival time of a Cherenkov photon at a given
  12.   position.
  13.  
  14. julia> KM3NeT.make_cherenkov_calculator([0,0,1], [0,0,-1])
  15. ERROR: MethodError: no method matching make_cherenkov_calculator(::Array{Int64,1}, ::Array{Int64,1})
  16. Closest candidates are:
  17.   make_cherenkov_calculator(::Any, ::Any, ::Any, ::Any, ::Any) at /Users/tamasgal/.julia/dev/KM3NeT/src/mc.jl:55
  18. Stacktrace:
  19.  [1] top-level scope at none:0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement