Automatic serialization/deserialization of Numpy arrays

Open
#13 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
numpy, python
Domain
api, data

Research direction

Read the linked openflexure_microscope/utilities.py around line 25 to understand the existing NumPy array serialization, then inspect this project's specification and serialization paths. Done means the spec defines a sensible NumPy array representation and supports serialization and deserialization, with the treatment of other scientific data types left as a resolved discussion.

Written by the indexing model from the issue text.

Description

critical enhancement

See https://gitlab.com/openflexure/openflexure-microscope-server/-/blob/master/openflexure_microscope/utilities.py#L25

We should introduce into the spec common scientific data types, and sensible ways to (de)serialize them.

Start with Numpy arrays (as we've already done this, see link above).

Discussion: What other scientific data types might be useful?

Dominant language
Python
Stars
19
Forks
2
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from labthings/python-labthings

All issues in labthings/python-labthings

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.