Home : Map : Chapter 10 : Java : Tech : Physics :
Generation & Analysis of Simulated Data
Course Map
Chapter 10


Preferences API
  Demo 1
Concurrency Utils
Enumerated Type
Arrays Class
String Tools

  Demo 2
  Demo 3

Other Utilities

     About JavaTech
     Codes List
     Topic Index
     Course Guide
     What's New

In Chapter 9: Phyiscs: Experimental Simulation with Analysis Module , the demonstration program combined data generation, animation, and analysis in one applet. For an actual experiment, however, it is important to use the same analysis for the real data as is used for the simulated data. So we would like to separate simulation and analysis into separate programs as shown in the following diagram:

Figure 10.1: For experimental analysis, the procedure typically goes as in this diagram. Data from the simulation and the experiment both go to data files with identical format (a header, though, would typically identify the source of the data). Then the analysis program will run on both types of data, insuring that the analysis is consistent and letting the simulation provide a reliable check on the experiment data analysis.

As shown in figure 10.1, the analysis program receives data from either the simulated data or the actual experimental data. This insures that the algorithms and the code in the analysis program, which were developed with the simulated data, are consistently applied to the real data.

The simulated data can be written to files that mimic those obtained from the experiment and typically include realistic detector features such as digitization offsets and varying slopes in analog to digital conversions.. This provides a check that the calibrations applied to the experimental data do in fact work as expected. (We will discuss this further in Chapter 11: Physics.)

The demonstration programs on the following page illustrate this approach for the mass drop simulations discussed in Chapter 9: Physics.


References & Web Resources


Most recent update: Oct. 29, 2005


Bit Handling

Data Gen&Analysis

  Demo 1
  Demo 2

  Part I Part II Part III
Java Core 1  2  3  4  5  6  7  8  9  10  11  12 13 14 15 16 17
18 19 20
22 23 24

1  2  3  4  5  6  7  8  9  10  11  12

Tech 1  2  3  4  5  6  7  8  9  10  11  12
Physics 1  2  3  4  5  6  7  8  9  10  11  12

Java is a trademark of Sun Microsystems, Inc.