Raphael A. P. Oliveira

Results 11 comments of Raphael A. P. Oliveira

@rpoleski Can I create a matplotlibrc file or do you know a better way to do it for all modules?

This DeprecationWarning also appeared in the automated tests: ``` DeprecationWarning: 'scipy.integrate.simps' is deprecated in favour of 'scipy.integrate.simpson' and will be removed in SciPy 1.14.0 ``` I found that `integrate.simpson` was...

Done! Based on the discussion in commit fe58801, I added a try-except block instead. - I used `except AttributeError` instead of only `except` to avoid Flake8(E722) warning - Small correction:...

@rpoleski I see that you started doing it in a specific branch. Currently, there are `import *` left only in \_\_init\_\_.py and mulensobjects/\_\_init\_\_.py? Should I keep using your branch then?

There is a FutureWarning in the function `_set_coords()` of `MulensData` class: "coords will be deprecated in future. There is no reason to tie this to a given dataset" Should this...

My only sugggestion to this new API is to replace source_number and similar words to source_flux or data_number or data_label, so it's not confused with having more than one source...

Removing the condition q > 1 from lines 751 and 1095 of the current modelparameters.py, similar caustics can be obtained with `q -> 1/q` and `alpha -> alpha +/- 180`,...

@rpoleski I can do that, if it's still useful

`interp2d` is used in pointlens.py when reading the table with values of elliptical integrals of the 3rd kind. In order to test changes without affecting the source code, I edited...

@rpoleski please check the changes in the last commit. Some lines to check the difference between the interpolations and to make the plot above are commented. The new function `RegularGridInterpolator`...