|
156 | 156 | "\n",
|
157 | 157 | "A ``LArray`` object represents a multidimensional array with labeled axes.\n",
|
158 | 158 | "\n",
|
159 |
| - "See the [LArray](../api.rst#larray) section of the API Reference to explore all methods of LArray objects.\n", |
160 |
| - "\n", |
161 |
| - "To know how to save and load arrays in CSV, Excel or HDF format, please refer to the [Loading and Dumping Arrays](tutorial_IO.ipynb#Loading-and-Dumping-Arrays) section of the tutorial.\n", |
162 |
| - "\n", |
163 | 159 | "### Create an array from scratch\n",
|
164 | 160 | "\n",
|
165 | 161 | "To create an array from scratch, you need to provide the data and a list\n",
|
|
227 | 223 | "source": [
|
228 | 224 | "### Array creation functions\n",
|
229 | 225 | "\n",
|
230 |
| - "Arrays can also be generated in an easier way through creation functions (#ref needed):\n", |
| 226 | + "Arrays can also be generated in an easier way through [creation functions](../api.rst#array-creation-functions):\n", |
231 | 227 | "\n",
|
232 | 228 | "- `ndtest` : creates a test array with increasing numbers as data\n",
|
233 | 229 | "- `empty` : creates an array but leaves its allocated memory\n",
|
|
470 | 466 | "cell_type": "markdown",
|
471 | 467 | "metadata": {},
|
472 | 468 | "source": [
|
473 |
| - "## Session\n", |
| 469 | + "### More on LArray objects\n", |
474 | 470 | "\n",
|
475 |
| - "A ``Session`` object is a dictionary-like object used to gather several arrays, axes and groups. \n", |
476 |
| - "A session is particularly adapted to gather all input objects of a model or to gather the output arrays from different scenarios. Like with arrays, it is possible to associate metadata to sessions.\n", |
477 |
| - "\n", |
478 |
| - "See the [Session](../api.rst#session) section of the API Reference to explore all methods of Session objects.\n", |
| 471 | + "To know how to save and load arrays in CSV, Excel or HDF format, please refer to the [Loading and Dumping Arrays](tutorial_IO.ipynb#Loading-and-Dumping-Arrays) section of the tutorial.\n", |
479 | 472 | "\n",
|
480 |
| - "To know how to save and load sessions in CSV, Excel or HDF format, please refer to the [Loading and Dumping Sessions](tutorial_IO.ipynb#Loading-and-Dumping-Sessions) section of the tutorial.\n", |
| 473 | + "See the [LArray](../api.rst#larray) section of the API Reference to explore all methods of LArray objects." |
| 474 | + ] |
| 475 | + }, |
| 476 | + { |
| 477 | + "cell_type": "markdown", |
| 478 | + "metadata": {}, |
| 479 | + "source": [ |
| 480 | + "## Session\n", |
481 | 481 | "\n",
|
482 |
| - "To see how to work with sessions, please read the [Working With Sessions](tutorial_sessions.ipynb#Working-With-Sessions) section of the tutorial.\n" |
| 482 | + "A ``Session`` object is a dictionary-like object used to gather several arrays, axes and groups. \n", |
| 483 | + "A session is particularly adapted to gather all input objects of a model or to gather the output arrays from different scenarios. Like with arrays, it is possible to associate metadata to sessions." |
483 | 484 | ]
|
484 | 485 | },
|
485 | 486 | {
|
|
513 | 514 | "\n",
|
514 | 515 | "# add metadata after creation\n",
|
515 | 516 | "s_pop.meta.title = 'Demographic Model of Belgium'\n",
|
516 |
| - "s_pop.meta.description = 'Modelize the demography of Belgium'\n", |
| 517 | + "s_pop.meta.description = 'Models the demography of Belgium'\n", |
517 | 518 | "\n",
|
518 | 519 | "# print content of the session\n",
|
519 | 520 | "print(s_pop.summary())"
|
|
567 | 568 | "\n",
|
568 | 569 | "</div>\n"
|
569 | 570 | ]
|
| 571 | + }, |
| 572 | + { |
| 573 | + "cell_type": "markdown", |
| 574 | + "metadata": {}, |
| 575 | + "source": [ |
| 576 | + "### More on Session objects\n", |
| 577 | + "\n", |
| 578 | + "To know how to save and load sessions in CSV, Excel or HDF format, please refer to the [Loading and Dumping Sessions](tutorial_IO.ipynb#Loading-and-Dumping-Sessions) section of the tutorial.\n", |
| 579 | + "\n", |
| 580 | + "To see how to work with sessions, please read the [Working With Sessions](tutorial_sessions.ipynb#Working-With-Sessions) section of the tutorial.\n", |
| 581 | + "\n", |
| 582 | + "Finally, see the [Session](../api.rst#session) section of the API Reference to explore all methods of Session objects." |
| 583 | + ] |
570 | 584 | }
|
571 | 585 | ],
|
572 | 586 | "metadata": {
|
|
0 commit comments