Skip to content

Using particle pusher

Otto Akseli Hannuksela edited this page Jun 12, 2015 · 2 revisions

Setup

cd ~/vlasiator
make particle_post_pusher

Using the particle pusher interface

ipython
f = pt.vlsvfile.VlasiatorReader('bulk.0002004.vlsv')
grid = pt.grid.Particlepusherinterface(f, 'rho', "/home/otto/vlasiator/particle_post/pusher")

Using the particle pusher options

velocity_sampling

In the args field:

30 --particles.mode analysator --particles.start_time 1002 --particles.end_time 1004 --particles.input_dt 0.5 --particles.dt 0.004

This inputs 30 particles into the clicked spots

bulk_v

In the args:

10 --particles.mode analysator --particles.start_time 1002 --particles.end_time 1004 --particles.input_dt 0.5 --particles.dt 0.004

This inputs one particle with bulk velocity into 10 clicked spots. So click 10 times