issues: 1157140667
This data as json
id | node_id | number | title | user | state | locked | assignee | milestone | comments | created_at | updated_at | closed_at | author_association | active_lock_reason | draft | pull_request | body | reactions | performed_via_github_app | state_reason | repo | type |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1157140667 | I_kwDOAMm_X85E-JC7 | 6317 | Handle scipy fitting errors in `xarray.curve_fit` | 11289391 | closed | 0 | 2 | 2022-03-02T12:38:04Z | 2023-06-16T03:15:08Z | 2023-06-16T03:15:08Z | CONTRIBUTOR | Is your feature request related to a problem?I'm trying to fit a bunch of exponential decays to a dataset of dimensions Describe the solution you'd likeI'm proposing adding a flag for and, if active, wrap Describe alternatives you've consideredAt the moment, I sidestep the issue like this: ```python fits = [] for experimental_index in timetraces.experimental_index: trace = traces.sel(experimental_index=experimental_index)
fits = xarray.concat(fits, dim="experimental_index", coords="all") ``` but that seems like a pretty ugly hack... Additional contextI would of course be happy to implement this! |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/6317/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
completed | 13221727 | issue |