-------- Original Message --------
Subject: Re: TPS format
Date: Sun, 1 Jun 2008 11:26:59 -0700 (PDT)
From: Dennis E. Slice <[EMAIL PROTECTED]>
To: [email protected]
References: <[EMAIL PROTECTED]>

The old Morpheus or the new m_vis visualization tool both provide
import/export features to facilitate format conversions. In most cases,
I usually start with NTSYSpc (or almost equivalently GRF-ND) formats
that are simple to construct with a text editor (a pure ASCII editor is
required).

The basic structure of an NTSYS file is:

t r c m1 m2
a1,1 a1,2 ...   a1,c
a2,1...         a2,c
        ...
ar,1...         ar,c

where the first row are descriptors:

t = matrix type, usually '1' for a rectangular data matrix
r = number of rows in matrix
c = number of columns
m1 = missing data? 0=no anything else means missing data is present
m2 = omitted if m1=0, otherwise missing data code
ai,j = data

You can also add 'l' (lowercase el) or 'L' to the r and c to indicate
labels will follow in that order. And, you can add a DIM=k to the
descriptor (a GRF-ND feature) to aid importing.

Examples:

1 2 6 0
3.2 1.1 1.5 4.3 1.2
3.1 0.9 1.4 4.1 1.4


1 2L 6L 1 -999 DIM=3
FIRST_ROW
SECOND_ROW
col1 col2 col3 col4
3.2 1.1 -999 4.3 1.2
3.1 0.9 1.4 -999 1.4

Set up your files and use the File|Import menu choice. Note the old
Morpheus has some more flexibility at this point.

That said, most TPS programs can read NTSYS format files.

Best, ds

morphmet wrote:


-------- Original Message --------
Subject:     TPS format
Date:     Sun, 1 Jun 2008 01:55:08 -0700 (PDT)
From:     ali mahmood <[EMAIL PROTECTED]>
Reply-To:     [EMAIL PROTECTED]
To:     [email protected]



Dear Friends



I wonder if any one have an idea about who to change or to input my data
in TPS format as my own is written in txt format.





Ali R AL-khatib




--
Dennis E. Slice
Department of Anthropology
University of Vienna
========================================================



--
Replies will be sent to the list.
For more information visit http://www.morphometrics.org

Reply via email to