CellML Discussion List

Text archives Help


Re: [cellml-discussion] Another thing to fix before CellML 1.1 is finalised


Chronological Thread 
  • From: Warren Hedley <whedley AT sdsc.edu>
  • To: cellml-discussion AT cellml.org
  • Subject: Re: [cellml-discussion] Another thing to fix before CellML 1.1 is finalised
  • Date: Mon, 07 Mar 2005 09:24:09 -0800
  • List-archive: <http://www.cellml.org/pipermail/cellml-discussion>
  • List-id: "For those interested in contributing to the development of CellML." <cellml-discussion.cellml.org>
  • Organization: Alliance For Cellular Signaling, San Diego Supercomputer Center

Hi Andrew,

David has the right interpretation of the spec, but you're correct in pointing out that the text below equation (3) doesn't properly define what the "prefix" variable is supposed to be.

Probably that last sentence should be split into:

Units are the units being defined, and multiplier, units and offset correspond to the values of the appropriate attributes on the <unit> element. Prefix is either 10 to the power of the value of the prefix attribute (if an integer value is specified) or the value from table 3 that corresponds to the value of a text prefix attribute.

Can whoever's now maintaining the spec proofread the above and add it to the errata for version 1.0 and the current spec?

Note that the definition gets cleared up by example in equation (6) though, if that helps.

Regards,
Warren



Andrew Miller postulated on 03/06/2005 04:52 PM:
Quoting David Nickerson
<d.nickerson AT auckland.ac.nz>:


I guess I must be missing something, but as I understand it the factors
in that table are simply the numerical equivalent used when the name is
given in a prefix attribute. e.g. 1 milli metre is equivalent to 1*10^-3
metres (so prefix="-3").

Look at this in the context of equation 4, which explicitly specifies that the
prefix should be multiplied. Perhaps it is, however, equation 4 that is
wrong?(it also multiplies directly by the prefix attribute without raising it
to a power of 10). However, the prose should at least be clarified to explain
exactly what is meant by the factor, and how prefix is treated when it is an
integer.


--
Warren Hedley




Archive powered by MHonArc 2.6.18.

Top of page