I am new to python, i will re-edit and make it clear :) thanks for investing your time.
I have two different lists with string values (as shown below):
A list with 1600 real numbers: ['-1,03E+01' '-1,26E+01' .......]
Another list with 1600 imaginary values: [ '-1,25E+01' '-1,02E+01' .... ]
These are directly imported from touchstone file. so, i do not see letter j for imaginary. i don't know y.
- First i have to change the type of the value from 'str' to float for further calculation.
- Then append them into a list as complex value like [[-1,03E+01 -1,25E+01 j] [-1,26E+01-1,02E+01j].......]