mzechmeister
mzechmeister
Indeed, I also thought about copying the session. No hurry here. It is just a low priority feature request.
I just missed again this feature. And I see I already posted.
The stack ``` .light_travel_time(targ, location=loc) ~/.local/lib/python2.7/site-packages/astropy/time/core.py(682)light_travel_time() -> gcrs_coo = itrs.transform_to(GCRS(obstime=self)) ~/.local/lib/python2.7/site-packages/astropy/coordinates/baseframe.py(934)transform_to() -> return trans(self, new_frame) ~/.local/lib/python2.7/site-packages/astropy/coordinates/transformations.py(1314)__call__() -> curr_coord = t(curr_coord, curr_toframe) ~/.local/lib/python2.7/site-packages/astropy/coordinates/transformations.py(914)__call__() -> return supcall(fromcoord, toframe) ~/.local/lib/python2.7/site-packages/astropy/coordinates/builtin_frames/intermediate_rotation_transforms.py(89)itrs_to_cirs() -> pmat =...
As noted in https://github.com/astropy/astropy/issues/9603#issuecomment-1014861407 it might be difficult to get barycentric correction working for astropy 2.
When dropping `ind`, then the histogram argument `weights` can be omitted completely, since all weights are one: https://github.com/mzechmeister/serval/blob/79826e1d1c552806d7832a391131c1f7cae25f9f/src/serval.py#L1835
Indeed, I also can get `nan`, e.g.: ```python >>> gls.prob(-10) nan ``` https://github.com/mzechmeister/GLS/blob/a1ee47b4779cb53bc998f99304644d83d36b56ba/python/gls.py#L651-L654 A `nan` can arise when you pass a positive value for `lnL` (here `Pn`) or not negative...
I cannot confirm this. I get the same result ```python >>> gls = ptpp.Gls((time, flux, error)) >>> gls.stats(gls.pmax) {'FAP': 0.2661578990397514, 'Pn': 0.09955558972770197, 'Prob': 0.006182440735281105} >>> gls = ptpp.Gls((time, flux, error),...
Can you mail me the input command and spectrum list?
For the input you send me, this problem did not occur. I also see you running an older version.
A quick hack in [plotly.min.js](https://raw.githubusercontent.com/plotly/plotly.py/master/plotly/package_data/plotly.min.js) is to force to pan mode on middle button (e.buttons==4). Modify ```javascript :o="pan"),St.minDrag="lasso" ``` to ```javascript :o="pan"),4==e.buttons && (o="pan"),St.minDrag="lasso" ``` If zooming is active, the...