Printing section

There is no print function in STK, but 2 ways are available:

1) screen shot : it is the easiest and fastest way; for example with Gimp or KDE tools, it is verysimple to get a screen shot and save it in a file, or print it.

  1. Postscript file: this way is under construction, but it works for the time frequency output, plotted in the main window.

    How to create postscript file ?

    The Environment Variable LOG_FILE must be defined (export LOG_FILE=./Log for example),

    In the time-frequency menu click go to the export ->export ASCII menu: this will create 2 ASCII files in the directory pointed by LOG_DIR Env Var.: signal.txt and time_freq.txt;.

    Then a small software is given in the ./Utilies/GMT_plot directory this program named “plot_time_freq”, write a script file (named “gmt_plot_time_freq.bash”) containing basic GMT functions (psxy, xyz2grd ...etc.); this script produces a postscript file in the LOG_FILE directory.

    Nota: GMT (Generic Mapping Tool) is a very powerfull software, freely available at :

    To sum up:

    1) run the program /Utilies/GMT_plot/plot_time_freq

    2 ) go in the directory ./Log to get the postscript file (that you can save, move, rename, print, and plot with KDE, or ghostview )

    that's all.

    Here is an example of postcript output :

Further more it is possible to change as your feeling, the color palette, title, .by editing the script gmt_plot_time_freq.bash.

  1. Other ASCII-file

a) In the main window, in the File menu, goto -> export to ASCII: thsi will write the current plotted channel in an ASCII file; in the directory pointed by LOG_DIR Var.Env.

b) In the menu PSD or FFT in Fourier menu, the spectra are written on the LOG_FILE when the button Export ASCII is clicked.

This file has a name in the form : psd_STA_Axis_ YEAR_MONTH_DAY_HH_MM_SS.txt (if you click on PSD menu),

or fft_STA_Axis_ YEAR_MONTH_DAY_HH_MM_SS.txt (if you click on FFT menu); it looks like this:

it is composed of 2 colums like this:

#Freq_Hz SJG_E

0.000000E+00 3.369983E+00

4.882812E-04 3.369983E+00

9.765625E-04 3.346399E+00

1.464844E-03 2.832720E+00

.. etc.

The first one is the frequency, and the second one is the PSD (Power Spectral Density) or the modulus of the FFT; the difference between theses is simply that the PSD is equal the modulus of the spectrum divided by the time windows duration. Since signals are generally in velocity, in µm/s,

the unit of PSD is : SQRT[(µm/s)**2 s**2 /s] = µm/ SQRT(s) = µm . SQRT(Hz)

And the unit of FFT modulus, is for a signal in velocity in µm/s: [(µm/s). s] = µm

This file is ALWAYS written in linear scale, on the full range of frequency (0 ->Nyquist)

This file can be easily plotted with MS-EXCEL, Open_Office, or xmrgace.

For the future, the polarisation menu will be written in ASCII, for having a trace of the results.