I have this line of codes in python:
Rad[i] = {'j': JY[:, :, 0], 'h': JY[:, :, 0] + 1j * JY[:, :,2]}
with the output of Rad[i] as:
{'j': array([[0.04816103]]), 'h': array([[0.04816103-5.16810074j]])}
so, I want to have output as :
{'j': '0.04816103', 'h': '0.04816103-5.16810074j'}
How could I do that?
thanks for all