STELA can't handle complex valued inputs
Closed this issue · 3 comments
JanKirchhofTU commented
STELA seems to have problems handling complex values. For example,
running the cs_example in the example section of the documentation (cf. commit d513a8d)
leads to the following warning:
/STELA.py:238: ComplexWarning: Casting complex values to real discards the imaginary part
0
and the reconstruction is then useless.
JanKirchhofTU commented
Is this solved with b22d18f? @SebastianSemper?
SebastianSemper commented
Don't think so.
JanKirchhofTU <notifications@github.com> schrieb am Fr., 24. Apr. 2020,
17:11:
… Is this solved with b22d18f
<b22d18f>?
@SebastianSemper <https://github.com/SebastianSemper>?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#76 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAINSRRHMPN5JYJNKMLQGK3ROGT2RANCNFSM4IKUTAAQ>
.
JanKirchhofTU commented
The added conj() in Line 219 indicates the opposite and a quick test gave correct results with complex valued inputs. Closing.