Introductory Beginning

An Introduction to Programming with IDL by Kenneth P. Bowman

By Kenneth P. Bowman

In today’s info age, scientists and engineers needs to fast and successfully research tremendous huge units of knowledge. the best instruments to complete this is often Interactive information Language (IDL®), a programming and visualization surroundings that enables numerical modeling, information research, and photograph processing. IDL’s high-level language and robust pictures functions enable clients to put in writing extra versatile courses a lot quicker than is feasible with different programming languages.

An advent to Programming with IDL permits scholars new to programming, in addition to people with adventure in different programming languages, to speedily harness IDL’s functions: quick, interactive functionality; array syntax; dynamic information typing; and integrated photos. every one proposal is illustrated with pattern code, together with many entire brief programs.

  • Margin notes in the course of the textual content quick aspect readers to the suitable sections of IDL manuals
  • End-of-chapter summaries and routines aid toughen learning
  • Students who buy the ebook are eligible for a considerable on a scholar model of the IDL software

Show description

Read Online or Download An Introduction to Programming with IDL PDF

Similar introductory & beginning books

Computers for Librarians. An Introduction to the Electronic Library

Desktops for Librarians is aimed essentially at scholars of library and knowledge administration and at these library and knowledge provider pros who believe the necessity for a publication that may provide them a large evaluate of the rising digital library. It takes a top-down technique, beginning with functions similar to the web, info resources and providers, provision of entry to details assets and library administration platforms, prior to facts administration, computers and know-how, facts communications and networking, and library structures improvement.

Extra info for An Introduction to Programming with IDL

Sample text

6 Other Integer Types IDL does have other integer types, including unsigned versions of most types (in the same way that BYTEs are unsigned). There is also a 64-bit (8-byte) integer type, the LONG64. The range of LONG64 variables is −263 to +263 − 1 (−9,223,372,036,854,775,808 to 9,223,372,036,854,775,807, which can be handy for those occasions when you need to count really high (that’s 9 quintillion, by the way). LONG64 constants are written by appending an LL to the end of the numerals: IDL> help, 2LLˆ63−1 LONG64 = See Integer Constants in Building IDL Applications.

Second, the first version is much slower than the second. ’ In this script, the input and output arrays x, y, and z are created. Then the time is compared for the FOR loop and the array syntax by calculating the elapsed time with the SYSTIME function. (This includes only the time to do the arithmetic operation, omitting the time required to allocate the arrays in See the SYSTIME function in IDL Reference Guide. 958165 times faster. If you run the script again, the answers will vary slightly depending on what else the computer is doing.

9223372036854775807 How long would it take to count from 0 to 263 ? 7 Converting One Integer Type to Another In some cases IDL will automatically convert one type to another. For example, IDL> x = 20000S IDL> help, x X INT IDL> print, 2*x 40000 IDL> help, 2*x LONG = 20000 = 40000 Because we used the COMPILE_OPT IDL2 statement in our startup file, the default integer type is LONG. Therefore, the constant 2 is treated as a LONG. Before the multiplication with x is carried out, x is converted to a LONG.

Download PDF sample

Rated 4.82 of 5 – based on 37 votes