fitSingle

Like sedFit, fitSingle is an unreleased bit of code from Andy Boden and is subject to the same terms and conditions of use.
 * fitSingle Information**

fitSingle was not included on the Ubuntu DVD, but can be downloaded here:
 * fitSingle distribution**

You'll want to copy the tarball to your /home/mscuser/develop directory and explode it there:

$ tar -zxvf fitSingle_070619a.tar.gz

The included executables have been compiled for your Ubuntu virtual machine and should run without complication.

In the wbFitSingle and nbFitSingle directories, the programs - wbFitSingle and nbFitSingle - can be run and tested on the included output files from wbCalib and nbCalib. For example, from the wbFitSingle directory:
 * Use of fitSingle**

$ ./wbFitSingle

Will output a note on how to use the program: code usage: fitSingle inputV2data [initDiameter] [lower wvlen] [upper wvlen] code Following through on giving it an inputV2data (basically the output from wbCalib ):

$ ./wbFitSingle HD189695.wbout

will output a size estimate based upon the normalized visibility data in the wbCalib file: code 91 data lines read from HD189695.wbout HD189695.wbout : 88 / 91 pts; Output dia.: 1.8640 +/- 0.0184 (mas) wtdWvlen 1.689 ; avgResid 0.0437 ; X^2/DOF 0.6353 ; V2 predict written to fit.out code nbFitSingle behaves in much the same way. From the nbFitSingle directory, the program is used with the output from nbCalib :

$ ./nbFitSingle HDC78715.nbout

gives an output of: code 245 data lines read from HDC78715.nbout HDC78715.nbout : 232 / 245 pts; Output dia.: 0.9505 +/- 0.0260 (mas) wtdWvlen 2.165 ; avgResid 0.1435 ; X^2/DOF 1.0698 ; V2 predict written to fit.out code One clever thing that you can do with nbFitSingle is restrict the wavelength coverage to a single PTI 'narrowband' channel:
 * Specifying wavelength range**

$ ./nbFitSingle HDC78715.nbout 1.0 2.3 2.4

will return: code 245 data lines read from HDC78715.nbout HDC78715.nbout : 56 / 245 pts; Output dia.: 0.9429 +/- 0.0491 (mas) wtdWvlen 2.374 ; avgResid 0.1640 ; X^2/DOF 0.8850 ; V2 predict written to fit.out code where '1.0' is the initial angular size guess, and '2.3' and '2.4' are the lower and upper wavelength bounds, respectively. If you suspect a target will have a wavelength-dependence to its angular size (eg. the 2.29+ um CO bandhead is interesting in evolved objects), you can test that dependence using this feature of nbFitSingle.

wbFitSingle responds in the same way to wavelength restrictions; this can be useful if you have both H and K band //wbCalib// data on a given object that you want to reduce separately.


 * Additional notes on running fitSingle are available.**