-
Notifications
You must be signed in to change notification settings - Fork 23
New proposition for the tutorials section layout #1779
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 3 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,39 +1,40 @@ | ||
| .. _ref_how_to: | ||
|
|
||
| Enriching DPF capabilities | ||
| ---------------------------------------- | ||
| .. topic:: Enriching DPF capabilities | ||
|
|
||
| .. grid:: 3 | ||
| :gutter: 2 | ||
|
|
||
| .. grid-item-card:: Create custom operators and plugins | ||
| :link: user_guide_custom_operators | ||
| :link-type: ref | ||
| :text-align: center | ||
| .. grid:: 3 | ||
| :gutter: 2 | ||
|
|
||
| .. image:: ../images/drawings/plugin-logo.png | ||
| :width: 50% | ||
| .. grid-item-card:: Create custom operators and plugins | ||
| :link: user_guide_custom_operators | ||
| :link-type: ref | ||
| :text-align: center | ||
|
|
||
| .. image:: ../images/drawings/plugin-logo.png | ||
| :width: 25% | ||
|
|
||
| .. grid-item-card:: Switch between local and remote server | ||
| :link: user_guide_server_types | ||
| :link-type: ref | ||
| :text-align: center | ||
|
|
||
| .. image:: ../images/drawings/remote_machines.png | ||
| .. grid-item-card:: Switch between local and remote server | ||
| :link: user_guide_server_types | ||
| :link-type: ref | ||
| :text-align: center | ||
|
|
||
| .. image:: ../images/drawings/remote_machines.png | ||
| :width: 25% | ||
|
|
||
| .. grid-item-card:: Access Entry and Premium capabilities | ||
| :link: user_guide_server_context | ||
| :link-type: ref | ||
| :text-align: center | ||
| .. grid-item-card:: Access Entry and Premium capabilities | ||
| :link: user_guide_server_context | ||
| :link-type: ref | ||
| :text-align: center | ||
|
|
||
| .. image:: ../images/drawings/entry_premium.png | ||
| .. image:: ../images/drawings/entry_premium.png | ||
| :width: 25% | ||
|
|
||
| .. grid-item-card:: Configure DPF plugins load | ||
| :link: user_guide_xmlfiles | ||
| :link-type: ref | ||
| :text-align: center | ||
| .. grid-item-card:: Configure DPF plugins load | ||
| :link: user_guide_xmlfiles | ||
| :link-type: ref | ||
| :text-align: center | ||
|
|
||
| .. image:: ../images/drawings/xml.png | ||
| .. image:: ../images/drawings/xml.png | ||
| :width: 25% |
| Original file line number | Diff line number | Diff line change | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -3,94 +3,140 @@ | |||||||||||
| Tutorials | ||||||||||||
| --------- | ||||||||||||
|
|
||||||||||||
| What you need to know | ||||||||||||
| +++++++++++++++++++++ | ||||||||||||
|
|
||||||||||||
| The following tutorials show in details how to use basic features of PyDPF-Core | ||||||||||||
| for each usage main step. | ||||||||||||
| These tutorials go through the steps required to access, analyze, | ||||||||||||
| and transform simulation data using PyDPF-Core. | ||||||||||||
|
|
||||||||||||
| :bdg-dark-line:`Define simulation data` :octicon:`arrow-right;1em` :bdg-dark-line:`Store input data in DPF` :octicon:`arrow-right;1em` :bdg-dark-line:`Transform available data` :octicon:`arrow-right;1em` :bdg-dark-line:`Extract data` | ||||||||||||
| Tutorials are more substantive and complex than examples. They are designed to teach how to perform a task and understand | ||||||||||||
| the underlying concepts, providing detailed explanations at each stage, whereas examples showcase end-to-end specific processes. | ||||||||||||
|
|
||||||||||||
| **Define input data** | ||||||||||||
| DPF interacts with data stored in DPF data structures. | ||||||||||||
| These DPF data structures are generated automatically when reading data from results file (`ref_to_section`) but they can also be generated from scratch (`ref_to_section`) when no supported result file is available. | ||||||||||||
|
Check failure on line 16 in doc/source/user_guide/tutorials/index.rst
|
||||||||||||
|
|
||||||||||||
| Overview | ||||||||||||
| ++++++++ | ||||||||||||
|
|
||||||||||||
| .. grid:: 3 | ||||||||||||
| There are four main steps to transform simulation data into output data that can | ||||||||||||
| be used to visualize and analyze simulation results: | ||||||||||||
|
Comment on lines
+21
to
+22
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||
|
|
||||||||||||
| .. grid-item-card:: Data Sources | ||||||||||||
| :link: ref_tutorials_model | ||||||||||||
| :link-type: ref | ||||||||||||
| :text-align: center | ||||||||||||
| :bdg-dark-line:`Define simulation data` :octicon:`arrow-right;1em` :bdg-dark-line:`Store input data in DPF` :octicon:`arrow-right;1em` :bdg-dark-line:`Transform available data` :octicon:`arrow-right;1em` :bdg-dark-line:`Extract data` | ||||||||||||
|
|
||||||||||||
| .. grid-item-card:: DPF model | ||||||||||||
| :link: ref_tutorials_model | ||||||||||||
| :link-type: ref | ||||||||||||
| :text-align: center | ||||||||||||
| The following tutorials go through each of these steps. Each tutorial presents code snippets specific to each supported file format. | ||||||||||||
|
|
||||||||||||
| **Load data** | ||||||||||||
|
|
||||||||||||
| .. topic:: Importing and opening results files | ||||||||||||
|
||||||||||||
| .. topic:: Importing and opening results files | |
| .. topic:: Extract data from result files |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know if using "extract " here is a great idea. Because in the other section we talk about extracting (like if I want to have a displacement result). So here is it actually extract a result?
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| .. grid-item-card:: I have one file | |
| .. grid-item-card:: Extract data from a single file |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Import and open a single result file with PyDPF-Core. | |
| Extract data from a single result file with PyDPF-Core. |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| .. grid-item-card:: I have more than one file | |
| .. grid-item-card:: Extract data from distributed result files |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And the idea would be to also add a tutorial for:
- when you have accessory files
- when you have upstream result files
- and so on
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. If you have more than one file the tutorial will talk about these cases
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To be discussed further. I think it would be better to mention different
categoriesof actions you can perform with PyDPF-Core. The end-goal of using PyDPF-Core is not necessarily to visualize and analyze.Maybe something along the lines of: "There are different kind of actions you can perform: from extracting result from result files, to visualization of extracted data, to filtering, transformation of the data, and much more."