A small introduction to LADIC and pLADIC
by Rafael Barberá

Motivation

LADIC is the acronym for Luis ArgüellesDifficulty IndexC alculator, and is the name of a programthat will help amateur astronomers to calculate his/her options to resolve a pair of double stars.

In July 2000, Luis Argüelles developed a method to calculate avalue that classifies a double star by its difficulty to be split by amateurastronomers using amateur observing instruments. This is called the "DifficultyIndex", or DI for short. His method is based on a branch of ArtificialIntelligence (AI) called Fuzzy Logic. You can found more information aboutDI, its theoretical foundation and its development from Luis' web site.

In the last month, I have been working in a project that involves selecting a subgroup of double stars from the Washington Double Star Catalogue (WDS) that will be observable with modest telescopes. When I begun to apply filter criteria to the WDS data, quickly was evident that I need something likeDI to make the selection.

After talking with Luis about this, he send me a couple of Control Surfaces (a portable discretization of a Fuzzy Intelligent Model) that enabled meto calculate DI after applying some interpolation techniques. This wasthe birth of LADIC...

Installing LADIC

The available distribution of LADIC is a ZIP file with four files inside:
DI-GRANDE.SFR
Control surface with a grid of 100x100
DI-MEDIA.SFR
Control surface with a grid of 50x50
LADIC.exe
The program
WDSSample.txt
Sample of WDS Catalogue.
To install LADIC you should unzip the file in a directory in your computer. That's all. After that, a double-click over LADIC.EXE will start the program and load by default the 100x100 Control Surface.

Using LADIC


This is the main and only window of LADIC. Here you can see three panels:

Top,Left
Control Surface selection and information
Bottom, Left
Discrete DI calculation
Right
Catalogue processing

Control Surface Selection

By default LADIC uses a grid of 100x100 values. If you have memory problems, you can try to load the lower resolution one.

Single DI Calculation

To calculate the DI for one double star, you should input the separationbetween components in seconds of arc and the respective magnitudes fromthe double in the appropriated text box. After that, pressing the Calculatebutton, you get the DI from LADIC. If your input values are outside therange of use of this model you get a value of -1.

Catalogue Processing

Computing DI star by star will be useful for a couple of pairs, but ifyou need to compute DI for a big set of stars, is better to put them onan ASCII file.

For example, suppose that you need to calculate DIs  for all theentries in the WDS Catalogue. The first thing you must do is to definethe format of the data in the catalogue. Following the sample of WDS andtaking a look to the sample file:

00000+7530 A  1248       1904 1982  5 246 235   0.8   0.6 10.5  11.5                      +74 1056    
00000+4004 ES 2543       1931 1931  1 252 252   4.8   4.8 11.0  12.0                                  
00000+3852 BU  860       1881 1933  8 107 110   6.7   6.8  6.6  11.4  B9        +003 -006 +38 5108  pD
00001+5400 ES  704       1908 1993  2 119 116   5.5   4.4  9.5  11.5
we can see that separation begins in column 53 and is 5 characters long,the magnitude for the primary component begins in column 59 and also havea length of 5 and finally the secondary component of each pair starts atcolumn 65 for 5 chars. This is exactly the default values that LADIC showsin the start-up

Once you have selected the data file and described the format, you canpress the Test button that will read the first 50 entries in thelist, extract the data and compute the DI. LADIC will show thisdata on the list box at the bottom of this panel:

This preview is intended to help you in the process of correctly definethe format. Once you have a good output from the Test button, youcan press the Process button to get an output file called DI_InputFileName with the DI appended to each line. If one system don't fit in this model, the last column is empty.Acknowledgements

LADIC is only a calculator that interpolates the data from the ControlSurface. The real work of creating and computing the DI was doneby Luis Argüelles and I want to express my congratulation to him formaking this wonderful use of AI.



June 2001, Rafael Barberá