Ramanujan was the first to extensively study these Theta Function-like functions
References
Bellman, R. E. A Brief Introduction to Theta Functions. New York: Holt, Rinehart, and Winston, 1961.