analysis_env function

Create a Temporary Analysis Environment