The conoscopic figure simulating program "ConoMap"

HOME > GANKO Software Distribution (GSD) > The conoscopic figure simulating program "ConoMap"

1. Introduction

This program provided here is a part of the GSD (GANKO Software Distribution).

"ConoMap" simulates conoscopic figures under polarizing microscope for anisotropic crystals with any optic axial angle and with any crystal orientation. Details of this program are described in:

Miyake, A.(submitted)
Software ``ConoMap'' simulating conoscopic figures. Journal of Geological Society of Japan.

2. Distributions

There are two versions of packages. One is a source file package for X window system. Another is a package including a binary program for Microsoft Windows operating system.

conomap-2.0.0.tar.gz: for X Window system
conomap-2.zip: for Microsoft Windows operating system

3. License

This program is not covered by the GSD general license.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License (GPL) as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

The Microsoft Windows version package contains dll files (gtk-1.3.dll, gdk-1.3.dll, glib-1.3.dll, gmodules-1.3.dll, iconv-1.3.dll and gnu-intl.dll). These libraries are licensed under the GNU LGPL.

4. System Requirements

RAM: more than 18 MB in free area
Monitor Resolution: more than 768 dots in height and 16bpp or higher

5. Installation

5-1 X window system version

Gtk+ (1.2 or later), and libjpeg are necessary for compilation.

For installation type the followings :

1) % tar zxvf conomap-2.0.0.tar.gz # unpack the sources
2) % cd conomap-2.0.0 # change to the top level directory
3) % ./configure # run the `configure' script
4) % make # build the executable file cono_map
5) % su # Become root
6) # make install # install cono_map and conomap.mo

The configure script in 3) will fail if your gtk-config is named "gtk12-config". In this case, you need to type like:

setenv GTK_CONFIG=/usr/X11R6/bin/gtk12-config
./configure

if you use csh or csh-like shell, or

./configure GTK_CONFIG=/usr/X11R6/bin/gtk12-config

if you use sh or sh-like shell, instead of typing "./configure."

In 4) GNU Make program must be used. If your GNU Make has been installed as gmake, you need to type

gmake MAKE=gmake

instead of typing "make".

When your LANG is like ja or ja_JP.ujis, "cono_map" will run with Japanese letters. Else then, the English version is produced. When you want to get the English version for the former case, type the followings

# cd po # change to the directory po as root
# make uninstall # uninstall of conomap.mo

5-2 Microsoft Windows version

Unzip "conomap-2.zip". The executable file "cono_map.exe" is extracted as well as 6 dll files and the file "gtkrc". Put these files into a suitable folder. "cono_map.exe" will run with Japanese letters.

6. Usage

When the program starts, the main window appears. You can select (1) whether uniaxial or biaxial, (2) whether single image mode, circular image mode or animation mode, (3) whether a sensitive test plate is out or in, (4) whether drawing image is limitted within microscopic view or ranged through all ray directions in the crystal, and (5) whether using conoscopic projection or Wulff projection.

After input of optical features (refractive indexes and optic axis angle), crystal orientation and other parameters(numerical aperture of objective lense, thickness of the thin-section), click the button labelled "Draw". Then the conoscopic figure with the above setting will be drawed in the new window.

You can save the simulated conoscopic image as JPEG or ppm file for X window system version, and as JPEG or bmp file for Microsoft Windows version. MPEG file format is also supported for animation mode. The file format is specified by the file-name extention (jpg, ppm, bmp or mpg).

7. Running Test

The program is tested on Vine/i386 1.1, 2.0, 2.1 and FreeBSD/i386 4.2 for X window system version and on Windows98 and Windows Me for Microsoft Windows version.

8. Trademarks

Microsoft and Windows are either registered trademarks of Microsoft Corporation in the United States and other countries.

Page to top▲