def new_author(name=None, email=None, affiliation=None, url=None):
author = NotebookNode()<EOL>if name is not None:<EOL><INDENT>author.name = unicode(name)<EOL><DEDENT>if email is not None:<EOL><INDENT>author.email = unicode(email)<EOL><DEDENT>if affiliation is not None:<EOL><INDENT>author.affiliation = unicode(affiliation)<EOL><DEDENT>if url is not None:<EOL><INDENT>author.url = unicode(url)<EOL><DEDENT>return author<EOL>
Create a new author.