Dear MEEP users, I have been trying to transmit a chirp signal in meep using the custom-src option. My custom function takes an argument as time (in meep units; I am using meep-time function for that) and returns a complex number. The function by itself works properly. But when I use it in custom-src i get an error saying: wrong type to apply 'x', x is some value generated by the function. e.g. wrong type to apply 1.4462414 + .59983638i. I think it has something to do with how the function output is passed to src-func( ) (under custom-src), but I am not able to figure it out. Please suggest as to what can be done. I have attached the .ctl file for your reference. It can be opened in wordpad.
Thank you, Shravan
step_freqp_4obj_chirp.ctl
Description: Binary data
_______________________________________________ meep-discuss mailing list [email protected] http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

