Skip to content

Commit

Permalink
Merge pull request #121 from darioizzo/master
Browse files Browse the repository at this point in the history
Docs Improved
  • Loading branch information
darioizzo authored Apr 11, 2020
2 parents 8396f00 + 95ff196 commit e9b0a01
Show file tree
Hide file tree
Showing 19 changed files with 23,185 additions and 11,632 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
set(PYKEP_PROJECT_VERSION 2.5)

# CMake version check.
cmake_minimum_required(VERSION 3.2)
cmake_minimum_required(VERSION 3.3)

# Module path setup.
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake_modules" "${CMAKE_SOURCE_DIR}/cmake_modules/yacma")
Expand Down
2 changes: 1 addition & 1 deletion doc/sphinx/credits.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ compatibility between the two projects.

**pykep** is in use at the European Space Agency's Advanced Concepts Team since 2006.

**Main Developers**:
**Main Developer**:

Dario Izzo (dario.izzo __AT__ esa.int)

Expand Down
2 changes: 1 addition & 1 deletion doc/sphinx/documentation/index.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
======================
Code Documentation
API reference
======================

pykep is made of main modules called :ref:`core`, :ref:`planet`, :ref:`simsflanagan`, :ref:`pontryagin`, :ref:`phasing`, :ref:`trajopt`, :ref:`orbitplots`, :ref:`util`.
Expand Down
14 changes: 0 additions & 14 deletions doc/sphinx/downloading.rst

This file was deleted.

Binary file added doc/sphinx/examples/HERA_sc_LPC_EMA_2024c.bsp
Binary file not shown.
Binary file added doc/sphinx/examples/de432s.bsp
Binary file not shown.
Binary file not shown.
15 changes: 4 additions & 11 deletions doc/sphinx/examples/ex1.ipynb

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions doc/sphinx/examples/ex12.ipynb

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions doc/sphinx/examples/ex2.ipynb

Large diffs are not rendered by default.

18 changes: 16 additions & 2 deletions doc/sphinx/examples/ex3.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,19 @@
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [],
"outputs": [
{
"ename": "ModuleNotFoundError",
"evalue": "No module named 'pygmo_plugins_nonfree'",
"output_type": "error",
"traceback": [
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
"\u001b[0;31mModuleNotFoundError\u001b[0m Traceback (most recent call last)",
"\u001b[0;32m<ipython-input-1-d4897bb3ff63>\u001b[0m in \u001b[0;36m<module>\u001b[0;34m\u001b[0m\n\u001b[1;32m 2\u001b[0m \u001b[0;32mimport\u001b[0m \u001b[0mpykep\u001b[0m \u001b[0;32mas\u001b[0m \u001b[0mpk\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 3\u001b[0m \u001b[0;32mimport\u001b[0m \u001b[0mpygmo\u001b[0m \u001b[0;32mas\u001b[0m \u001b[0mpg\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m----> 4\u001b[0;31m \u001b[0;32mimport\u001b[0m \u001b[0mpygmo_plugins_nonfree\u001b[0m \u001b[0;32mas\u001b[0m \u001b[0mppnf\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 5\u001b[0m \u001b[0;32mimport\u001b[0m \u001b[0mnumpy\u001b[0m \u001b[0;32mas\u001b[0m \u001b[0mnp\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 6\u001b[0m \u001b[0;32mfrom\u001b[0m \u001b[0mpykep\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mexamples\u001b[0m \u001b[0;32mimport\u001b[0m \u001b[0madd_gradient\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
"\u001b[0;31mModuleNotFoundError\u001b[0m: No module named 'pygmo_plugins_nonfree'"
]
}
],
"source": [
"# Imports\n",
"import pykep as pk\n",
Expand All @@ -44,6 +56,8 @@
"output_type": "stream",
"text": [
"Problem name: <class 'pykep.trajopt._mga_lt_nep.mga_lt_nep'>\n",
"\tC++ class name: pybind11::object\n",
"\n",
"\tGlobal dimension:\t\t\t92\n",
"\tInteger dimension:\t\t\t0\n",
"\tFitness dimension:\t\t\t44\n",
Expand Down Expand Up @@ -211,7 +225,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.3"
"version": "3.7.6"
}
},
"nbformat": 4,
Expand Down
Loading

0 comments on commit e9b0a01

Please sign in to comment.