theta function

Theta method