Skip to content

Add timePoints attribute to UniformTimeCourse #226

@luciansmith

Description

@luciansmith

Add a 'timePoints' attribute that would contain a full list of all requested output points. Would optionally replace outputStartTime, outputEndTime, and numberOfSteps.

The following two UniformTimeCourses would be functionally identical:

<uniformTimeCourse id="simulation1" initialTime="0" outputStartTime="0" outputEndTime="10" numberOfSteps="10">

<uniformTimeCourse id="simulation1" initialTime="0" timePoints="0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10">

but of course the power of the attribute would be in defining a series with non-uniform intervals, such as this pseudo-logarithmic series:

<uniformTimeCourse id="simulation1" initialTime="0" timePoints="0, 1, 2, 5, 10, 20, 50, 100, 200, 500">

It additionally would be helpful for recording discontinuities at particular time points. Imagine a time course with an event that fired at time point 5:

<uniformTimeCourse id="simulation1" initialTime="0" timePoints="0, 1, 2, 3, 4, 4.99, 5, 6, 7, 8, 9, 10">

Adding in the '4.99' time point allows a generally sparse series of values, with one exception at the discontinuity.

Repeats would also be allowed, and would simply repeat the same output values. This would be useful when comparing simulated output with sampled outputs that might have had multiple collected values at the same time point in different experiments, as is done in some parameter estimation experiments:

<uniformTimeCourse id="simulation1" initialTime="0" timePoints="0, 1, 2, 3, 4, 5, 5, 5, 7, 8, 8, 10">

The values would be required to proceed in order.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions