DiamondLightSource / DiamondLightSource/adPython
Providing a numpy ndarray view onto a non-contiguous bit of memory
Aberta
- Linguagem predominante
- Python
- Estrelas
- 0
- Forks
- 4
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
We do a memcpy to get the numpy array int an NDArray, we should be using:
https://docs.scipy.org/doc/numpy/reference/c-api.array.html#c.PyArray_CopyInto
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Direção de pesquisa
Start by locating the memcpy that copies into the NumPy NDArray and compare it with NumPy's PyArray_CopyInto API documentation. Done means the non-contiguous-memory path uses that API instead of memcpy and preserves the intended ndarray contents; no file or test is named in the issue.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- numpy, python
- Domínio
- backend
- Tipo de issue
- Bug
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 25/100