## [argyllcms] Re: AW: Re: it3 format

• From: Graeme Gill <graeme@xxxxxxxxxxxxx>
• To: argyllcms@xxxxxxxxxxxxx
• Date: Sat, 29 Mar 2008 22:27:37 +1100

```Holger Kiemes wrote:

```
```How do I have to write for example 4 mesured values of the same sample to
get them averaged?

This Way:
**************************************
BEGIN_DATA_FORMAT
```
SAMPLE_ID RGB_R RGB_G RGB_B XYZ_X XYZ_Y XYZ_Z END_DATA_FORMAT
```
NUMBER_OF_SETS 4
BEGIN_DATA
1 47.376 7.6600 73.368 17.081 8.1277 47.746
2 47.376 7.6600 73.368 18.012 8.8732 48.382
```
3 47.376 7.6600 73.368 17.001 7.6789 47.134 4 47.376 7.6600 73.368 16.982 2.1987 32.712
```END_DATA
**************************************
```
```
Yes.

```
```Or that way:
**************************************
BEGIN_DATA_FORMAT
SAMPLE_ID RGB_R RGB_G RGB_B XYZ_X XYZ_Y XYZ_Z XYZ_X XYZ_Y XYZ_Z XYZ_X XYZ_Y
XYZ_Z XYZ_X XYZ_Y XYZ_Z
END_DATA_FORMAT

NUMBER_OF_SETS 1
BEGIN_DATA
1 47.376 7.6600 73.368 17.081 8.1277 47.746 18.012 8.8732 48.382 17.001
7.6789 47.134 16.982 2.1987 32.712
END_DATA
**************************************
```
```
No, this won't work. Only the first columns with a particular
name will be recognized. Duplicate columns will be ignored.

```
```And how are they averaged? Value measured value Nr. 4 is obviously wrong. Do
you use the arithmetic mean, the median, or do you calculate a statistic
confidence interval to filter out outliers like value Nr.4
```
```
They are weighted like any other sample with respect to the grid
nodes that they influence. The weighting is linear interpolation,
and for scattered data points that have the same device co-ordinate,
it will be a simple mean.

Graeme Gill.

```