Download presentation

Presentation is loading. Please wait.

Published byArianna Wood Modified over 4 years ago

1
Modeling Quantities Goal –to establish a consistent method for representing physical quantities Why? –easier for newcomers to understand –common software solution for handling common problems units transformations quantity combinations (math, units propagation, error prop….) –establish a base data model component that can be used to build up more complex objects.

2
Modeling Quantities 3 components: Value Error Unit Error is abstract: 2 subtypes (substitutes): Sigma ErrorRange –confidence attribute Unit –prefix attribute

3
Modeling Quantities Specific Quantities –substitutable for Quantity –restrict the unit Flux: Jy Length: m, pc, lt-yr Frequency: Hz, cm, eV

4
44.2 0.1 m/s 4.5 pc 18.4 4.1 2.4 Jy 21 m

5
44.2 0.1 m/s 4.5 pc 18.4 4.1 2.4 Jy 21 m Alternatives: 21 21 cm <Frequency p="c" u="m" sigma="0.1" minus="0.3" plus="0.4" conf="99.7">21

6
Modeling Quantities: Challenges Quantity transformations –unit conversions * metric scaling * base unit (e.g. m Hz eV) –parsing from human readable form 5 Jy is more compact and convenient but harder to parse Comparisons & Processing Useful Functions: boolean near(q1, q2, tolerance) boolean withinError(q1, q2) boolean lessThan(q1, q2) boolean greaterThan(q1, q2) Quantity toQuantity(string) e.g. toQuantity(5 Jy) enables: greaterThan(Flux, 5 Jy)

Similar presentations

Presentation is loading. Please wait....

OK

Substitution.

Substitution.

© 2018 SlidePlayer.com Inc.

All rights reserved.

To make this website work, we log user data and share it with processors. To use this website, you must agree to our Privacy Policy, including cookie policy.

Ads by Google

Ppt on fire safety training Ppt on marriott group of hotels Ppt on indian constitution for class 9 Ppt on indian administrative services Ppt on stock market download Ppt on ip address classes and subnet Ppt on service oriented architecture protocol Ppt on eco tourism in india Ppt on schottky diode testing Running message display ppt on tv