Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #16987 from scimax/master | Charles Harris | 2021-05-19 | 1 | -14/+53 |
|\ | | | | | ENH: Phase unwrapping generalized to arbitrary interval size | ||||
| * | BUG: Fix missing "np." in docstring examples. | Charles Harris | 2021-05-19 | 1 | -4/+4 |
| | | |||||
| * | STY: Break long lines | Charles Harris | 2021-05-19 | 1 | -9/+14 |
| | | |||||
| * | Update numpy/lib/function_base.py | Eric Wieser | 2021-02-16 | 1 | -1/+1 |
| | | |||||
| * | Update numpy/lib/function_base.py | Eric Wieser | 2021-02-16 | 1 | -0/+3 |
| | | |||||
| * | Cleanup whitespace | Eric Wieser | 2020-09-14 | 1 | -1/+1 |
| | | |||||
| * | Add missing newline | Eric Wieser | 2020-09-14 | 1 | -0/+1 |
| | | |||||
| * | Cleanup whitespace | Eric Wieser | 2020-09-14 | 1 | -1/+0 |
| | | |||||
| * | Apply suggestions from code review | Eric Wieser | 2020-09-14 | 1 | -3/+2 |
| | | | | | | Cleanup whitespace | ||||
| * | fix CI fails by blank lines | Max Kellermeier | 2020-09-11 | 1 | -0/+3 |
| | | |||||
| * | Update numpy/lib/function_base.py | Eric Wieser | 2020-09-02 | 1 | -1/+1 |
| | | |||||
| * | Comment in docs on discontinuity in unwrap | Max Kellermeier | 2020-08-23 | 1 | -2/+3 |
| | | |||||
| * | Apply suggestions from code review | scimax | 2020-08-23 | 1 | -9/+10 |
| | | | | | | Co-authored-by: Eric Wieser <wieser.eric@gmail.com> | ||||
| * | Minor corrections in unwrapping docstrings | Max Kellermeier | 2020-08-23 | 1 | -3/+3 |
| | | | | | | | | Co-authored-by: Eric Wieser <wieser.eric@gmail.com> | ||||
| * | Code cleanup | scimax | 2020-08-21 | 1 | -5/+4 |
| | | | | | | Co-authored-by: Eric Wieser <wieser.eric@gmail.com> | ||||
| * | Updated incorrect argument in tests. boundary correction for int and float. | Max Kellermeier | 2020-08-21 | 1 | -1/+3 |
| | | | | | | | | Co-authored-by: Eric Wieser <wieser.eric@gmail.com> | ||||
| * | Integer input returning integer output | Max Kellermeier | 2020-08-20 | 1 | -5/+13 |
| | | | | | | | | Co-authored-by: Eric Wieser <wieser.eric@gmail.com> | ||||
| * | Renamed new argument for unwraping. Extended release note | Max Kellermeier | 2020-08-20 | 1 | -16/+16 |
| | | |||||
| * | Minor code clean up | scimax | 2020-08-20 | 1 | -2/+4 |
| | | | | | | Co-authored-by: Eric Wieser <wieser.eric@gmail.com> | ||||
| * | Rolling back to only. Improved documentation | Max Kellermeier | 2020-08-20 | 1 | -26/+5 |
| | | |||||
| * | shorter slice | scimax | 2020-08-17 | 1 | -1/+1 |
| | | | | | | Co-authored-by: Eric Wieser <wieser.eric@gmail.com> | ||||
| * | Hybrid solution including interval boundaries, and keeping backward ↵ | Max Kellermeier | 2020-08-03 | 1 | -7/+30 |
| | | | | | | | | compatibility without boundary | ||||
| * | dispatcher fixed | Max Kellermeier | 2020-08-03 | 1 | -1/+1 |
| | | |||||
| * | Tests added according to #14877, obsolete comments removed. | Max Kellermeier | 2020-08-02 | 1 | -5/+0 |
| | | |||||
| * | Update numpy/lib/function_base.py | scimax | 2020-08-02 | 1 | -1/+1 |
| | | | | | | | | | | unwrap function signature compatible Co-authored-by: Eric Wieser <wieser.eric@gmail.com> | ||||
| * | Phase unwrapping generalized | scimax | 2020-08-01 | 1 | -16/+35 |
| | | | | | | Phase unwrapping generalized to arbitrary interval size, such as 360 for phase in degree instead of radian. Also integer unwrapping is supported, but the return values are floats. | ||||
* | | DOC: Improve trapz docstring (#19041) | Bhargav v | 2021-05-19 | 1 | -4/+24 |
| | | | | | | Co-authored-by: Eric Wieser <wieser.eric@gmail.com> | ||||
* | | BUG: Prevent nan being used in percentile (gh-18831) | Kevin Sheppard | 2021-04-22 | 1 | -3/+2 |
| | | | | | | | | | | Reject NaN as a percentile/quantile value. Previously NaNs could pass the range check `0 <= q <= 1`. closes #18830 | ||||
* | | Merge pull request #18515 from terfilip/select-dtype-err-msg-18430 | Charles Harris | 2021-03-26 | 1 | -2/+13 |
|\ \ | | | | | | | MAINT: Improve error message when common type not found. | ||||
| * | | MAINT: Adding exception chaining and switching to fstring | Filip Ter | 2021-03-24 | 1 | -5/+4 |
| | | | |||||
| * | | ENH: A more helpful error message, when types don't match type of default kwarg | Filip Ter | 2021-02-28 | 1 | -2/+14 |
| | | | |||||
* | | | Merge pull request #18652 from timhoffm/doc-plot | Ralf Gommers | 2021-03-21 | 1 | -1/+2 |
|\ \ \ | | | | | | | | | DOC: Update some plotting code to current Matplotlib idioms | ||||
| * | | | DOC: Update some plotting code to current Matplotlib idioms | Tim Hoffmann | 2021-03-21 | 1 | -1/+2 |
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | - 3D Axes are created via add_subplot(projection='3d') - There is now a `stairs()` function that's specifically designed for showing histogram curves - Labels should be passed as keyword arguments to the plot functions instead of to `legend()`, which reduces the risk of mixing them up. - ensure equal axis scaling in the meshgrid example | ||||
* | | | ENH: Use new argument parsing for array creation functions | Sebastian Berg | 2021-03-18 | 1 | -5/+4 |
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The array creation functions have the most to gain: 1. np.asarray is 4 times faster and commonly used. 2. Other functions are wrapped using __array_function__ in Python making it more difficult This commit (unfortunatly) has to do a few things: * Modify __array_function__ C-side dispatching to accomodate the fastcall argument convention. * Move asarray, etc. to C after removing all "fast paths" from np.array (simplifying the code) * Fixup imports, since asarray was imported directly in a few places * Replace some places where `np.array` was probably used for speed instead of np.asarray or similar. (or by accident in 1 or 2 places) | ||||
* | | API: make piecewise subclass safe using use zeros_like. | Marten van Kerkwijk | 2021-02-22 | 1 | -2/+2 |
| | | | | | | | | | | | | Subclass input of piecewise was already respected, so it seems more logical to ensure the output is the same subclass (possibly just an oversight that it was not done before). | ||||
* | | Specified the return type for trapz to include the possibility of ndarray ↵ | zolboo1024 | 2021-02-05 | 1 | -4/+7 |
| | | | | | | | | being returned | ||||
* | | DOC: Avoid using "set of" when talking about an ordered list. | Antony Lee | 2020-12-29 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | ... or when the input isn't/cannot be a set. I left a few usages, e.g. in random sampling, where "set" is reasonable as informal description of an array as the order doesn't matter; however, for e.g. np.gradient the order of the returned list is clearly important, so "set" is wrong. Also some other minor doc edits noticed during the grepping: using `shape` instead of `form` in `cov` is consistent with most other places; the wording in `Polynomial.trim` now matches other methods on the same class. | ||||
* | | Make it clearer that np.interp input must be monotonically increasing | David Stansby | 2020-11-27 | 1 | -3/+3 |
| | | |||||
* | | ENH: add dtype option to cov and corrcoef (#17456) | Lisa Schwetlick | 2020-10-09 | 1 | -9/+24 |
| | | | | | | | | | | | | | | Adds a keyword-only dtype parameter to correlate and coerrcoef to allow user to specify the dtype of the output. Co-authored-by: Eric Wieser <wieser.eric@gmail.com> Co-authored-by: Ross Barnowski <rossbar@berkeley.edu> | ||||
* | | DOC: Fix syntax errors in docstrings for versionchanged, versionadded (#17338) | Bradley Dice | 2020-09-17 | 1 | -1/+1 |
| | | | | | | * DOC: Fix typos in versionchanged. | ||||
* | | DOC: reformat meshgrid see also links | Ross Barnowski | 2020-09-09 | 1 | -4/+3 |
| | | |||||
* | | Fix docstring cross-referencing | Albert Villanova del Moral | 2020-09-04 | 1 | -2/+2 |
| | | |||||
* | | ENH: Make the window functions exactly symmetric | Eric Wieser | 2020-08-31 | 1 | -8/+8 |
| | | | | | | | | | | | | This relies on the fact that `cos` is exactly symmetric around zero, but not around the floating-point approximation of `pi`. Closes gh-17169. | ||||
* | | BUG: revert trim_zeros changes from gh-16911 | mattip | 2020-08-27 | 1 | -56/+0 |
| | | |||||
* | | DOC: Fix spacing in vectorize doc | Kevin Sheppard | 2020-08-20 | 1 | -2/+2 |
| | | | | | | | | Fix spacing that produced incorrect rendering | ||||
* | | Merge pull request #17058 from BvB93/trim_zeros2 | Matti Picus | 2020-08-19 | 1 | -8/+14 |
|\ \ | | | | | | | MAINT: Revert boolean casting back to elementwise comparisons in `trim_zeros` | ||||
| * | | MAINT: Issue the DeprecationWarning after creating the to-be returned array | Bas van Beek | 2020-08-13 | 1 | -4/+5 |
| | | | |||||
| * | | MAINT: Catching warnings is expensive; remove it | Bas van Beek | 2020-08-11 | 1 | -5/+6 |
| | | | |||||
| * | | ENH: Use elementwise comparisons with 0 rather than boolean casting | Bas van Beek | 2020-08-11 | 1 | -2/+6 |
| | | | |||||
* | | | API, BUG: Raise error on complex input to i0 (#17062) | peterbell10 | 2020-08-12 | 1 | -13/+10 |
|/ / | | | | | | | * BUG, API: Raise error on complex input to np.i0 |