{ "cells": [ { "cell_type": "markdown", "id": "66200505", "metadata": {}, "source": [ "# The NDDataset object" ] }, { "cell_type": "markdown", "id": "d60770b0", "metadata": {}, "source": [ "The NDDataset is the main object use by **SpectroChemPy**.\n", "\n", "Like numpy ndarrays, NDDataset have the capability to be sliced, sorted and subject to\n", "mathematical operations.\n", "\n", "But, in addition, NDDataset may have units, can be masked and each dimensions can have\n", "coordinates also with units.\n", "This make NDDataset aware of units compatibility, *e.g.*, for binary operation such as\n", "additions or subtraction or during the application of mathematical operations.\n", "In addition or in replacement of numerical data for coordinates,\n", "NDDataset can also have labeled coordinates where labels can be different kind of\n", "objects (strings, datetime,\n", "numpy nd.ndarray or other NDDatasets, etc...).\n", "\n", "This offers a lot of flexibility in using NDDatasets that, we hope, will be useful\n", "for applications.\n", "See the **[Examples](../../gallery/auto_examples/index.rst)** for\n", "additional information about such possible applications." ] }, { "cell_type": "markdown", "id": "ce32663e", "metadata": {}, "source": [ "**Below (and in the next sections), we try to give an almost complete view of the\n", "NDDataset features.**" ] }, { "cell_type": "code", "execution_count": 1, "id": "2b263c0d", "metadata": { "execution": { "iopub.execute_input": "2023-06-06T01:29:03.108623Z", "iopub.status.busy": "2023-06-06T01:29:03.108364Z", "iopub.status.idle": "2023-06-06T01:29:06.245359Z", "shell.execute_reply": "2023-06-06T01:29:06.244790Z" } }, "outputs": [ { "data": { "text/html": [ "\n", " \n", "
\n",
" \n",
" | \n",
" \n",
" \n",
" SpectroChemPy's API - v.0.6.5 © Copyright 2014-2023 - A.Travert & C.Fernandez @ LCS\n", " \n", " | \n",
"
name | Dataset N1 |
author | Blake and Mortimer |
created | 2023-06-06 01:29:06+00:00 |
description | A dataset from scratch |
history | 2023-06-06 01:29:06+00:00> Creation |
DATA | |
title | |
values | [ 10 20 30] |
size | 3 |
name | Dataset N1 |
author | Blake and Mortimer |
created | 2023-06-06 01:29:06+00:00 |
description | A dataset from scratch |
history | 2023-06-06 01:29:06+00:00> Creation 2023-06-06 01:29:06+00:00> Ufunc sqrt applied. |
DATA | |
title | sqrt( |
values | [ 3.162 4.472 5.477] |
size | 3 |
name | Dataset N1 |
author | Blake and Mortimer |
created | 2023-06-06 01:29:06+00:00 |
description | A dataset from scratch |
history | 2023-06-06 01:29:06+00:00> Creation 2023-06-06 01:29:06+00:00> Inplace binary op: iadd with `Dataset N1` |
DATA | |
title | |
values | [ 15 30 45] |
size | 3 |
name | mydataset |
author | Blake and Mortimer |
created | 2023-06-06 01:29:06+00:00 |
description | Some experimental measurements |
history | 2023-06-06 01:29:06+00:00> Creation 2023-06-06 01:29:06+00:00> Inplace binary op: iadd with `Dataset N1` 2023-06-06 01:29:06+00:00> Created from scratch |
DATA | |
title | intensity |
values | [ 15 30 45] |
size | 3 |
name | 3D dataset creation |
author | Someone |
created | 2023-06-06 01:29:06+00:00 |
description | Some example |
history | 2023-06-06 01:29:06+00:00> Created from scratch |
DATA | |
title | energy |
values | [[[ 0.3122 0.9475 ... 0.6869 0.3645] [ 0.2168 0.9174 ... 0.225 0.8701] [ 0.5616 0.9712 ... 0.8156 0.4228] [ 0.4389 0.7739 ... 0.873 0.4794]] [[ 0.8906 0.006258 ... 0.9852 0.94] [ 0.7681 0.5764 ... 0.7628 0.2925] [ 0.2177 0.07877 ... 0.5296 0.3631] [ 0.4269 0.2059 ... 0.7017 0.798]]] |
shape | (u:2, v:4, t:6) |
name | 3D_dataset |
author | Someone |
created | 2023-06-06 01:29:06+00:00 |
description | a single statement creation example |
history | 2023-06-06 01:29:06+00:00> Created from scratch |
DATA | |
title | Energy |
values | [[[ 0.3122 0.9475 ... 0.6869 0.3645] [ 0.2168 0.9174 ... 0.225 0.8701] [ 0.5616 0.9712 ... 0.8156 0.4228] [ 0.4389 0.7739 ... 0.873 0.4794]] [[ 0.8906 0.006258 ... 0.9852 0.94] [ 0.7681 0.5764 ... 0.7628 0.2925] [ 0.2177 0.07877 ... 0.5296 0.3631] [ 0.4269 0.2059 ... 0.7017 0.798]]] |
shape | (u:2, v:4, t:6) |
name | mydataset |
author | Blake and Mortimer |
created | 2023-06-06 01:29:06+00:00 |
description | Some experimental measurements |
history | 2023-06-06 01:29:06+00:00> Creation 2023-06-06 01:29:06+00:00> Inplace binary op: iadd with `Dataset N1` 2023-06-06 01:29:06+00:00> Created from scratch |
DATA | |
title | intensity |
values | [ 15 30 45] eV |
size | 3 |
name | mydataset |
author | Blake and Mortimer |
created | 2023-06-06 01:29:06+00:00 |
description | Some experimental measurements |
history | 2023-06-06 01:29:06+00:00> Creation 2023-06-06 01:29:06+00:00> Inplace binary op: iadd with `Dataset N1` 2023-06-06 01:29:06+00:00> Created from scratch 2023-06-06 01:29:06+00:00> Binary operation pow with `2` has been performed |
DATA | |
title | intensity |
values | [ 225 900 2025] eV² |
size | 3 |
name | mydataset |
author | Blake and Mortimer |
created | 2023-06-06 01:29:06+00:00 |
description | Some experimental measurements |
history | 2023-06-06 01:29:06+00:00> Creation 2023-06-06 01:29:06+00:00> Inplace binary op: iadd with `Dataset N1` 2023-06-06 01:29:06+00:00> Created from scratch 2023-06-06 01:29:06+00:00> Ufunc sqrt applied. |
DATA | |
title | sqrt(intensity) |
values | [ 3.873 5.477 6.708] eV⁰⋅⁵ |
size | 3 |
name | mydataset |
author | Blake and Mortimer |
created | 2023-06-06 01:29:06+00:00 |
description | Some experimental measurements |
history | 2023-06-06 01:29:06+00:00> Creation 2023-06-06 01:29:06+00:00> Inplace binary op: iadd with `Dataset N1` 2023-06-06 01:29:06+00:00> Created from scratch 2023-06-06 01:29:06+00:00> Binary operation truediv with `5.0 s` has been performed |
DATA | |
title | intensity |
values | [ 3 6 9] eV.s⁻¹ |
size | 3 |
name | mydataset |
author | Blake and Mortimer |
created | 2023-06-06 01:29:06+00:00 |
description | Some experimental measurements |
history | 2023-06-06 01:29:06+00:00> Creation 2023-06-06 01:29:06+00:00> Inplace binary op: iadd with `Dataset N1` 2023-06-06 01:29:06+00:00> Created from scratch |
DATA | |
title | intensity |
values | [2.403e-18 4.807e-18 7.21e-18] J |
size | 3 |
name | mydataset |
author | Blake and Mortimer |
created | 2023-06-06 01:29:06+00:00 |
description | Some experimental measurements |
history | 2023-06-06 01:29:06+00:00> Creation 2023-06-06 01:29:06+00:00> Inplace binary op: iadd with `Dataset N1` 2023-06-06 01:29:06+00:00> Created from scratch |
DATA | |
title | intensity |
values | [1.741e+05 3.481e+05 5.222e+05] K |
size | 3 |
DIMENSION `t` | |
size | 6 |
title | time |
coordinates | [ 0 0.1 0.2 0.3 0.4 0.5] s |
size | 6 |
title | time |
coordinates | [ 0 0.1 0.2 0.3 0.4 0.5] s |
size | 6 |
title | time |
coordinates | [ 0 0.1 0.2 0.3 0.4 0.5] s |
size | 6 |
title | time |
coordinates | [ 0 0.1 0.2 0.3 0.4 0.5] s |
name | 3D_dataset |
author | Someone |
created | 2023-06-06 01:29:06+00:00 |
description | a single statement creation example |
history | 2023-06-06 01:29:06+00:00> Created from scratch |
DATA | |
title | Energy |
values | [[[ 0.3122 0.9475 ... 0.6869 0.3645] [ 0.2168 0.9174 ... 0.225 0.8701] [ 0.5616 0.9712 ... 0.8156 0.4228] [ 0.4389 0.7739 ... 0.873 0.4794]] [[ 0.8906 0.006258 ... 0.9852 0.94] [ 0.7681 0.5764 ... 0.7628 0.2925] [ 0.2177 0.07877 ... 0.5296 0.3631] [ 0.4269 0.2059 ... 0.7017 0.798]]] |
shape | (u:2, v:4, t:6) |
DIMENSION `t` | |
size | 6 |
title | time |
coordinates | [ 0 0.1 0.2 0.3 0.4 0.5] s |
size | 6 |
title | time |
coordinates | [ 0 0.1 0.2 0.3 0.4 0.5] s |
size | 6 |
title | time |
coordinates | [ 0 0.1 0.2 0.3 0.4 0.5] s |
name | 3D_dataset |
author | Someone |
created | 2023-06-06 01:29:06+00:00 |
description | a single statement creation example |
history | 2023-06-06 01:29:06+00:00> Created from scratch |
DATA | |
title | Energy |
values | [[[ 0.3122 0.9475 ... 0.6869 0.3645] [ 0.2168 0.9174 ... 0.225 0.8701] [ 0.5616 0.9712 ... 0.8156 0.4228] [ 0.4389 0.7739 ... 0.873 0.4794]] [[ 0.8906 0.006258 ... 0.9852 0.94] [ 0.7681 0.5764 ... 0.7628 0.2925] [ 0.2177 0.07877 ... 0.5296 0.3631] [ 0.4269 0.2059 ... 0.7017 0.798]]] |
shape | (u:2, v:4, t:6) |
DIMENSION `t` | |
size | 6 |
title | time |
coordinates | [ 0 0.1 0.2 0.3 0.4 0.5] s |
DIMENSION `u` | |
size | 2 |
title | some tags |
labels | [ a b] |
name | 3D_dataset |
author | Someone |
created | 2023-06-06 01:29:06+00:00 |
description | a single statement creation example |
history | 2023-06-06 01:29:06+00:00> Created from scratch |
DATA | |
title | Energy |
values | [[[ 0.3122 0.9475 ... 0.6869 0.3645] [ 0.2168 0.9174 ... 0.225 0.8701] [ 0.5616 0.9712 ... 0.8156 0.4228] [ 0.4389 0.7739 ... 0.873 0.4794]] [[ 0.8906 0.006258 ... 0.9852 0.94] [ 0.7681 0.5764 ... 0.7628 0.2925] [ 0.2177 0.07877 ... 0.5296 0.3631] [ 0.4269 0.2059 ... 0.7017 0.798]]] |
shape | (u:2, v:4, t:6) |
DIMENSION `t` | |
size | 6 |
title | time |
labels | [ 0:00:00 0:01:00 0:02:00 0:03:00 0:04:00 0:05:00] |
DIMENSION `u` | |
size | 2 |
title | some tags |
labels | [ a b] |
size | 6 |
title | time |
labels | [ 0:00:00 0:01:00 0:02:00 0:03:00 0:04:00 0:05:00] |
name | NDDataset_87a7cec8 |
author | runner@fv-az626-878 |
created | 2023-06-06 01:29:07+00:00 |
history | 2023-06-06 01:29:07+00:00> Created using method : diag |
DATA | |
title | |
values | [[ 3 0 0] [ 0 3 0] [ 0 0 2.5]] |
shape | (y:3, x:3) |
name | NDDataset_87a7cec8 |
author | runner@fv-az626-878 |
created | 2023-06-06 01:29:07+00:00 |
history | 2023-06-06 01:29:07+00:00> Created using method : diag |
DATA | |
title | |
values | [[ 3 0 0] [ 0 3 0] [ 0 0 2.5]] |
shape | (y:3, x:3) |
DIMENSION `x`=`y` | |
size | 3 |
title | |
coordinates | [ 0 1 2] |
name | 3D_dataset |
author | Someone |
created | 2023-06-06 01:29:06+00:00 |
description | a single statement creation example |
history | 2023-06-06 01:29:06+00:00> Created from scratch |
DATA | |
title | Energy |
values | [[[ 0.3122 0.9475 ... 0.6869 0.3645] [ 0.2168 0.9174 ... 0.225 0.8701] [ 0.5616 0.9712 ... 0.8156 0.4228] [ 0.4389 0.7739 ... 0.873 0.4794]] [[ 0.8906 0.006258 ... 0.9852 0.94] [ 0.7681 0.5764 ... 0.7628 0.2925] [ 0.2177 0.07877 ... 0.5296 0.3631] [ 0.4269 0.2059 ... 0.7017 0.798]]] |
shape | (t:2, v:4, u:6) |
DIMENSION `t` | |
size | 2 |
title | distance |
coordinates | [ 10 100] m |
DIMENSION `u` | |
size | 6 |
title | elapsed time |
coordinates | [ 0 200 400 600 800 1000] h |
DIMENSION `v` | |
size | 4 |
title | temperature |
coordinates | [ 20 21.67 23.33 25] K |
name | 3D_dataset |
author | Someone |
created | 2023-06-06 01:29:06+00:00 |
description | a single statement creation example |
history | 2023-06-06 01:29:06+00:00> Created from scratch |
DATA | |
title | Energy |
values | [[[ 0.3122 0.9475 ... 0.6869 0.3645] [ 0.2168 0.9174 ... 0.225 0.8701] [ 0.5616 0.9712 ... 0.8156 0.4228] [ 0.4389 0.7739 ... 0.873 0.4794]] [[ 0.8906 0.006258 ... 0.9852 0.94] [ 0.7681 0.5764 ... 0.7628 0.2925] [ 0.2177 0.07877 ... 0.5296 0.3631] [ 0.4269 0.2059 ... 0.7017 0.798]]] |
shape | (t:2, v:4, u:6) |
DIMENSION `t` | |
size | 2 |
title | distance |
coordinates | [ 10 100] m |
DIMENSION `u` | |
size | 6 |
title | elapsed time |
coordinates | [ 0 200 400 600 800 1000] h |
DIMENSION `v` | |
size | 4 |
title | temperature |
coordinates | [ 20 21.67 23.33 25] K |
name | 3D_dataset |
author | Someone |
created | 2023-06-06 01:29:06+00:00 |
description | a single statement creation example |
history | 2023-06-06 01:29:06+00:00> Created from scratch |
DATA | |
title | Energy |
values | [[[ 0.3122 0.9475 ... 0.6869 0.3645] [ 0.2168 0.9174 ... 0.225 0.8701] [ 0.5616 0.9712 ... 0.8156 0.4228] [ 0.4389 0.7739 ... 0.873 0.4794]] [[ 0.8906 0.006258 ... 0.9852 0.94] [ 0.7681 0.5764 ... 0.7628 0.2925] [ 0.2177 0.07877 ... 0.5296 0.3631] [ 0.4269 0.2059 ... 0.7017 0.798]]] |
shape | (t:2, v:4, u:6) |
DIMENSION `t` | |
size | 2 |
title | distance |
coordinates | [ 10 100] m |
DIMENSION `u` | |
size | 6 |
title | elapsed time |
coordinates | [ 0 200 400 600 800 1000] h |
DIMENSION `v` | |
size | 4 |
(_1) | |
title | magnetic field |
coordinates | [ 1 2 3 4] mT |
(_2) | |
title | temperature |
coordinates | [ 20 21.67 23.33 25] K |
size | 4 |
title | magnetic field |
coordinates | [ 1 2 3 4] mT |
name | 3D_dataset |
author | Someone |
created | 2023-06-06 01:29:06+00:00 |
description | a single statement creation example |
history | 2023-06-06 01:29:06+00:00> Created from scratch |
DATA | |
title | Energy |
values | [[[ 0.3122 0.9475 ... 0.6869 0.3645] [ 0.2168 0.9174 ... 0.225 0.8701] [ 0.5616 0.9712 ... 0.8156 0.4228] [ 0.4389 0.7739 ... 0.873 0.4794]] [[ 0.8906 0.006258 ... 0.9852 0.94] [ 0.7681 0.5764 ... 0.7628 0.2925] [ 0.2177 0.07877 ... 0.5296 0.3631] [ 0.4269 0.2059 ... 0.7017 0.798]]] |
shape | (t:2, v:4, u:6) |
DIMENSION `t` | |
size | 2 |
title | distance |
coordinates | [ 10 100] m |
DIMENSION `u` | |
size | 6 |
title | elapsed time |
coordinates | [ 0 200 400 600 800 1000] h |
DIMENSION `v` | |
size | 4 |
(_1) | |
title | magnetic field |
coordinates | [ 1 2 3 4] mT |
(_2) | |
title | temperature |
coordinates | [ 20 21.67 23.33 25] K |
name | 3D_dataset |
author | Someone |
created | 2023-06-06 01:29:06+00:00 |
description | a single statement creation example |
history | 2023-06-06 01:29:06+00:00> Created from scratch |
DATA | |
title | Energy |
values | [[[ 0.3122 0.9475 ... 0.6869 0.3645] [ 0.2168 0.9174 ... 0.225 0.8701] [ 0.5616 0.9712 ... 0.8156 0.4228] [ 0.4389 0.7739 ... 0.873 0.4794]] [[ 0.8906 0.006258 ... 0.9852 0.94] [ 0.7681 0.5764 ... 0.7628 0.2925] [ 0.2177 0.07877 ... 0.5296 0.3631] [ 0.4269 0.2059 ... 0.7017 0.798]]] |
shape | (t:2, v:4, u:6) |
DIMENSION `t` | |
size | 2 |
title | distance |
coordinates | [ 10 100] m |
DIMENSION `u` | |
size | 6 |
title | elapsed time |
coordinates | [ 0 200 400 600 800 1000] h |
DIMENSION `v` | |
size | 4 |
(_1) | |
title | magnetic field |
coordinates | [ 1 2 3 4] mT |
(_2) | |
title | temperature |
coordinates | [ 20 21.67 23.33 25] K |
name | 3D_dataset |
author | Someone |
created | 2023-06-06 01:29:06+00:00 |
description | a single statement creation example |
history | 2023-06-06 01:29:06+00:00> Created from scratch |
DATA | |
title | Energy |
values | [[[ 0.3122 0.9475 ... 0.6869 0.3645] [ 0.2168 0.9174 ... 0.225 0.8701] [ 0.5616 0.9712 ... 0.8156 0.4228] [ 0.4389 0.7739 ... 0.873 0.4794]] [[ 0.8906 0.006258 ... 0.9852 0.94] [ 0.7681 0.5764 ... 0.7628 0.2925] [ 0.2177 0.07877 ... 0.5296 0.3631] [ 0.4269 0.2059 ... 0.7017 0.798]]] |
shape | (t:2, v:4, u:6) |
DIMENSION `t` | |
size | 2 |
title | distance |
coordinates | [ 10 100] m |
DIMENSION `u` | |
size | 6 |
title | elapsed time |
coordinates | [ 0 200 400 600 800 1000] h |
DIMENSION `v` | |
size | 4 |
(_1) | |
title | magnetic field |
coordinates | [ 1 2 3 4] mT |
(_2) | |
title | temperature |
coordinates | [ 20 21.67 23.33 25] K |
name | 3D_dataset |
author | Someone |
created | 2023-06-06 01:29:06+00:00 |
description | a single statement creation example |
history | 2023-06-06 01:29:06+00:00> Created from scratch |
DATA | |
title | Energy |
values | [[[ 0.3122 0.9475 ... 0.6869 0.3645] [ 0.2168 0.9174 ... 0.225 0.8701] [ 0.5616 0.9712 ... 0.8156 0.4228] [ 0.4389 0.7739 ... 0.873 0.4794]] [[ 0.8906 0.006258 ... 0.9852 0.94] [ 0.7681 0.5764 ... 0.7628 0.2925] [ 0.2177 0.07877 ... 0.5296 0.3631] [ 0.4269 0.2059 ... 0.7017 0.798]]] |
shape | (t:2, v:4, u:6) |
DIMENSION `t` | |
size | 2 |
title | distance |
coordinates | [ 10 100] m |
DIMENSION `u` | |
size | 6 |
title | elapsed time |
coordinates | [ 0 200 400 600 800 1000] h |
DIMENSION `v` | |
size | 4 |
(_1) | |
title | temperature |
coordinates | [ 20 21.67 23.33 25] K |
(_2) | |
title | magnetic field |
coordinates | [ 1 2 3 4] mT |
name | 3D_dataset |
author | Someone |
created | 2023-06-06 01:29:06+00:00 |
description | a single statement creation example |
history | 2023-06-06 01:29:06+00:00> Created from scratch |
DATA | |
title | Energy |
values | [[[ 0.3122 0.9475 ... 0.6869 0.3645] [ 0.2168 0.9174 ... 0.225 0.8701] [ 0.5616 0.9712 ... 0.8156 0.4228] [ 0.4389 0.7739 ... 0.873 0.4794]] [[ 0.8906 0.006258 ... 0.9852 0.94] [ 0.7681 0.5764 ... 0.7628 0.2925] [ 0.2177 0.07877 ... 0.5296 0.3631] [ 0.4269 0.2059 ... 0.7017 0.798]]] |
shape | (t:2, v:4, u:6) |
DIMENSION `t` | |
size | 2 |
title | distance |
coordinates | [ 10 100] m |
DIMENSION `u` | |
size | 6 |
title | elapsed time |
coordinates | [ 0 200 400 600 800 1000] h |
DIMENSION `v` | |
size | 4 |
(_1) | |
title | magnetic field |
coordinates | [ 1 2 3 4] mT |
(_2) | |
title | temperature |
coordinates | [ 20 21.67 23.33 25] K |
name | 3D_dataset |
author | Someone |
created | 2023-06-06 01:29:06+00:00 |
description | a single statement creation example |
history | 2023-06-06 01:29:06+00:00> Created from scratch |
DATA | |
title | Energy |
values | [[[ 0.3122 0.9475 ... 0.6869 0.3645] [ 0.2168 0.9174 ... 0.225 0.8701] [ 0.5616 0.9712 ... 0.8156 0.4228] [ 0.4389 0.7739 ... 0.873 0.4794]] [[ 0.8906 0.006258 ... 0.9852 0.94] [ 0.7681 0.5764 ... 0.7628 0.2925] [ 0.2177 0.07877 ... 0.5296 0.3631] [ 0.4269 0.2059 ... 0.7017 0.798]]] |
shape | (t:2, v:4, u:6) |
DIMENSION `t` | |
size | 2 |
title | distance |
coordinates | [ 10 100] m |
DIMENSION `u` | |
size | 6 |
title | elapsed time |
coordinates | [ 0 200 400 600 800 1000] h |
DIMENSION `v` | |
size | 4 |
(_1) | |
title | magnetic field |
coordinates | [ 1 2 3 4] mT |
(_2) | |
title | temperature |
coordinates | [ 20 21.67 23.33 25] K |
name | 3D_dataset |
author | Someone |
created | 2023-06-06 01:29:06+00:00 |
description | a single statement creation example |
history | 2023-06-06 01:29:06+00:00> Created from scratch |
DATA | |
title | Energy |
values | [[[ 0.3122 0.9475 ... 0.6869 0.3645] [ 0.2168 0.9174 ... 0.225 0.8701] [ 0.5616 0.9712 ... 0.8156 0.4228] [ 0.4389 0.7739 ... 0.873 0.4794]] [[ 0.8906 0.006258 ... 0.9852 0.94] [ 0.7681 0.5764 ... 0.7628 0.2925] [ 0.2177 0.07877 ... 0.5296 0.3631] [ 0.4269 0.2059 ... 0.7017 0.798]]] |
shape | (t:2, v:4, u:6) |
DIMENSION `t` | |
size | 2 |
title | distance |
coordinates | [ 10 100] m |
DIMENSION `u` | |
size | 6 |
title | elapsed time |
coordinates | [ 0 200 400 600 800 1000] h |
DIMENSION `v` | |
size | 4 |
title | temperature |
coordinates | [ 20 21.67 23.33 25] K |
name | 3D_dataset |
author | Someone |
created | 2023-06-06 01:29:06+00:00 |
description | a single statement creation example |
history | 2023-06-06 01:29:06+00:00> Created from scratch |
DATA | |
title | Energy |
values | [[[ 0.3122 0.9475 ... 0.6869 0.3645] [ 0.2168 0.9174 ... 0.225 0.8701] [ 0.5616 0.9712 ... 0.8156 0.4228] [ 0.4389 0.7739 ... 0.873 0.4794]] [[ 0.8906 0.006258 ... 0.9852 0.94] [ 0.7681 0.5764 ... 0.7628 0.2925] [ 0.2177 0.07877 ... 0.5296 0.3631] [ 0.4269 0.2059 ... 0.7017 0.798]]] |
shape | (t:2, v:4, u:6) |
DIMENSION `t` | |
size | 2 |
title | distance |
coordinates | [ 10 100] m |
DIMENSION `u` | |
size | 6 |
title | elapsed time |
coordinates | [ 0 200 400 600 800 1000] h |
DIMENSION `v` | |
size | 4 |
title | temperature |
coordinates | [ 20 21.67 23.33 25] K |
name | 3D_dataset |
author | Someone |
created | 2023-06-06 01:29:06+00:00 |
description | a single statement creation example |
history | 2023-06-06 01:29:06+00:00> Created from scratch |
DATA | |
title | Energy |
values | [[[ 0.3122 0.9475 ... 0.6869 0.3645] [ 0.2168 0.9174 ... 0.225 0.8701] [ 0.5616 0.9712 ... 0.8156 0.4228] [ 0.4389 0.7739 ... 0.873 0.4794]] [[ 0.8906 0.006258 ... 0.9852 0.94] [ 0.7681 0.5764 ... 0.7628 0.2925] [ 0.2177 0.07877 ... 0.5296 0.3631] [ 0.4269 0.2059 ... 0.7017 0.798]]] |
shape | (t:2, v:4, u:6) |
DIMENSION `t` | |
size | 2 |
title | distance |
coordinates | [ 10 100] m |
DIMENSION `u` | |
size | 6 |
title | elapsed time |
coordinates | [ 0 200 400 600 800 1000] h |
DIMENSION `v` | |
size | 4 |
(_1) | |
title | temperature |
coordinates | [ 20 21.67 23.33 25] K |
(_2) | |
title | magnetic field |
coordinates | [ 1 2 3 4] mT |
name | 3D_dataset |
author | Someone |
created | 2023-06-06 01:29:06+00:00 |
description | a single statement creation example |
history | 2023-06-06 01:29:06+00:00> Created from scratch |
DATA | |
title | Energy |
values | [[[ 0.3122 0.9475 ... 0.6869 0.3645] [ 0.2168 0.9174 ... 0.225 0.8701] [ 0.5616 0.9712 ... 0.8156 0.4228] [ 0.4389 0.7739 ... 0.873 0.4794]] [[ 0.8906 0.006258 ... 0.9852 0.94] [ 0.7681 0.5764 ... 0.7628 0.2925] [ 0.2177 0.07877 ... 0.5296 0.3631] [ 0.4269 0.2059 ... 0.7017 0.798]]] |
shape | (t:2, v:4, u:6) |
DIMENSION `t` | |
size | 2 |
title | distance |
coordinates | [ 10 100] m |
DIMENSION `u` | |
size | 6 |
title | elapsed time |
coordinates | [ 0 200 400 600 800 1000] h |
DIMENSION `v` | |
size | 4 |
(_1) | |
title | magnetic field |
coordinates | [ 1 2 3 4] mT |
(_2) | |
title | temperature |
coordinates | [ 20 21.67 23.33 25] K |
DIMENSION `x` | |
size | 3 |
title | temperature |
coordinates | [ 10 25 40] K |
labels | [ Cold RT Hot] |
DIMENSION `y` | |
size | 5 |
title | wavenumber |
coordinates | [ 4000 3250 2500 1750 1000] cm⁻¹ |
name | mydataset |
author | Blake & Mortimer |
created | 2023-06-06 01:29:07+00:00 |
description | Dataset example created for this tutorial. It's a 2-D dataset |
history | 2023-06-06 01:29:07+00:00> Created using method : fromfunction |
DATA | |
title | absorbance |
values | [[ 400 1000 1600] [ 325 812.5 1300] ... [ 175 437.5 700] [ 100 250 400]] K |
shape | (y:5, x:3) |
DIMENSION `x` | |
size | 3 |
title | temperature |
coordinates | [ 10 25 40] K |
labels | [ Cold RT Hot] |
DIMENSION `y` | |
size | 5 |
title | wavenumber |
coordinates | [ 4000 3250 2500 1750 1000] cm⁻¹ |
name | NDDataset_87f68d74 |
author | runner@fv-az626-878 |
created | 2023-06-06 01:29:07+00:00 |
history | 2023-06-06 01:29:07+00:00> Created using method : full |
DATA | |
title | with only float=1.25 |
values | [[ 1.25 1.25 1.25] [ 1.25 1.25 1.25] ... [ 1.25 1.25 1.25] [ 1.25 1.25 1.25]] rad |
shape | (y:5, x:3) |
DIMENSION `x` | |
size | 3 |
title | temperature |
coordinates | [ 10 25 40] K |
labels | [ Cold RT Hot] |
DIMENSION `y` | |
size | 5 |
title | wavenumber |
coordinates | [ 4000 3250 2500 1750 1000] cm⁻¹ |
name | 3D_dataset |
author | runner@fv-az626-878 |
created | 2023-06-06 01:29:07+00:00 |
history | 2023-06-06 01:29:06+00:00> Created from scratch 2023-06-06 01:29:07+00:00> Created using method : full_like |
DATA | |
title | Energy |
values | [[[ 2 2 ... 2 2] [ 2 2 ... 2 2] [ 2 2 ... 2 2] [ 2 2 ... 2 2]] [[ 2 2 ... 2 2] [ 2 2 ... 2 2] [ 2 2 ... 2 2] [ 2 2 ... 2 2]]] |
shape | (t:2, v:4, u:6) |
DIMENSION `t` | |
size | 2 |
title | distance |
coordinates | [ 10 100] m |
DIMENSION `u` | |
size | 6 |
title | elapsed time |
coordinates | [ 0 200 400 600 800 1000] h |
DIMENSION `v` | |
size | 4 |
(_1) | |
title | magnetic field |
coordinates | [ 1 2 3 4] mT |
(_2) | |
title | temperature |
coordinates | [ 20 21.67 23.33 25] K |
name | NDDataset_87fd23f0 |
author | runner@fv-az626-878 |
created | 2023-06-06 01:29:07+00:00 |
history | 2023-06-06 01:29:07+00:00> Created using method : diag |
DATA | |
title | |
values | [[ 3 0 0] [ 0 3 0] [ 0 0 2.5]] |
shape | (y:3, x:3) |
name | duplicate of 3D_dataset |
author | runner@fv-az626-878 |
created | 2023-06-06 01:29:07+00:00 |
history | 2023-06-06 01:29:06+00:00> Created from scratch |
DATA | |
title | Energy |
values | [[[ 0.3122 0.9475 ... 0.6869 0.3645] [ 0.2168 0.9174 ... 0.225 0.8701] [ 0.5616 0.9712 ... 0.8156 0.4228] [ 0.4389 0.7739 ... 0.873 0.4794]] [[ 0.8906 0.006258 ... 0.9852 0.94] [ 0.7681 0.5764 ... 0.7628 0.2925] [ 0.2177 0.07877 ... 0.5296 0.3631] [ 0.4269 0.2059 ... 0.7017 0.798]]] a.u. |
shape | (t:2, v:4, u:6) |
DIMENSION `t` | |
size | 2 |
title | distance |
coordinates | [ 10 100] m |
DIMENSION `u` | |
size | 6 |
title | elapsed time |
coordinates | [ 0 200 400 600 800 1000] h |
DIMENSION `v` | |
size | 4 |
(_1) | |
title | magnetic field |
coordinates | [ 1 2 3 4] mT |
(_2) | |
title | temperature |
coordinates | [ 20 21.67 23.33 25] K |