THORCAM
END USER LICENSE AGREEMENT

BY DOWNLOADING, INSTALLING, COPYING OR USING THORLABS THORCAM SOFTWARE, THE USER AGREES TO THE TERMS AND CONDITIONS OF THIS END USER LICENSE AGREEMENT.

This ThorCam End-User license Agreement ("EULA") is a legal agreement between Thorlabs, Inc. and its subsidiaries ("Thorlabs") and any user of the ThorCam image acquisition software supplied by Thorlabs ("ThorCam").  This EULA governs your use of the Thorlabs ThorCam and associated media and documentation, made available by Thorlabs for use with Thorlabs Scientific Imaging Cameras ("Thorlabs Equipment") or pre-installed on any Thorlabs Equipment.

1.	License.  Thorlabs hereby grants you the following rights:

a. Use. The non-exclusive, limited right and license (without right to sublicense) to use ThorCam solely in connection with your use and operation of Thorlabs Equipment, and not for resale, transfer or distribution except as expressly permitted herein.

b. Storage.  The right to copy ThorCam into the local memory or storage device of the Thorlabs Equipment or associated computer equipment.

c. Copying.  The right to make archival or back-up copies of ThorCam to be used only for back-up purposes.

2.	Reservation of Rights.  This License is not intended to constitute a transfer by Thorlabs of its title to ThorCam, and Thorlabs retains all right, title and interests in and to ThorCam and all rights to patents, copyrights, trademarks, trade secrets, functionality, business methods and other intellectual property rights pertaining to ThorCam.  Thorlabs reserves all rights not expressly granted to you in this EULA.  No identifying marks, copyright or proprietary right notices may be deleted from any copy of ThorCam furnished to you.

3.	Freeware. ThorCam uses certain components of software programs listed on Appendix A hereto ("Freeware"), and use of ThorCam is subject to the terms, conditions, restrictions and notices contained in the license agreement applicable to the Freeware, which are incorporated herein by this reference.

4.	Updated Software Product. This EULA applies to updates or supplements to the original Software Product provided by Thorlabs unless Thorlabs provides other terms along with the update or supplement. In case of a conflict between such terms, the other terms will prevail.

5.	Transfer.  You may transfer ThorCam to another end user in connection with a transfer of the associated Thorlabs Equipment. You must provide to such other end user a copy of this EULA and all media and printed materials associated with ThorCam.  Acceptance of a transfer of a Software Product by such other end user constitutes agreement to this EULA.  Upon transfer of ThorCam, your license is automatically terminated.  You may not rent, lease or lend ThorCam or use ThorCam for commercial timesharing or bureau use.

6.	Limitation on Modification and Reverse Engineering.  You may not modify, reverse engineer, decompile, or disassemble ThorCam, except and only to the extent that the right to do so is mandated under applicable law; provided that this limitation does not apply to any Freeware included in ThorCam.

7.	Termination.  This EULA is effective upon your use of ThorCam.  This EULA will also terminate if you fail to comply with any term or condition of this EULA.

8.	Limited Warranty.  ThorCam, upon download or at the time furnished by Thorlabs, will conform to the system specifications furnished by Thorlabs with such Software Product.

9. 	DISCLAIMER OF ADDITIONAL WARRANTIES. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, OTHER THAN THE LIMITED WARRANTY SET FORTH ABOVE, Thorlabs PROVIDES THORCAM “AS IS” AND WITH ALL FAULTS, AND HEREBY DISCLAIMS ALL OTHER WARRANTIES, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF TITLE AND NON-INFRINGEMENT, ANY IMPLIED WARRANTIES OR CONDITIONS OF MERCHANTABILITY, OF FITNESS FOR A PARTICULAR PURPOSE, AND OF LACK OF VIRUSES. Some states/jurisdictions do not allow exclusion of implied warranties or limitations on the duration of implied warranties, so the above disclaimer may not apply to you in its entirety.

10	Limitation of Liability. The entire liability of Thorlabs by reason of supplying ThorCam or under any provision of this EULA, and your exclusive remedy for all of the foregoing, shall be limited to Thorlabs, at its option, providing to the original purchaser a  replacement copy of ThorCam that conforms to the Limited Warranty above or refunding to the original purchaser the amount actually paid separately for ThorCam.  TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT SHALL Thorlabs BE LIABLE FOR ANY SPECIAL, INCIDENTAL, INDIRECT, PUNITIVE OR CONSEQUENTIAL DAMAGES WHATSOEVER (INCLUDING, BUT NOT LIMITED TO, DAMAGES FOR LOSS OF PROFITS OR CONFIDENTIAL OR OTHER INFORMATION, FOR BUSINESS INTERRUPTION, FOR PERSONAL INJURY, FOR LOSS OF PRIVACY ARISING OUT OF OR IN ANY WAY RELATED TO THE USE OF OR INABILITY TO USE THORCAM, OR OTHERWISE IN CONNECTION WITH ANY PROVISION OF THIS EULA, EVEN IF Thorlabs HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES AND EVEN IF THE REMEDY FAILS OF ITS ESSENTIAL PURPOSE. Some states/jurisdictions do not allow the exclusion or limitation of incidental or consequential damages, so the above limitation or exclusion may not apply to you.

11.	Compliance with Export Laws. You agree to comply with all laws and regulations of the United States and other countries ("Export Laws") to assure that ThorCam is not (1) exported, directly or indirectly, in violation of Export Laws, or (2) used for any purpose prohibited by Export Laws, including, without limitation, nuclear, chemical, or biological weapons proliferation.

12.	Applicable Law.  This EULA is governed by the laws of the State of New Jersey, U.S.A.

13.	Entire Agreement. This EULA (including any addendum or amendment to this EULA which is included with the Thorlabs Product) constitutes the entire agreement between you and Thorlabs relating to ThorCam and supersedes all prior or contemporaneous oral or written communications, proposals and representations with respect to ThorCam or any other subject matter covered by this EULA.

APPENDIX A
Licenses/Software used in ThorCam software:
WindowsAPICodePack-Core and WindowsAPICodePack-Shell
https://github.com/aybe/Windows-API-Code-Pack-1.1/blob/master/LICENCE

LibTiff	
Copyright (c) 2008-2018, Bit Miracle
https://github.com/BitMiracle/libtiff.net/blob/master/license.txt

Python
PSF License Agreement
https://docs.python.org/3/license.html 

NumPy
Copyright © 2005-2018 NumPy Developers
http://www.numpy.org/license.html

THORLABS SCIENTIFIC IMAGING SDK

LICENSE AGREEMENT

BY DOWNLOADING, INSTALLING, COPYING OR USING THE THORLABS SCIENTIIFIC IMAGING SDK SOFTWARE PRODUCT, CUSTOMER AGREES TO THE TERMS AND CONDITIONS OF THIS LICENSE AGREEMENT.

This license agreement ("License") is a legal agreement between Thorlabs, Inc. and each of its subsidiaries ("Thorlabs") and any person or entity acquiring or using Thorlabs Scientific Imaging SDK software ("Customer").  This License governs Customer's use of Thorlabs Scientific Imaging SDK ("TSI SDK"), and associated media and documentation, made available by Thorlabs for use with certain Thorlabs Scientific Imaging cameras ("Thorlabs Equipment").

1.	License.  Thorlabs hereby grants Customer the following rights:

a. Use. The non-exclusive, limited right and license (without right to sublicense) to use TSI SDK solely to develop and/or modify Customer's proprietary software applications ("Customer Software") that Customer uses internally in connection with the operation of the Thorlabs Equipment or licenses to third party purchasers of such of Customer's products that incorporate the Thorlabs Equipment.  Customer may modify or create derivative works from TSI SDK with your Customer Software and distribute it only as part of your Customer Software in object code form.  TSI SDK, as modified, shall be used solely as otherwise permitted hereunder and shall not be distributed, sublicensed, or used by Customer or any third party in competition with Thorlabs or with any product of Thorlabs.

b. Storage.  The right to copy TSI SDK into the local memory or storage device of the Thorlabs Equipment or associated processor.

c. Copying.  The right to make archival or back-up copies of TSI SDK  to be used only for back-up purposes.

2.	Reservation of Rights.  This License is not intended to constitute a transfer by Thorlabs of its title to the TSI SDK, and Thorlabs retains all right, title and interests in and to the TSI SDK and all rights to patents, copyrights, trademarks, trade secrets, functionality, business methods and other intellectual property rights pertaining to the TSI SDK.  Thorlabs reserves all rights not expressly granted to Customer in this License.  No identifying marks, copyright or proprietary right notices may be deleted from any copy of the TSI SDK furnished to Customer.

3.	Updated Software Product. This License applies to updates or supplements to the original TSI SDK provided by Thorlabs unless Thorlabs provides other terms along with the update or supplement. In case of a conflict between such terms, the other terms will prevail.

4.	Transfer.   Customer may not rent, lease or lend TSI SDK or use TSI SDK for commercial timesharing or bureau use.  Customer may not sublicense, assign or transfer this License TSI SDK except as expressly provided in this License.

5.	Limitation on Reverse Engineering.  Customer may not reverse engineer, decompile, or disassemble TSI SDK, except and only to the extent that the right to do so is mandated under applicable law; provided that this limitation does not apply to any Freeware included in TSI SDK.  Customer may not integrate or use TSI SDK in any manner with Freeware that could require disclosure, distribution or licensing of all or any part of TSI SDK in source code form for the purpose of making derivative works.

6.	Indemnification.  Customer agrees to indemnify, hold harmless, and defend Thorlabs from and against any claims or lawsuits, including attorneys' fees, that arise or result from the use and distribution of Customer Software that contains or is based upon any portion of TSI  SDK, provided that Thorlabs gives Customer prompt written notice of any such claim, tenders to Customer the defense or settlement of such a claim at Customer's expense and cooperates with Customer, at Customer expense, in defending or settling such claim.

7.	Termination.  This License is effective upon Customer's use of TSI SDK.  This License will terminate if Customer fails to comply with any term or condition of this License.

8.	Limited Warranty.  TSI SDK, at the time furnished by Thorlabs, will conform to the system specifications furnished by Thorlabs with TSI SDK.  The Limited Warranty for the Thorlabs Equipment is set forth in the Thorlabs General Terms & Conditions of Sale found at www.thorlabs.com under the pull tab for “Services.”  Nothing herein should be construed as constituting an additional warranty with respect to the Thorlabs Equipment.

9. 	DISCLAIMER OF ADDITIONAL WARRANTIES. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, OTHER THAN THE LIMITED WARRANTY SET FORTH ABOVE, Thorlabs PROVIDES TSI SDK  “AS IS” AND WITH ALL FAULTS, AND HEREBY DISCLAIMS ALL OTHER WARRANTIES, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF TITLE AND NON-INFRINGEMENT, ANY IMPLIED WARRANTIES OR CONDITIONS OF MERCHANTABILITY, OF FITNESS FOR A PARTICULAR PURPOSE, AND OF LACK OF VIRUSES.  Some states/jurisdictions do not allow exclusion of implied warranties or limitations on the duration of implied warranties, so the above disclaimer may not apply to you in its entirety.

10.	Limitation of Liability. The entire liability of Thorlabs by reason of supplying TSI SDK or under any provision of this License, and Customer's exclusive remedy for all of the foregoing, shall be limited to Thorlabs, at its option, providing the original Customer with a replacement copy of TSI SDK that conforms to the Limited Warranty above or  refunding to the original Customer the amount actually paid by Customer separately for TSI SDK.  TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT SHALL Thorlabs BE LIABLE FOR ANY SPECIAL, INCIDENTAL, INDIRECT, PUNITIVE OR CONSEQUENTIAL DAMAGES WHATSOEVER (INCLUDING, BUT NOT LIMITED TO, DAMAGES FOR LOSS OF PROFITS OR CONFIDENTIAL OR OTHER INFORMATION, FOR BUSINESS INTERRUPTION, FOR PERSONAL INJURY, FOR LOSS OF PRIVACY ARISING OUT OF OR IN ANY WAY RELATED TO THE USE OF OR INABILITY TO USE TSI SDK , OR OTHERWISE IN CONNECTION WITH ANY PROVISION OF THIS LICENSE, EVEN IF Thorlabs HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES AND EVEN IF THE REMEDY FAILS OF ITS ESSENTIAL PURPOSE.  Some states/jurisdictions do not allow the exclusion or limitation of incidental or consequential damages, so the above limitation or exclusion may not apply to Customer.

11.	Compliance with Export Laws.   Customer agrees to comply with all laws and regulations of the United States and other countries ("Export Laws") to assure that TSI SDK is not (1) exported, directly or indirectly, in violation of Export Laws, or (2) used for any purpose prohibited by Export Laws, including, without limitation, nuclear, chemical, or biological weapons proliferation.

12.	Applicable Law.  This License is governed by the laws of the State of New Jersey, U.S.A.

13.	Entire Agreement. This License constitutes the entire agreement between Customer and Thorlabs relating to TSI SDK and supersedes all prior or contemporaneous oral or written communications, proposals and representations with respect to TSI SDK or any other subject matter covered by this License.