My idea is based on deep technology that I have been working on at Stanford. Is this the right class, and how is the ownership determined?

This is the right class to take. See the earlier question on IP ownership. Please reach out to the teaching team if you have additional questions.