Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
creating tuples
#1
Hello,

I need to create multidimensional stand-alone tuples, which is in other words arrays of arrays. If I need to give some example, let¨s say I need to create 3x9
tuples, which makes 27 as a single array. Each array must contain 8x8 matrices, which makes 64 as a single array. How can I do that?

Thank you...
Reply
#2
What values do these tuples contain ?
Reply
#3
(Jul-04-2021, 03:29 PM)Yoriz Wrote: What values do these tuples contain ?

Complex values
Reply
#4
Sorry but that means nothing to me.
Where does the input data come from, what does it look like?
what should the output data in tuples look like?
What have you tried so far?
Reply
#5
I responded as a mathematician. Let me elaborate a bit more then, I¨m not sure if it will be
helpful. I am generating a dictionary of 2-D Discrete Fourier Transform. The input will come
from 2-D phase shifting applied on the exponent. The output values will be complex values,
with real and imaginary parts.
Reply
#6
It sounds like you're computing the Fourier transform yourself, rather than using the facilities provided by, e.g. SciPy. Is there a reason for that?
Reply
#7
(Jul-04-2021, 03:49 PM)ndc85430 Wrote: It sounds like you're computing the Fourier transform yourself, rather than using the facilities provided by, e.g. SciPy. Is there a reason for that?

That is right. I want my dictionary to be fully controlled by me for the scientific purposes. In matlab,
it can be achieved simply by using the parenthesis ´{}´. How can I make it in python?
Reply
#8
Ok, it sounds data science related so I moved it to that part of the forum, it's beyond me but hopefully, someone that has knowledge in this can help you.
erdemath likes this post
Reply
#9
I myself figured it out. This thread can be deleted now.
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020