/* LimbDark.java, a simple program that reads in limb darkening data from a file and makes them available for analysis. Glen Cowan RHUL Physics Dept. 7 August, 2002 */ import java.io.*; import java.util.*; import java.math.*; public class LimbDark { final static int MAX_POINTS = 1000; public static void main (String[] args) { // Get data from input file into arrays. double[] t = new double[MAX_POINTS]; // time double[] r = new double[MAX_POINTS]; // red double[] g = new double[MAX_POINTS]; // green double[] b = new double[MAX_POINTS]; // blue double[] intensity = new double[MAX_POINTS]; int numPoints = getDataArrays(t, r, g, b); for(int i=0; i