An Introduction to Programming with IDL. Interactive Data by Kenneth P. Bowman

By Kenneth P. Bowman

Content material:
Preface

, Pages xi-xii
Acknowledgments

, Page xiii
1 - Introduction

, Pages 3-7
2 - IDL Manuals and Books

, Pages 9-12
3 - Interactive IDL

, Pages 13-31,I
4 - IDL Scripts (Batch Jobs)

, Pages 33-38
5 - Integer Constants and Variables

, Pages 39-48
6 - Floating-Point Constants and Variables

, Pages 49-58
7 - utilizing Arrays

, Pages 59-76
8 - looking out and Sorting

, Pages 77-82
9 - Structures

, Pages 83-90
10 - Printing Text

, Pages 93-100
11 - studying Text

, Pages 101-105
12 - Writing and examining Binary Files

, Pages 107-114
13 - analyzing NetCDF Files

, Pages 115-125
14 - Writing NetCDF Files

, Pages 127-133
15 - techniques and Functions

, Pages 137-151
16 - application Control

, Pages 153-157
17 - Line Graphs

, Pages 161-170
18 - Contour and floor Plots

, Pages 171-179
19 - Mapping

, Pages 181-191
20 - Printing Graphics

, Pages 193-200
21 - colour and picture Display

, Pages 201-218,II-V
22 - Animation

, Pages 219-224
23 - facts and Pseudorandom Numbers

, Pages 227-235
24 - Interpolation

, Pages 237-246,VI-VII
25 - Fourier Analysis

, Pages 247-262,VIII
Appendix A - An IDL variety Guide

, Pages 263-270
Appendix B - instance approaches, services, Scripts, and information Files

, Pages 271-276
Bibliography

, Page 277
Index

, Pages 279-286

Show description

Read or Download An Introduction to Programming with IDL. Interactive Data Language PDF

Similar introductory & beginning books

Introduction to Stellar Astrophysics: Basic stellar observations and data

This textbook advent to the elemental components of primary astronomy and astrophysics serves as a origin for figuring out the constitution, evolution, and saw houses of stars. the 1st 1/2 the ebook explains how stellar motions, distances, luminosities, shades, radii, lots and temperatures are measured or derived.

Extra resources for An Introduction to Programming with IDL. Interactive Data Language

Sample text

Use explicit type conversions. 6. Use NaNs for missing data. 7. Write your programs so they do not generate floating-point errors unless something has gone wrong. 10 Exercises 1. Try some interactive experiments to find the largest values of x for which you can compute e x and e −x without floating-point underflow or overflow errors. Try the calculations using both single- and double-precision numbers. 2. Try some interactive experiments to find the smallest value of x for which you can compute sin(x) without floating-point underflow errors.

4 BYTE Constants and Variables 43 of 4 in memory or disk storage. The main use for BYTE variables, though, is to store images. A black-and-white (grayscale) photographic image can be stored digitally with fairly good fidelity using only 256 shades of gray for each small picture element, or pixel. 1. First we create a new window that is 400 × 400 pixels. The DIST function creates a 400 × 400 array of floatingpoint values. ) BYTSCL scales the values generated by the DIST function into the range 0 to 255.

Once again, there is no error message. One common way to make this mistake is to use an INT as a loop counter and then attempt to count past 32,767. There are two ways to avoid this problem. The first is to always explicitly specify that an integer constant is a 4-byte value, known as a LONG, by adding an L to the number: IDL> i = 15L IDL> help, i I LONG = 15 A lowercase l will work, but you should always use an uppercase L because the lowercase l looks very much like the numeral 1 (one). In some computer typefaces, the two are identical!

Download PDF sample

Rated 4.53 of 5 – based on 50 votes