Message Boards Message Boards

0
|
1668 Views
|
2 Replies
|
2 Total Likes
View groups...
Share
Share this post:

Importing scientific data with uncertainties and units

Posted 1 year ago

I want to import scientific data from a CSV file (see attached file). The data are length measurements in centimeters with uncertainties. I want to import the data with uncertainties and units into a vector - please see the notebook.
I can do this without units, but I am stuck how to do this with units for the whole data set. Any help is appreciated!

Thanks!

Attachments:
POSTED BY: Ranko Heindl
2 Replies

How about

VectorAround[
 Quantity[data[[All, 1]], "Centimeters"],
 Quantity[data[[All, 2]], "Centimeters"]]
POSTED BY: Rohit Namjoshi
Posted 1 year ago

This works! Thanks so much Rohit!!!

POSTED BY: Ranko Heindl
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract