I'm having a few problems defining a Schecter function in python. Without going into too much detail I need to add a +0j factor for matplotlib to plot the function in real and imaginary space. I know that this is not what should be happening. After extensive debugging I am asking the community for help. I would like to see some answers and compare them to what I have done to see if I have caused the error or if their is some underlying problem with the quoted function (taken from Salim et al. 2007).
So my question is this: how would you write the following as a python function using valid python mathematical expressions: Michael Roberts | astrobox.io | University College London _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor