ansys / ansys/pyoptislang

Convert lists of values to np.array()

Open
#121 2 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
24
Forks
5
Avg merge
3d 14h
Merged PRs (30d)
12

Description

### 📝 Description of the feature

OptiSLang server sends:
- [ ] `vector`, `matrix` as data type `list` or `str`
- convert this to `np.array()` for user convenience
- [ ] xydata, signal as `dict` (e. g. {'channels': List[float] ..)
- create classes `XYdata` and `Signal` to store these

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. Start by locating the code that parses OptiSLang server responses and the existing handling for vector, matrix, xydata, and signal values. Done means list or string vectors and matrices are exposed as NumPy arrays, with defined XYdata and Signal classes for the dictionary responses, plus coverage for these cases.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.