
OPEN SOURCE LICENSE AGREEMENT

Copyright © 1997 - 2002, European Synchrotron Radiation Facility
Copyright © 2003 - 2008, Synchrotron SOLEIL
Copyright © 2009 - 2012, European X-Ray Free-Electron Laser Facility GmbH
Copyright © 2009 - 2012, Brookhaven Science Associates, Brookhaven National Laboratory
Copyright © 2011 - 2012, Diamond Light Source Ltd

The "Synchrotron Radiation Workshop (SRW)" is distributed subject to the following license conditions:

SOFTWARE LICENSE AGREEMENT
	Software: SRW

1. The "Software", below, refers to the aforementioned SRW (in either source code, or binary form and accompanying documentation)

Each licensee is addressed as "you" or "Licensee."

2. The copyright holders shown above hereby grant Licensee a royalty-free nonexclusive license, subject to the limitations stated herein and U.S. Government license rights.

3. You may make a copy or copies of the Software for use within your organization, if you meet the following conditions:
	a. Copies in source code must include the copyright notice and this Software License Agreement.
	b. Copies in binary form must include the copyright notice and this Software License Agreement in the documentation and/or other materials provided with the copy.

4. You may modify a copy or copies of the Software or any portion of it, thus forming a work based on the Software, and distribute copies of such work outside your organization, if you meet all of the following conditions:
	a. Copies in source code must include the copyright notice and this Software License Agreement;
	b. Copies in binary form must include the copyright notice and this Software License Agreement in the documentation and/or other materials provided with the copy;
	c. Modified copies and works based on the Software must carry prominent notices stating that you changed specified portions of the Software.
	d. None of the names or variations of the names of the copyright holders (European Synchrotron Radiation Facility, Synchrotron SOLEIL, European X-Ray Free-Electron Laser Facility, Brookhaven National Laboratory and Diamond Light Source) may be used to endorse the software or products derived from the software without the express written permission of the relevant copyright holders.

5. Portions of the Software resulted from work developed under a U.S. Government Contract No. DE-AC02-98CH10886 and are subject to the following license:  the U.S. Government is granted for itself and others acting on its behalf a paid-up, nonexclusive, irrevocable worldwide license in this computer software and data to reproduce, prepare derivative works, and perform publicly and display publicly.

6. WARRANTY DISCLAIMER. THE SOFTWARE IS SUPPLIED BY THE COPYRIGHT HOLDERS "AS IS" WITHOUT WARRANTY OF ANY KIND. THE COPYRIGHT HOLDERS, THEIR THIRD PARTY LICENSORS, THE UNITED STATES, THE UNITED STATES DEPARTMENT OF  ENERGY, AND THEIR EMPLOYEES: (1) DISCLAIM ANY WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE OR NON-INFRINGEMENT, (2) DO NOT ASSUME ANY LEGAL LIABILITY OR RESPONSIBILITY FOR THE ACCURACY, COMPLETENESS, OR USEFULNESS OF THE SOFTWARE, (3) DO NOT REPRESENT THAT USE OF THE SOFTWARE WOULD NOT INFRINGE PRIVATELY OWNED RIGHTS, (4) DO NOT WARRANT THAT THE SOFTWARE WILL FUNCTION UNINTERRUPTED, THAT IT IS ERROR-FREE OR THAT ANY ERRORS WILL BE CORRECTED.

7. LIMITATION OF LIABILITY. IN NO EVENT SHALL THE COPYRIGHT HOLDERS, THEIR THIRD PARTY LICENSORS, THE UNITED STATES, THE UNITED STATES DEPARTMENT OF ENERGY, OR THEIR EMPLOYEES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, SPECIAL OR PUNITIVE DAMAGES OF ANY KIND OR NATURE RESULTING FROM EXERCISE OF THIS LICENSE AGREEMENT OR THE USE OF THE SOFTWARE.

END OF LICENSE
