Skip to content
#

closember

Here are 14 public repositories matching this topic...

gertcuykens
gertcuykens commented Oct 2, 2021

When using Python you can click on the File line in vscode terminal to go to statement

Traceback (most recent call last):
  File "/Users/gert/Desktop/py/./tutorial.py", line 4, in <module>

When using IPython the line number is displayed in such a way you can't parse it

ValueError                                Traceback (most recent call last)
~/Desktop/py/tutorial.py in <modu
poldap
poldap commented Aug 2, 2021

scipy.signal.bspline gives zero output for integer types. This also affects quadratic and cubic.

Reproducing code example:

An example of an incorrect result

>>> from scipy.signal import bspline, quadratic, cubic
>>> bspline(np.array([-3,-2,-1,0,1,2,3]), 6)
array([0, 0, 0, 0, 0, 0, 0])

What was expected

>>> bspline(np.array([-3,-2,-1,0,1,2,3]).astype(float), 6)
array
astrojuanlu
astrojuanlu commented Oct 21, 2021

I just realized that poliastro.twobody.thrust functions expect floats that get passed directly to poliastro.core.thrust functions, like in this case:

https://github.com/poliastro/poliastro/blob/02588dfc3ec4e6d390947f6691a15f8a618e1022/src/poliastro/twobody/thrust/change_a_inc.py#L13-L45

This is inconsistent with our API promises, since these functions should accept quantities with units.

kloczek
kloczek commented May 17, 2021
$ PYTHONPATH=$PWD sphinx-build -b man -d traitlets docs/source .
Running Sphinx v3.5.4
Initializing GitHub plugin
loading intersphinx inventory from https://docs.python.org/objects.inv...
intersphinx inventory has moved: https://docs.python.org/objects.inv -> https://docs.python.org/3/objects.inv
building [mo]: targets for 0 po files that are out of date
building [man]: all manpa

Improve this page

Add a description, image, and links to the closember topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the closember topic, visit your repo's landing page and select "manage topics."

Learn more