Skip to content

Pencil IDL to Python guide

Illa edited this page Mar 23, 2021 · 1 revision

A large array of idl scripts have been developed over the years, and many of them served their purpose at the time, but there are many others of general purpose. Below is a small selection of examples of idl call sequences along with their python counterparts.

Here are the links to a few potentially useful sites:

  1. IDL to Python bridge
  2. IDL commands in numerical Python
IDL Python
pc_read_var,obj=var,/trimall var = pc.read.var(var_file = 'var.dat', trimall = True, sim = SIM)
help,var help(var)
pc_read_param,obj=param pc.read.param()