Skip to content

Cannot handle uncertainties in quantities #8

Description

@kyleniemeyer

As of v0.2.3, PyTeCK cannot handle ChemKED files with uncertainties (at least in ignition delay, and likely other quantities).

For example, in eval_model,

        ign_delay = [case.ignition_delay.to('second').magnitude
                     for case in properties.datapoints
                     ]

doesn't work when the ignition delays have uncertainties, because case.ignition_delay is now a Measurement type that does not have the method magnitude. Instead, it needs to be case.ignition_delay.to('second').value.magnitude (I think).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions