viper-1.0.0/AUTHORS0000644000000000000000000000124511667652155012053 0ustar 00000000000000Viper is written and maintained by: Ola Skavhaug http://www.simula.no/~skavhaug Contributors in alphabetical order: Martin Sandve Alnæs Rolv Erlend Bredesen Joachim Berdal Haga Dag Lindbo Glenn Terje Lines Fred Lionetti Anders Logg Johannes Ring Garth N. Wells Åsmund Ødegård Missing credits? Tell us and we will fix it. Send an email to viper-dev@fenics.org. viper-1.0.0/COPYING0000644000000000000000000010451311667652155012040 0ustar 00000000000000 GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 Copyright (C) 2007 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The GNU General Public License is a free, copyleft license for software and other kinds of works. The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things. To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others. For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it. For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions. Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users. Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free. The precise terms and conditions for copying, distribution and modification follow. TERMS AND CONDITIONS 0. Definitions. "This License" refers to version 3 of the GNU General Public License. "Copyright" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks. "The Program" refers to any copyrightable work licensed under this License. Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals or organizations. To "modify" a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a "modified version" of the earlier work or a work "based on" the earlier work. A "covered work" means either the unmodified Program or a work based on the Program. To "propagate" a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well. To "convey" a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying. An interactive user interface displays "Appropriate Legal Notices" to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion. 1. Source Code. The "source code" for a work means the preferred form of the work for making modifications to it. "Object code" means any non-source form of a work. A "Standard Interface" means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language. The "System Libraries" of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A "Major Component", in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it. The "Corresponding Source" for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work. The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source. The Corresponding Source for a work in source code form is that same work. 2. Basic Permissions. All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law. You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you. Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary. 3. Protecting Users' Legal Rights From Anti-Circumvention Law. No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures. When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures. 4. Conveying Verbatim Copies. You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program. You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee. 5. Conveying Modified Source Versions. You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions: a) The work must carry prominent notices stating that you modified it, and giving a relevant date. b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to "keep intact all notices". c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it. d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so. A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an "aggregate" if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate. 6. Conveying Non-Source Forms. You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways: a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange. b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge. c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b. d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements. e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d. A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work. A "User Product" is either (1) a "consumer product", which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, "normally used" refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product. "Installation Information" for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made. If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM). The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network. Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying. 7. Additional Terms. "Additional permissions" are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions. When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission. Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms: a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or d) Limiting the use for publicity purposes of names of licensors or authors of the material; or e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors. All other non-permissive additional terms are considered "further restrictions" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying. If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms. Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way. 8. Termination. You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11). However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation. Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice. Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10. 9. Acceptance Not Required for Having Copies. You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so. 10. Automatic Licensing of Downstream Recipients. Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License. An "entity transaction" is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts. You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it. 11. Patents. A "contributor" is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's "contributor version". A contributor's "essential patent claims" are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, "control" includes the right to grant patent sublicenses in a manner consistent with the requirements of this License. Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version. In the following three paragraphs, a "patent license" is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To "grant" such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party. If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. "Knowingly relying" means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid. If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it. A patent license is "discriminatory" if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007. Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law. 12. No Surrender of Others' Freedom. If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program. 13. Use with the GNU Affero General Public License. Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such. 14. Revised Versions of this License. The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation. If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program. Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version. 15. Disclaimer of Warranty. THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 16. Limitation of Liability. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 17. Interpretation of Sections 15 and 16. If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . Also add information on how to contact you by electronic and paper mail. If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode: Copyright (C) This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, your program's commands might be different; for a GUI interface, you would use an "about box". You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see . The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read . viper-1.0.0/COPYING.LESSER0000644000000000000000000001672711667652155013045 0ustar 00000000000000 GNU LESSER GENERAL PUBLIC LICENSE Version 3, 29 June 2007 Copyright (C) 2007 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. This version of the GNU Lesser General Public License incorporates the terms and conditions of version 3 of the GNU General Public License, supplemented by the additional permissions listed below. 0. Additional Definitions. As used herein, "this License" refers to version 3 of the GNU Lesser General Public License, and the "GNU GPL" refers to version 3 of the GNU General Public License. "The Library" refers to a covered work governed by this License, other than an Application or a Combined Work as defined below. An "Application" is any work that makes use of an interface provided by the Library, but which is not otherwise based on the Library. Defining a subclass of a class defined by the Library is deemed a mode of using an interface provided by the Library. A "Combined Work" is a work produced by combining or linking an Application with the Library. The particular version of the Library with which the Combined Work was made is also called the "Linked Version". The "Minimal Corresponding Source" for a Combined Work means the Corresponding Source for the Combined Work, excluding any source code for portions of the Combined Work that, considered in isolation, are based on the Application, and not on the Linked Version. The "Corresponding Application Code" for a Combined Work means the object code and/or source code for the Application, including any data and utility programs needed for reproducing the Combined Work from the Application, but excluding the System Libraries of the Combined Work. 1. Exception to Section 3 of the GNU GPL. You may convey a covered work under sections 3 and 4 of this License without being bound by section 3 of the GNU GPL. 2. Conveying Modified Versions. If you modify a copy of the Library, and, in your modifications, a facility refers to a function or data to be supplied by an Application that uses the facility (other than as an argument passed when the facility is invoked), then you may convey a copy of the modified version: a) under this License, provided that you make a good faith effort to ensure that, in the event an Application does not supply the function or data, the facility still operates, and performs whatever part of its purpose remains meaningful, or b) under the GNU GPL, with none of the additional permissions of this License applicable to that copy. 3. Object Code Incorporating Material from Library Header Files. The object code form of an Application may incorporate material from a header file that is part of the Library. You may convey such object code under terms of your choice, provided that, if the incorporated material is not limited to numerical parameters, data structure layouts and accessors, or small macros, inline functions and templates (ten or fewer lines in length), you do both of the following: a) Give prominent notice with each copy of the object code that the Library is used in it and that the Library and its use are covered by this License. b) Accompany the object code with a copy of the GNU GPL and this license document. 4. Combined Works. You may convey a Combined Work under terms of your choice that, taken together, effectively do not restrict modification of the portions of the Library contained in the Combined Work and reverse engineering for debugging such modifications, if you also do each of the following: a) Give prominent notice with each copy of the Combined Work that the Library is used in it and that the Library and its use are covered by this License. b) Accompany the Combined Work with a copy of the GNU GPL and this license document. c) For a Combined Work that displays copyright notices during execution, include the copyright notice for the Library among these notices, as well as a reference directing the user to the copies of the GNU GPL and this license document. d) Do one of the following: 0) Convey the Minimal Corresponding Source under the terms of this License, and the Corresponding Application Code in a form suitable for, and under terms that permit, the user to recombine or relink the Application with a modified version of the Linked Version to produce a modified Combined Work, in the manner specified by section 6 of the GNU GPL for conveying Corresponding Source. 1) Use a suitable shared library mechanism for linking with the Library. A suitable mechanism is one that (a) uses at run time a copy of the Library already present on the user's computer system, and (b) will operate properly with a modified version of the Library that is interface-compatible with the Linked Version. e) Provide Installation Information, but only if you would otherwise be required to provide such information under section 6 of the GNU GPL, and only to the extent that such information is necessary to install and execute a modified version of the Combined Work produced by recombining or relinking the Application with a modified version of the Linked Version. (If you use option 4d0, the Installation Information must accompany the Minimal Corresponding Source and Corresponding Application Code. If you use option 4d1, you must provide the Installation Information in the manner specified by section 6 of the GNU GPL for conveying Corresponding Source.) 5. Combined Libraries. You may place library facilities that are a work based on the Library side by side in a single library together with other library facilities that are not Applications and are not covered by this License, and convey such a combined library under terms of your choice, if you do both of the following: a) Accompany the combined library with a copy of the same work based on the Library, uncombined with any other library facilities, conveyed under the terms of this License. b) Give prominent notice with the combined library that part of it is a work based on the Library, and explaining where to find the accompanying uncombined form of the same work. 6. Revised Versions of the GNU Lesser General Public License. The Free Software Foundation may publish revised and/or new versions of the GNU Lesser General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Library as you received it specifies that a certain numbered version of the GNU Lesser General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that published version or of any later version published by the Free Software Foundation. If the Library as you received it does not specify a version number of the GNU Lesser General Public License, you may choose any version of the GNU Lesser General Public License ever published by the Free Software Foundation. If the Library as you received it specifies that a proxy can decide whether future versions of the GNU Lesser General Public License shall apply, that proxy's public statement of acceptance of any version is permanent authorization for you to choose that version for the Library. viper-1.0.0/ChangeLog0000644000000000000000000000447211667652155012562 0ustar 000000000000001.0.0 [2011-12-07] - No changes since 1.0-beta, only updating the version number 1.0-beta [2011-08-11] - Change license from LGPL v2.1 to LGPL v3 or later - Fix bug for update of 1D plots 0.4.7 [2011-02-23] - Small cleanup - Tiling of multiple plot windows - Handle wireframe display in wireframe mode - Check which plot types are supported (for DOLFIN plot) - Improve vector scalarbar - Fix axes offset (when using axes=True) 0.4.6 [2010-07-01] - Fixes for 1D plots - Fixes for lut files - Plot MeshFunctions on facets 0.4.5 [2009-11-12] - Dolfin compatibility release 0.4.4 [2009-09-28] - Minor updates to track DOLFIN 0.4.3 [2009-04-08] - New viper application plotting dolfin files directly - Improve video codec - Added support for FunctionPlotData (scalar, vector, and displacement) - Added support for plotting vector functions at arbitrary points - Clean up some code logic - Fix viper_dolfin such that it works again - Add projection in viper_dolfin. Now plot.py in dolfin can be much simpler 0.4.2 [2008-01-12] - Check coordinates when updating meshfunctions - Various small fixes to stay in tune with DOLFIN 0.4.1 [2008-11-20] - Add option to specify data type in viper - Added xml-output (dolfin meshfunction format) - Fix save_plot in viper_dolfin 0.4.0 [2008-11-14] - Added more demos - Make rescale=True default behaviour in DOLFIN plotter - Add arguments add_cell_labels and add_point_labels to show mesh numbering - Added man-page (thanks to Johannes Ring) - Added cutplane (thanks to Johan Hake) - Added argument to viper to specify color lookup table - Added support for plotting dolfin::MeshFunctionReal - Made wxwidget version of Viper - Added title to plot windows - Plot range bug fix - Fixed stand-alone plotting, now able to plot meshes (as numpy arrays) directly - Update scalar coloring when in rescale mode - Reset camera when in rescale mode - Fixed a small bug (rescale not defined). Make warpscalar default behaviour - Added rescale. - Added warpscalar flag to plot (deaults to true) - Changed data installation path on Windows. - Added support for plotting numpy arrays directly, using two arrays for coordinates and elements. 0.3.0 [2008-04-30] - Bug fix in displacement plotter - Added vmin/vmax keyword arguments to plotter to sent color map range - Added 2d plotting viper-1.0.0/README0000644000000000000000000000234611667652155011666 0ustar 00000000000000Viper is a simple mesh plotter and run--time visualization module. Viper is part of the FEniCS project. Originally, Viper was a simple hack to make run-time visualization for PyCC. The aim of Viper is efficiency and simplicity. Therefore, only default filters and modules are available, and only very limited configuration is possible. Recently, Viper has been expanded to provide plotting for Dolfin. The extension is available through the viper_dolfin sub module, or directly through DOLFIN's Python interface: >>> from dolfin import * >>> plot(u) # u must be a Dolfin::Mesh, a Dolfin::Function or Dolfin::MeshFunction<> License ------- Viper is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Viper is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with Viper. If not, see . viper-1.0.0/doc/0000755000000000000000000000000011667652155011546 5ustar 00000000000000viper-1.0.0/misc/0000755000000000000000000000000011667652155011734 5ustar 00000000000000viper-1.0.0/release.conf0000644000000000000000000000026111667652155013267 0ustar 00000000000000# Configuration file for fenics-release PACKAGE="viper" LP_PACKAGE="fenics-viper" FILES="ChangeLog setup.py src/viper/__init__.py src/viper/viper.py src/viper/viper_dolfin.py" viper-1.0.0/setup.py0000644000000000000000000000221311667652155012511 0ustar 00000000000000from distutils.core import setup from distutils import sysconfig import sys, os, glob from os.path import join, split import platform scripts = [join("src", "bin", "viper")] if platform.system() == "Windows" or "bdist_wininst" in sys.argv: # In the Windows command prompt we can't execute Python scripts # without a .py extension. A solution is to create batch files # that runs the different scripts. batch_files = [] for script in scripts: batch_file = script + ".bat" f = open(batch_file, "w") f.write('python "%%~dp0\%s" %%*\n' % split(script)[1]) f.close() batch_files.append(batch_file) scripts.extend(batch_files) setup(name='viper', version='1.0.0', description='Simple vtk based visualization software', author='Ola Skavhaug et al', author_email='skavhaug@simula.no', url='http://www.fenicsproject.org', packages=['viper'], package_dir={'viper': join("src", "viper")}, scripts=scripts, package_data={'viper': [join("data", "*.lut")]}, data_files=[(join("share", "man", "man1"), [join("doc", "man", "man1", "viper.1.gz")])] ) viper-1.0.0/src/0000755000000000000000000000000011667652155011570 5ustar 00000000000000viper-1.0.0/doc/man/0000755000000000000000000000000011667652155012321 5ustar 00000000000000viper-1.0.0/doc/manual/0000755000000000000000000000000011667652155013023 5ustar 00000000000000viper-1.0.0/doc/man/man1/0000755000000000000000000000000011667652155013155 5ustar 00000000000000viper-1.0.0/doc/man/man1/viper.1.gz0000644000000000000000000000223211667652155015002 0ustar 00000000000000MVn6}^}}I}f8vֱ6hFTy~}|I6E`zQ󲴶8?l6JPչh  `KF }iW իbR6 I~V%2ygGac# viper-1.0.0/doc/manual/Makefile0000644000000000000000000000061711667652155014467 0ustar 00000000000000FILENAME=viper-user-manual all: latex $(FILENAME).tex makeindex $(FILENAME) latex $(FILENAME) dvips -P pdf -o $(FILENAME).ps $(FILENAME).dvi ps2pdf $(FILENAME).ps $(FILENAME).pdf clean: rm -f $(FILENAME).aux rm -f $(FILENAME).dvi rm -f $(FILENAME).idx rm -f $(FILENAME).ilg rm -f $(FILENAME).ind rm -f $(FILENAME).log rm -f $(FILENAME).out rm -f $(FILENAME).ps rm -f $(FILENAME).toc viper-1.0.0/doc/manual/chapters/0000755000000000000000000000000011667652155014634 5ustar 00000000000000viper-1.0.0/doc/manual/fenicsmanual.cls0000644000000000000000000000651611667652155016203 0ustar 00000000000000% Copyright (C) 2005 Anders Logg. % Licensed under the GNU GPL Version 2. % % First added: 2004-09-03 % Last changed: 2007-01-30 % % LaTeX document class for FEniCS manuals. %--- Set up class ---- \ProvidesClass{fenicsmanual}[2005/09/03 FEniCS manual] \NeedsTeXFormat{LaTeX2e} \LoadClass[12pt,twoside]{book} %--- Load packages --- \RequirePackage{graphicx} \RequirePackage{psfrag} \RequirePackage{fancyhdr} \RequirePackage{fancybox} \RequirePackage{fancyvrb} \RequirePackage{sectsty} \RequirePackage{amsmath} \RequirePackage{amssymb} \RequirePackage{makeidx} \RequirePackage{url} \RequirePackage{here} \RequirePackage[latin1]{inputenc} \RequirePackage[colorlinks]{hyperref} \RequirePackage[small]{caption} %--- Misc options --- \setlength{\parindent}{0pt} \setlength{\parskip}{12pt} \allsectionsfont{\sffamily} \makeindex %--- Remove header and footer from blank pages --- \let\origdoublepage\cleardoublepage \newcommand{\clearemptydoublepage}{% \clearpage {\pagestyle{empty}\origdoublepage}% } \let\cleardoublepage\clearemptydoublepage %--- Print index at end of document --- \AtEndDocument{\cleardoublepage\printindex} %--- Variables --- \newcommand{\@fenicstitle}{} \newcommand{\fenicstitle}[1]{\renewcommand{\@fenicstitle}{#1}} \newcommand{\@fenicsauthor}{} \newcommand{\fenicsauthor}[1]{\renewcommand{\@fenicsauthor}{#1}} \newcommand{\@fenicsimage}{\vspace{8cm}} \newcommand{\fenicsimage}[1]{\renewcommand{\@fenicsimage}{ \begin{center} \includegraphics[height=8cm]{#1} \end{center}}} \newcommand{\@fenicspackage}{} \newcommand{\@fenicspackagett}{} \newcommand{\fenicspackage}[2]{\renewcommand{\@fenicspackage}{#1}\renewcommand{\@fenicspackagett}{#2}} \newcommand{\package}{\@fenicspackage} \newcommand{\packagett}{\@fenicspackagett} %--- Commands --- \renewcommand{\maketitle}{ \lhead{\textsf{\textbf{\@fenicstitle}}} \rhead{\textsf{\@fenicsauthor}} \pagestyle{fancy} \renewcommand{\footrulewidth}{2pt} \renewcommand{\headrulewidth}{2pt} \thispagestyle{empty} \Large\textsf{\textbf{\@fenicstitle}} \\ \vspace{-0.5cm} \hrule height 2pt \hfill\large\textsf{\today} \vspace{3cm} \@fenicsimage \vfill\large\textsf{\textbf{\@fenicsauthor}} \\ \hrule height 2pt \hfill\large\texttt{www.fenics.org} \newpage \null\vfill \normalsize Visit \texttt{http://www.fenics.org/} for the latest version of this manual. \\ Send comments and suggestions to \texttt{\@fenicspackagett{}-dev@fenics.org}. \thispagestyle{empty} \cleardoublepage \tableofcontents} \newcommand{\fenics}{\textbf{\textsf{\normalsize{FE}\Large{ni}\normalsize{CS}}}} \newcommand{\dolfin}{\textbf{\textsf{DOLFIN}}} \newcommand{\pydolfin}{\textbf{\textsf{PyDOLFIN}}} \newcommand{\ffc}{\textbf{\textsf{FFC}}} \newcommand{\fiat}{\textbf{\textsf{FIAT}}} \newcommand{\fixme}[1]{\ \\ \begin{tabular}{||p{\textwidth}||}\hline\rm\textbf{FIXME:}\rm #1 \\ \hline\end{tabular} \\} \newcommand{\devnote}[1]{$\blacktriangleright$ \emph{Developer's note:} #1} %--- Environments --- \DefineVerbatimEnvironment{code}{Verbatim}{frame=single,rulecolor=\color{blue}} \DefineVerbatimEnvironment{macrocode}{Verbatim}{commandchars=\\\{\},frame=single,rulecolor=\color{blue}} %--- Macros --- \newcommand{\dx}{\, \mathrm{d}x} \newcommand{\dX}{\, \mathrm{d}X} \newcommand{\ds}{\, \mathrm{d}s} \newcommand{\dS}{\, \mathrm{d}S} \newcommand{\R}{\mathbb{R}} viper-1.0.0/doc/manual/viper-user-manual.pdf0000644000000000000000000033051011667652155017074 0ustar 00000000000000%PDF-1.4 %쏢 13 0 obj <> stream x}RMo1 W䘑4v۹"q)Btz@ݢvvU*=NvvRć0///}SΝ{inݽe9A"B)~vUcR=;1|6- × &D #)e&Are\\›]Rj fv6a!0P⩚b>ufwƪɩ+"PT^;wLSxFҩB.$j6[)i֬YQV)e!71T$8T2u V䡃&JoT?6GoY B-֖p޼I9Nb4@^Zopf*:?dOԏRԳ]ԶПE?a6iq׃OWy'핽p?q0 $/lendstream endobj 14 0 obj 440 endobj 25 0 obj <> stream x}Sr@ WRឮ2qTI8i2)2%{bGI0=,\-=EF);:kVoRay"WW 0A!f[a#OW+T\ɞ =Mصٰ}֒5b,AHg_ B#P?k A M$Nkθ4Ϟ66Im9`Bٜ\d  [bErKdNDtI&yi nߊy2A[kix'# /mL-y뻐:0 ):* Ng0ǾFKQS@cS.gb>K1r;K@GYڼy,~n ͎ZpȟI}n1 f\2u ||ri:͂(4_>_rw妘x|eb.!fDM3-endstream endobj 26 0 obj 488 endobj 32 0 obj <> stream xV;s1 Wl+G 0 @Ȑ$ ?&$ ʲ$,-pk}J>s̭[mGrYɝbrg 3JFwe"Rv_z{.UQ#@WfwLa(\ݙ:k%%?8 KrыKUA8WETNM%DB{[NMM &cJ cbV#T'3 Iu }*s?mC-!. '9ds@"XzY@H JY;PzQ\{Ql)`+MqًK!2J5_ /"&`JH&׋ޠRe㶫q{KJLzj D7,IAS/E}ЧR>GoO=Zm`'N'M0pzȥrjU&ź=g'S[N@PcRQPN.JS ũM)<|C2CxS0=yv5دy<9VI>n+km/?nW f {߷/b<0bGZ'aJYM$ 9xq=xTb zV&ێ8{V8΃7m~|oJendstream endobj 33 0 obj 694 endobj 46 0 obj <> stream xYɒ7 _\zR6 9$`G99أY\,Ny\ePHmD'g4M7uټAmaҝN6ۋ,wAiכ퓓S,&5ݾ:9US6Q*oߟ@CId{ k;,[۫j_=d`]{i}?H#nodBRV*{f/\#eIb ҁo7-̐#) C<u-Rü4vTWil0H{ȦLsa`< 1&qz>9ҊD*)i^A(4W29*I^w7dAE li^BZmJnp/HN (H>( g ^9dM#Dr F:fp]U)H^Dz(9fcT*+y9[ N)}l/.k`g1#NHJ͋d4K!]SSlq:tHom&gV,$Z4⤢jiR50Gۨ.Z`lDW10q}(* +K؍HM3T}eEVzw4HVwR{S0kg%o$ t&l܁yo3}7;kmǙp tuEs{JKnZ@ }۴*Q`A&ʦUQ+vUq+J.n" ,;eai0%"g=6X ݏiޥP>-(D2HUck&fjL,6!T2me|!Еz:DduɈUArRԜ|2J;_jo0d?ߏ=Xjz*9) &|$.#7IhG[n\4<|36~nv/Ne4"ZڈtO/~c;mWNu_1L~K1&^Bְ<%:)\f7`-?:5V <6!ru{b$Ɯ˪.SF{v] lV˥_FOLd|'z rnr >5թ܏r#'n* 䲰ܾUQ,.{:vVayh&= `@kH('vNc#~GC|T\c JiGB+)k&)Aҝ Q&38c[&a9=%%g<-C)CrXRS iO3=_$e.UrkK&?.*~z *X*]5$)!ZKL[LHR'UP:0ܼ|gظdd՚v2l U4d6[bk7_?%.{Z<&S]Fï_3X qfI +A!^Y߮q;; h)iW?nB# jUߤy%n8~h[$VΒr/]%yv>{]^Fv};{ ֕'j43‘?12ǁ3iuC\RQe(t/ endstream endobj 47 0 obj 1957 endobj 53 0 obj <> stream xX[\5 y~y<' (/{{)m z>'̜.B}c;gǗGuZ _>L;߭2rNJ聽f+#R9g+Z||L*juN:G֑ؿZoV^[ן7`q5>(m_l(:(!vLHOB'=ML)r-Go|.'~~/7kH-nOYEr@N`N&@x"dK_MP 5o_@ t73\a]nWVLcn W6uW+gUH\=3p:8J pek) 71y*!!D-В]&0$ ([J8BeѸ@YLitʑO-h:Z+fkF}(YbB%Qk폫O p/J6/ }4  Hg9!a`TVUʋ3qA=;StسYI"T I~uCH5t=?reqa.(#M:a [3 >!&.to W H"KPL,1 ˒E*C[c[: G IYSX O=kE9iDj!XDTwOՒ>l.)321WY?bT>vz$9 {n{fY&ġ0O䝥ca0'-e'/J 㑰9_7.FSRo Y-Мsuv*`,DK #I_i22ӌZoOq<aB oBIQ"Bȅ&Sz:J> ΡdѫF]oZ$0&G "endstream endobj 54 0 obj 1691 endobj 70 0 obj <> stream xYMܶO#Iih|$؉(vYa]k(~ d$Vk8@xxv/zW}fci/]zNOvowG.h+N!QNJ7G,梑:QtwIVߛ(wxFib,MUFڹy45/l?vNyxɘ^ڕ [񮻁]ۀ%NwO|SHF&ʢ"ܗKGkSe}%F+Q8xJ C6J.Y ~:,2e.CkQNַ6} hqkȤl]ݗH;wL8PŴSf mgԃ /wW{/ϊʿ=9<$ZAZ8ߺ&+TmuRGLu}^{Uԥuۇf)=B;YP A6֣seJo#$\GnbUWH%m eqlj)w[m$/0&:4I:۪S [ZI˫md&sJ\J~*L=X:.{3> stream x[o?p@WD, h ($j^l#P%_!=ݺ"ތfܙ|qx?95ϯWvkX-?qxb_4H5Z$~Ycy gsg5t,5庻͉p7dT{˸ۆEu~0a}@a ީ&<~ Uӿosۤ&x %6>r'Rq~ ({xn%~O#mx\۰?Zԭ?PɖE%+ä__ ꛦᔛ4Ə\-l `!iEBZ Z2|ƿ:j9'%Z*(s@l4P""vzR^V~twvl?;D j7E(eMx ,q)G\){>$JrmN5qvAg~ NN+u5E$eF(tDMo# I(>%tHɤ@$=P?P2reI0Ur "}Z| ?eT|dR{Bߜ`0`ޛGvjs~=`"?u͸bV6SVdVZ줴H* 39oQ-f%,zGWY hg10 r H\;m4ջvqkks+[B'Z.};*E";Fg6#YUG^?gNqtH.p~n+0U9q,7;G;O\g8#8jB M4P(x3wNЋ\@5RF,xbkCEĒLtw0C߶6nZbNvXsTgq&"Vhժ_' 'Uf%E ΣH)Y?ݠp(,U*VײKO:K n+s|Ws}==i+uiޮ+ Eڢ$ysRK>xBh*22pOb~^">Ź`E߲sL#ad[,"LFWʎY=4Ӡнz5'(,[^$~:q 6˅h\qnQS{x__^i!Q}a֫qԋGrq_lT,g-afhthbZC.OдC}mML?~m3zؔд^"CZ[i}5ǗGnkܡ+ӺFփ60'HdPu=ݿ~ \?5\x-Jg",Wm=}{tUĔ7{^߷\%WǑ͟5#R7?K |GY;薶v> e/1`X)gт?R&endstream endobj 76 0 obj 2808 endobj 80 0 obj <> stream xWKoI V/mזzrD+QHqgz")!5v.[53=8mznt:n.A}7| sЮ>50Ǩt]6ԛh &L.8>hC,F$FbiAk Ix1ORg2[9'N (@߯آ4ꐣyYL$& l':1YL`qà!Tѩ/lB &@䷍svcq!c{59MàuMR{~4,d=.Αa(|FN9^-Lb%GV1u|*:*6zga:3:_X]{iaRHw=KaeX`z1O$/xŸ㢒 \Y`ԓ $q<(yf 6k'*ͭ4¤m >Se8_qDfe%*BNb&‡.s $<^cDm퉟0T,=l$Ȅ݊> stream xZKs9W؞zj8IũfTme`[-y,)^hOMAdD?難}f}'ratwY|<ej:99>YmNnXU+z8Zx [H3}}|9L!#evNڳ50EmVM:5ެOqVU>G ky_` +9k<Dg3g9od߅QRlo; ؝Ht8f2#=ɯsXk.@`K8d%̞dYiSvKjCnax ^ &u#LuT麓*}GZ";0{[dC}fx$ރD s,iqػw dAw3>SAvχB2yջKz74p78W @of@.+9[$ .0ym;QtڔizJw[):yE-'J{znbs/LS2UUj"kȻuڿ`sz6>{||# qH$\#ܬ{Xl@VHdXp3(#5mj:MעCbv,.s9 (bS|MPlVh]"~ڰfm9Tӏ0 @C*[ ɣ.mG*av=]߇Kn`GK:\G.߃/Dg +:҅DhJQ,HZ^[V={Jy[iʩKբQyHDYT^q6uj0ɣ ;BԦ]mxw 'mT*WZGJzʠW47#;YƎo=޾<MJQޤu@+oz]#(eFDK xlL;lX0c bѭ Dk1uB5,DFCJ"_Ӿ.| 5'bO:/.r9n_ e/JkvcԬˢJT'{\.cHKpA iE+sOsXD=wU5ʒ Voq/ `cƏHk52o^H쥄~>w$r<3;LXQ4OA= QOsC8Ξ8xoQD*XɄf%%]Zdul{)1}'Hzh9sʮ=-_'֠aug(]? ޟ85 O(i8ϨZ_{+:G2gȩ9IÙ1H2PD/@s}NHQ-GZ :]ʊwCwz*$~c=1w 5h 2AGwTWmv qK޺6Cj\Sr`L=KG3)#beS>)EYՋt=OA{>7zn;hEak`guߢS\G & ]?,]4'Ohb#&Gw".7 _ZQ$wߢG"Q'9~Dn . m25t#ID>-ĸeIHk{HKr(p4< }L)(?Sid-Бvuv2m Gi-@dendstream endobj 87 0 obj 2358 endobj 93 0 obj <> stream x\[s}ׯ[yjgLM4N2l|_גX:% 8pHJ^fc1/8Rgg_KͬmvLĦO'/RQj~r5SJӨ,yQQ=Y~^pGqWe7M9UUeGEˣe$WqfǦ(8]|V'zi;J4/_*) .NIUUkE'kVDEI䢙?.HߵȲ:)iRDu3TY/n2Rn0O$_tʺLI>3Ye;?̾fMY29+gyQ}jUռݛiTfp*E7.BS9ZI޸\ 6Н5ku<45ja8ϲLgx! pJ~A{I{~WmgE'⟮\g+f%:7 pvk.uaz(TlV9T[WggX"4m!o->Ѷ?^_/cWĵ ՞kWY"UfX+%cVJ&Z= Mvx;Dg{F*|mCql~۹.钌S$_]WxpvYTߋL}(!@Ϯ UW|0q?RвsH ,<`n\\كݺϘd ~O:DԃH닰*#ЗҚg(Tw yXڍZtoA l a`EmΧ){f 2ZPr1 Exa8nL0@sOOtK%DTH/gtYA߾ `7ւC 5ip}`kn4U"쪿PZ :'$!mhNe@%@:lj C'Hp ;:FKWP6\^[9x,FKUV%VԖ##L;YÝE;Kۋҹ9)0J;StgqYN|+-meI>>sP#n˟h`Xrb!2= ssr@yqKaF^WBk  8~kծ] "CN=yղ%ِ̿Z[VC`k7V\_4Q^Զv+ޏǾ\ fziAJ=E'-9qE7{[aPCXyʸt BoF-&;dICWt9M|1`c(WcVA-x(yO q~@4H4 t XHoT"س<-#ރbG"x~VOST;S"|LJ~y~>1 Ӭ "c>gr;A&b^OMLE*O.Ϫn*ޓ}RӦҘZ]-|Xna2a~UCEt6Àل { bݥ&yyZ/52grjPYסԴgkyc(=XDFVE;ڗU'DCwmZwk;ɫ ΜF;&x6NHwHagoxGDb@|FeWj;PS.X ,g@3N!''7!=i.5|Myfܯޏ+U$Am7'c/^&/Si ݮ %D3UOrxȀLLOC@# " I1Rkr/G{}/M,@y!P?dEŕ4T{D^MVY凇])5ɺu`R?nx-9s[ ֒˓Jo w< {H5F<״̏u>tv:2&F?n6۬qgc5Cof'7] DA]1P$ fk@J 7 &V rxvdn[u@ zĺv -(x|@%P/CZlFC1S=<-l\@IffUw+\>}"ccHB|-`h\Gk$KIt⒒~VN55ELή{G6am3@MHj^QVJ?NަpһCV/endstream endobj 94 0 obj 3825 endobj 98 0 obj <> stream x\vWua$őc*^dɰؤ(}UxMGBFao> ͟D|t54m_( ,糨m_A2}ӀTwކA;!)TӽN<[ M_R[s],Utf#VJ?(y|x&h}IDljƉ1:;|oZh5gGCh=d0zf,m4}U{4$H\\xxkDkG3-7k3BMy =)ïʼnZ 9TNă[ }"(-'6h$5U`oiyʻV17UCH2lPu{΍1<ߥ3ӚieRש.ʑD;pueO`K0ك(3NhcH^p aCv1IkR%ɭ6.Xp^5Rm"y<[5NW.,/3 ?(n;J'eEhFjͼ!qMrfW< Vbar]{Ь7߹ aڊ6X*$q,2*_1dczkR)zq,pp25P{9|G`ǙoA`A}{݃+2% ώ![o(ꪛd\-L{$P[ 9#ICJ(`.qh b:126'ȹF=_q&=~1ź=v֑8ޛ&:B[w:@x7zt4j4oK? "lD+iyJl9)Бg0A^R/[OtqZV{J'IvkC=P2G jgdž=Vew*I(79w}(nl:!ՠ|k:x:<1{"'Ub%[!HVP&R\:Ǭ?7.ϼT>6k3ϟs`d=]Dƽ)< s\@eigĨ<\_9I:SzF*EcSB<Y .v"%]ϋ|'v'R4,U@(#R1"mͽfWLk޵`ZϺZ厥|ڋhXdVjS#35B5NNبQpA <,gTDT| QF0Sce:[[uvǢ6xǃ^GG]J-.>|K60vEy|VѻH?s;ӱ2bMpir# a֋HDn9o;H{m#DgQ8&A(xÅӣ#52~U%WN4mãDcLYKLu~++,ƇDeO8BZ Ҽi" ,.bO~=$qpa =ܫ5ZLv> stream x\[s}TGBpOM8Ŷi EQ%ʯ] %ڝAbgw~A4 r('m4ݔ>M~D?n>}=oȧQTYMgH$(bUPɿg "fu9ɢ8-g7{IaN&YfI:"?8*Nʢ4σf?4QQ2;eU)I{[WfR߬ĵ%qa^͏mUs<Ҵ$΃aSDafO{qDjP?%q.N*²/z&¬hn>y{ZN?OM.vL')Ӭ}hU^ͩdq=lC[{H|=$hi\/}_{;pv~go t>U4qRS4Sn`=4(TY[7Go洖N't-mQO7{f:., ǍʞE~rOe&sC698'Ѭ=XI;hom;[VԪ)kIYG=l9 `MG5ӖAV&Ӄ((TT]yawik׺m0m{bkOm-moc0ڝ"TkoDQ q%W,]w0(~MJ~Gt2\϶x$ݾ,_-⑨UwkWؠb-~¬-q㪾ɅK72rs.. pЃs$!n(#q qgnsʵ^Lqa{8T]Iy۶vF|_녆bQAAtO? [Hx[L(l+AmwqtjFK6h縦=R]q\ d=zc 5]+7%ik,{őw=}vj=T ۫$,DQm-=5-StId Ї)6ARh(il»4m1 ,Wm8#G]C;ݮ}+ kymģMR2=fҹ)x cZKO&Z:\Jhm {w,[5UTW1?P]X~4.РOc3`'ڷRҤuWn{3?xS:Z Ji)6 4o sPn{5 ~(xh"#_f_MjkA8S+fit"Ԃ75 1vkq׫5r9Lϧˬ>OZA萡KO);\}9\5ɕ1;@vϔYaO=3DP$QeQ9_6JvO_.҆Nn^; Zc 9Yd`ZŮw-l# y;$*^J)^"4hۧ1CdŽ q,Onp-[9$C\BlU9tW)!>O|]ИtB{88F.p#>B'_,q8*brcok[r8;ecig2pL]#RTqnXO۶QEָ&R%lоu(?ȸ vLƴ$e)nc.I =~ uwklaڠs)X?Y^oCng94 .4zhvڂ5%ν*!5S{O۞!:/sbm|K``n@Ii62̒a;5v eh|{B';M]2-^)&u4EX="x" 7Z:XVgSw!jn C_0 o~E֋R]KȰQ9 Ǘ@FtNi_@\} 33I"wb[W<Թb$Wcaw$wΜ'Gmykf51H GD&8)R'`ۼ)mȋQ߻2/ylg7`MΞ6>\سʗ\%X+A5Br=i>|]竨[sSYH"6rKABFscr!h6IX]yB 7V8v'^q71bP)O^2?;Ŀ5]C$>0xv}]Dx/J)rY=q Kܿ`:0K)#F6/ EDPJ\>p90uU+6A;ڸ --,a<)$^d=~CARGXk/6E.ϭ)>)h Շ}}l$v5C %$emE>xGg}']paendstream endobj 104 0 obj 3751 endobj 108 0 obj <> stream x\nWԲ؊(9 I:&fOrG%H*U f1l>O8R˸z?T-ZՖG5_|"_*UYW յ/˨E*byYQŕ*/XT'jk:)R4ϣVkURuY>)1)u:_$U6o'_6(^ԫ{EՋo瑦URݝ$zj4VwGI4$VoNTQq^䋫nI8+9tB{Z.,IGf\Y.I\"8=TLbuqt%iT$zjm^&*YTڸgkpAL0zͺq{y#mț K)ް6y)/qzd[tTEt3w =~&q" W3oAAd3`> w.p? L)`#@֐pS Iz}Mhv~g}qii78uw4wast/Xz$AԁPJf.ݵOYKALGxj^1#jk!Lޙo7AҶ|3?bSgvfFɍ8-;59p_yQ>mwV/؊b!9Dp0*5Ю܍ȵ$Q>K ӣL=TdKt#؂%lm9Jm5&E[5ۊvV,Am>чWރ'KGuO$btO11_wQvAhQbXIy<7wbKp%QdJZr "h[YQV%DVy) .H! ,Vg1) tz#E\m8[af%q(wFV"!hⷕ$4'rw|=\-0n?(dNXzzYSG.7TU RL(D0NB@)*mЍ6n;MopƶZl@*mpaOP I?T 4'aHp_'8g.$0o.HQ=F%袔с8K`CA}LOLgC˕J̉2[ȇe&3Ɔ:x#tV8%ZW?+'(UIqUdᎤt6r]2[)0{8D=Suj܍q(O4cceKHpXOqx) 4?yn;X<hŀI$yQ\tK܈u Gz3F5lX9a ~A΢r茲&zڗ$C6E5 8#)I= ;x?R73W{.x2[祳h""]uav>ց%0n3pe՜9'V|4kO\Dic rt,^XF Fz\A&`,,09ɣ8t: }O)r w2'=n/А gm؃L*|uJ2LF+`Ҡ1l*- cXps^  s)gX:i1fx0bV${k e8,ٚޅ|k?_TBoxk׆" 6&B08J`eP }.NPbY tO3'*/_,L壬S~0HE›փm+(oˌ(q0B`fi| P T1ѳ=?n7s7'?;Y> stream x\]sܶ}_'c?MӤQ:Ӊ >J+ZI}I=8reN? >=IlI{YX^l],JW #/\EaG ӷ7YWe,Wu\7m?G8HNVUa˦&WaeaӤ0I]S_VqE?թYImNVʘ4/㴪&-KEMtU׫{a1jhKN,uI'yzIrhǣpSs '/5^A=RcR.hcO2{lnmM#+oMh }7&opt|#~]Hq/ڽxpk@8eS ybӚa=kn1dLFx鬹xB`=mf*uc[z f =f{/$SkӀ(EZ`!$łF xʵ c%/F󴚿pdCgter}Ξ[Ӷ]u{&t!+^e|1$cFj ~rKqC^͵]Ӷ1t86ka@wf@5MY3/&i w8&*9۔AС;7N<`png;O%gpZoi/D4t; 翗n(ײl]g}I\u׎ނ!DzŽc M"C/EEӟ &{19=pوxC 6>f9 N.Y5b"'l7,"X}+=Ÿ*MKk3ZRsnN y& 7Ӱ ;tc&$A33@he&nu^0LhSʕ [IPㄐhtw3x %Iǭ$'ܰF{ G0.87I jM%LJTgTF$\dpoj*6+.xw4N/h$\ A{"чܹ5-OkCdI!7= ; ]M1 jɡ)m{fĦ4t\iq ;ݸ5 :RJ7:ɰǘ Npѝ \جD-*PlicHoiMg+_ 'y.w`[y *K5ǜ[|~ z& ~y[`i3 F(5,@Z%FWHcXͩ @'jqƩl9D[⇀p_Q9=C18SzfЁ7 㓘F̱Sw~^=igց;KVwjw" ғ z uψ[6xMܟH4(»rp&KR' " d`3?waM{.P3]شb46Y8_U~ ߦʃ3?,|dendstream endobj 114 0 obj 3504 endobj 118 0 obj <> stream x\Isϯ%ÔnIR.GLR)+jHjH2}h::n3ެחUWV귕2M_N/RQj}rR}UEuZ뢪('7_6:VU]$M92-7GiqoΏ&4<4Emu<7I"Jz^%eT6퓪3ܶŦ.-6b\wRIV*\[(5Λ\wȲ:)ӤfoTYo2Rn|Io>h:Qe]U__"?v,'WjeL:қQZoVYYfQUؚu{6IуӨ*:.TZeyyk*i֞GW5|s9<ɣfM6ڭ+~r rbrҲD,̢2UAN+^f氷g#ܖ*V 3=bF4-QT5QIGvtLR~rs޵"oSGQn[W{oE)Lk[q*k",ߕtbfistlwnr4N\CQ4 `AvDSv;7KQJ~:qUx[Icd~-<Ѓ-OQҐD󋺇GkhPnfkZHzwhny>{=!?%*7XaWHcqw$S)\%PW"¬N]q:K.9YiA!tW(7d{ ,9uI܇a=^*~vR"j M3Kq %{:m(ܧ$-Ѿ1Kq2D 4Z٫Ax<ͧ%oxm5]LA `+W )93XΦ%wϨV9 RެNKઘepziSKK|lz7=ÏLz9@ߺL,'#<6.XAdDd5 >!@V)rdq5QAySbA5E푟՛t{{Yof(N7JRmhIBf䉓膒fyz^|~%5A6N-qILTGt̺;hn25i!x%"+K\Hc:H9GNAd!usij゙ڳp-ߥEg,ycϏLul+š?g0I/ˢz-..^8]5`Y`Vr%0n_4Js]n=#W&dtn*A㺗9UPx<L*ħk +%_DA|)#;I߹\̂:gtIc?1ğq=페T_'-ArKWc$c*L ogx R.-sNh/LB]#TNvpDK^jK'^5_rUxԄ t*d=@9i{@KIB0>I? */L \nHƣ#^LER9Ig3^?ԫfzs ~B_O3%?PIFd4U,:g&/q$HlDnE%݆&F?^j:b vnprH:pd@݊Kd#t6 8xE#LJ> stream x\n#}W9*/y tL3@0%[[TElC,瞻PaOfGj7kt36]Κ/yUEYԵ$(bUPmf.~9 "u9ɢ8-'$ 0e$,Iۺ>/0YTQbtReUyEgSy%}\VU.bIxEhpk&߳7k+qmIqجlU_mUw<ҴeAUOsSDafB5?̒8_N*RI'[} faV4sYTi9՛\&yT,$P>\YΛ9, *YEwpt2͊E;˸ݸdiPDiOu T4d6/tvߍNj vvgkhzugye7uٚvowvG:8*n$Zhgvk:ĵ q-٢NgՇuFBZ:L_;-G_YWesR|"bkxn@^_щԭ?{U#w.lg7_{z:v[sB^'vl= [|wO>10pnkh󢓾XHwDS+Yp Toʓk!Ll(Ž^ѫ~I7{`9x`a-vb fWuC?my׶fIC+Q~~[V:د.{6t4j8VXM{N뉿 En- yw'Xu#-ӴP",kid~'40@qt+6ma[D<!eJ9nn> (BZIK*|=NЍK=QLlM;[h%'tȝQz>0#wG(HGgmVcwҼ'H]yrC!j}SW;F{YJ9(mwm}Hѐ@1u\A[\GrC. EA4zG Qu"GrscEM@ن6XYY&R ڰ Yw4aD?G*k=:] oo ܼY1~Bڙq)}iM}*<EZ[;3ړ y+Ax[xftCkGK:e'xш7C"M(?I7碂́$J9u8T|{jQ \cg[ [QBQn詅w"θfygFAH %#)\ߥ`);F#8R`foݛIFJ{$\(+-Rx"EP)VEq01zov`^̿AJF9Ws8 F+2Jp?#( ͝0s֢1IU窓aj,d#5<^_yC|-TZ6/t `?%qi]m9NlgGr@-50$^mwP4Dc²ΣHCv-?<^G&{]­ϣ@s═TW7T) OUi^S{̸ʙb>$uv/Ԟv@>V7ۭ&(!kt?ZI=U;zSHbJӯ"imxlwHA@P.G H@g+rFH:Dss Tw8VJydFOhp\ɚW=1$S7 I~QCBAy` s}t0ګXdӈw3`4Ȋ+&qT T"6B :;?%g'˄t{yHD9BYI 9ĎH "$Nu1+XDD`HI1ŽU\l 'JB"q=19xt/&q3Ǣg[_zZ'CLx,pR̛Hh^7hqADhr@K#D&-NWaqjX[0ĩwlґa< bJDgeOKH怶%xф\GZ'd)盐)m}joݨhX-nig?$C ̽dH ^@W  du}a%x4m^@7ibABǽ9pzym(s}ۍ[*+JᖂyJY6 @gI_Z>_J>%ţ!G'rSc巿S!Wnk7{6`ЙXe|_C`yI3}Pjs1)'O~)pf`Cq<=9l[I?:r/;솓o"0}U"r@j޾bN Ͳ6)Nqȅ Y5|Eof.@Zo {H6K{箧= 9dQor`ljga ,' 4k'Sʴ&/qj4$U;ށOnõ F0@dA3d;a7&ZU?&ty D-.hRYC^`SœL&r;= 8>oe,I`bKMtLWT)wI (oW3=y!&=<I€>$ g@% U-s򟛡Yp;=Lg(h'TU2b(4~- Ĥn@k?2qXch:g+啹kj>ڪo-&~e<+lV)M.#*9ꖍz( 's#O&g/~ / P!Ѵ^lUD{fboATE Ҳ6?~vQx?_/endstream endobj 124 0 obj 3516 endobj 128 0 obj <> stream x\]s۸}ׯ[͒)̶66ng2>Xc)qK$!)Z"0σ{?(V#WY[=OuOϳG5r$Qrt2LQ͗eUb~AURVtqSMX<8Z&_\M$MxE?4)ZNʢL4_FiQ-'iOiYiwM3ŗfI nI%iV/J\I(׫{E׋meUZtU47&8_|:H()lI|$)".ԋ"W0YE3g?͒zOӬtd79[FfYQdQt5WleUT| ϶=fSfyxppyl-V2mWAj;i QoF\KA GkeibTjoxyolT})>'D;Hg2IW n>v,* \'dkk?K6UI?4moL:?~7;aBKDΝn r;iO>x抇M(OJ{6iSس=7pa:y3hO>T4X7FmFZ1$Q773p|pkYFڞ,kpNWX=Y5JHϧNzDFXmNm+\݆x\"ZKZ"6O*St6sMMTř!5 @=>ihgwzZnD~5n>{0iI%kt{O^KZMij"=㑻 F 2(Xn r3uXbӶD'-@Vv{qeQ!=J\U|"0[:4Hj*$Bk[-Ϲ#-]wY KߌՃ7r7Vߏ҇")AVQF&i'J9HEOӉ;Fz!g) W`W\ɟ)J;|(BoCe<5ݗ NObL-4㌢A`, oD`ۍk{hG_0+ ͮPCn?j0ae- A#>C݈9/mY1a*ёΫW3-JCCjѲ= Y6M=wB5?`\@0ĕ֙ڲswfoI~mj XXGAL9e74L+M%絋75, Լ[m籘t0GOwN{> uH+q1p <;&_y0Ë*w.p@Z &='? J֊A8and;!W5zƍnyJ"ęMR Fp+ hֵ^6]Y-/yy8Lq{&C* - nl7ȦR<& e t$:h=m9ZO#OvQ?48#YW[y*W"ӈ@ ZT*+u2[zGlBvV$M ;?r]W 8Iq?2moA&= vЏ3 ,8%{aPڤ&cȏBtMdr75nˮӑ'pW\BEjP;HNHi^=Ϯ HV;^rϱ4M@_kxȴ Fi2U/Sr8^:@ m-#EqX&pQ\|J^f e.j48 S=a@:8 ^4t ?$" HI*SG E=|6ɋwqyr2m#I|<TC`}q3A @rޠ9/` i Wh]df[<8/D%s/&Uwf|b0 yqgHC\/-ƻ:MHkAu?gHQD]+Mq7f2Gx o.d'xy}ajpW+@~㎿2`0"=߹)4p EJRR{#n6.qSLV~<,DY ?=<9}>.y{q 9甀JngN9"PiݹaL|AD@DF LR?~iu!go(Hʖ^:?8ϑg@XY|u\`ip3{ q ulA{=W+__Tθ )~cHJ:J]El ^.vIݨ4~#,XDj]oAϯ~3A^G&(u p 0׸d+`4n. 5 fe;%ASm@/_lɸPU찷y im Mlih_+I׳o>6JUd ;I~#,njU ~N>F%)#d{T VkI\)6 G S_c[ZzQi$?9}n)yfHHI?h :~z`!6cfígvhC{̊(ҀhddFKwVsn;rxgtԞF^`99w'#wg2R!#/8K ܂y$01Yq}idY-!1y* 8r{$B_lkƾ؞SiQ[uYY$M~5}Э> ?Gaendstream endobj 129 0 obj 3795 endobj 133 0 obj <> stream x\r+TSc67+Tͤt*T,?-ۭ;\Z="ՋfAνB_qq{|ʧwɾxO'_&GU}*yWWiE9-:V_g2W9UU48gˋ˦Ji{ vPsm~[(/io&HqdYMsiRDu3Omq,g/2RмI^FTYqe˴ȝ+k8/1t5e9_'$~"Jj'I5khJ'z$EF.On'E'yԴ0{v\GW͢Ret꾹\{ܙ lSy̒7kqGNW okA^1@c]]U`nRcx |֕¬?.6nR? q.eoeҌatMWW={h&uǕ%٢lʥymE\W(KR0aLӂD(Aa\᠈rU!:g7+H7t` 1 ۍA`ԍ+5+Ӈe7$׵;:7U U]}\ٟ2f]r $YcClg4Xi#+Q$EtBxXqOxt]P{uu碅`d7tvnvv:B҅{ƙ5ȏVAS- alN_{ -bp;`}_o=ΠYI+j궢30O1ݏf8\fq!kɬ 6cІ;ΚvcȰpWQ^hm=`Ba807+hzӸuqb5Io\9$ q8b$ p Ɨl3V.R13oqd5|ПХ{W~#is7t p-D::7|<owlX$ص[\fƼA,nPvc3sf)VV5mrĆ{Ё68#C r\;¥@ +h޸f> ۠{qdᦩB<8Hv1 Ŵcnt ť8Sio]`+-D`宜 Mۨ,d";'Y*a PlU+ќJ#xϼamQW~2ґyL޷EgϿ>/ BL0|^8A$k;ڀXU 62s>%eOcm vIiJ?=^i4G}L~? zNIx.W 뮷E?$5^@Ai(HnFt+^6QV==2Άs0`g.Өǫ_%mqx0+9kC7 nh~?D t&'bW`yN¾z$*W!J[g\>rfa]ͮ?/ IBKR&σ~O81!\~(n#Эr4kr4UG7RXލwP O;|D?mհ桵8$Ko\W撸fL|ɯAy$׍'8LGZ8*ex)zR- HIT'UGrmu͒Aށµm@&3#Y&MAH:$wFR#[っbAb Zo7]A:L' cAҌm 6-}$|\q9pj),P*-Rķ*0}eh/vت 0$IM - geUmdSpኳglgVɺ?E<3/ǍQȓ5-)nue<]gZ.r'z+a6),a~e,0ӷ;  <޶6(Z2l"@':~3mrYD+֧NOM@U!./&[]cp?Нfq 4&Ν2vN^ѫ4+R;s6Dم[<۸˷༔g C/OCvW68O@=gk>%@0Ou|dm77uKc> stream x\kS8ίʗmǯn5[[EI P3 $CXږ{tun2T>DQѹYc 4߬tWz +D?¦ͬxEA1EJԴHb0΋gʯ0(/KYNFadkId4X]+p۲~a2<(p^ugy8b[Gq6.q^ VŲ.bF#lp] i8$8f8TfH"֒xӪ:4 _ L$GÇe'QVdagI9{IG(dV>DNJ)t`ܬY\L;..( YJ[]Qnu8OR{+_J^HյQQ ?J6 $AgUQPNhEŹLgQZ.mMU1#;Z](3)*JѣA{/~~&3׭PF|Z5)~k՚.8 IT&Mr!gqUچki?HV\VH!"jگRVj`uςGte휂F+7uq \ƍE]h3's*EJT9&mo`g5¤d봅ZV0l֬p]Uk~]o>> -)i ?@hZje1.@R{oCpNdrj]+|? .ڍ.==}$^5{$훻e45JK_CZ`Ng9"|6;&lKrlSw.pc`M]zw 8n `8hPy9WsvBQH.:eMDgKǎ6J\Աږ#>SlWs|+T&cN8kZ|[[i3 $(41e'R.=J!mͤxHQZ͍͠Qܬi$Ga FL.I)̑h;`[YC)Jg(=;R&dVo jM1[T kK-! K[*kv6Md/2Ոe8#f%;X׋SU\\zu%sX_8[ʙ8~. Ö mV 9PE3pώk!NbJlDikK.) 4BЪk3$mLlp%0ĶJjتdO&ئ:=g-d'vPv1;T !k( E`'-BaܩL 'M)$Eae6qa}jz=a2ͱ۴B)=m"ĕ?C:P+xENtW" XcZqNE۞i,оil[b8@O Y?wxh.k ɳ<ad B`=, ›ď(UVEܠκ8:%)R E|`_5ۇ2+έTyu;)NV]l"mꮬ=p6^40zLu7}d[ol'lSpݗarEuQ{(g, *c`k z؋O3ʁHH۾քvۤxD88!CV$3 z/e InM"8')8OjɴvRTRaci݀[r. euvRHQKmB i(O޾h巡O`/r:7* NtCx2Bj-+qwXPƳΩ*9͈׆.jq.e&ߍ/VLOro]IȹPɰtB>GL_XJb?1<=R{𣮿3A0‹26.;1a~Q Kϧ ~mU# Q44p9=C^Yg/<+ʿ@4ԦHc]"ci˿ᦜzZo/]z,Xz' 6.\cC3 >m&J/m\\>*(MTxW`<~:mƖ(#OKhb_9KJI4߸I &3#]jbW{m5LQzކٹ}QSEz+jqG6_&TF)p7䉮 _.22%YSLSez"eSzҳe䷢˝NX~_ ]B{^LXp1a8a5Di?hLe .\9W+mBxj ?M^T x~B(4)]W&yAePϰavuGjL^O/!{1z<0bzxYPdA:7[ȃ(u1z#ER'^FI+l|-w '!۷K=ze.Xq瞿 3TP˦!x-;!>'HJsY[Jkp"Ϸl3 =n1KZbYa(}=,@V[E^Ӂϕfa<^H<mHj.7D#9TmZ|V$Ko@> stream x[[o~ׯPuamIQ)=ܢhpIZV r>g-||c5.GGb/Xs5WiE9.:ӫ/{IIU*0t+U$M"Ih71,J4nxQI7ZUyRGf"ekƕ. F'_Wu]eѪ!4KhK$0,P½Z:iv8|hB9֥n"Gp,ɣ=]ƪ̇yu}>7./S- 5dyLGߍ˸UrVi=Za? ƍmty˳Ӹ*oI,/uKE=7pAgD$׹1}DgYt}KD.2F%(H$gXyB3\V|ڌfq*\m[rFdcZcZz<};~{45*XQT[;zAQZRV}3Y6S3P~/UG4)DG ܋Kl ,3q1KIHO}!ֻ:Xڨ^QZ,C7j]9'"{ tReҽgq"4?N_'/ϕxH- n{xVZ@gOP9ƙV4fݹk}O䱝A(Ά ZdX (ղLE?K"t3( <+[ѩhtAg ע [\z3>?1>OpwGܼ[`^F`_^X9q ;Go:*r@W}@MXH[#4īȞ1g 8'zs ϊN׸ɤAPPꏔ #7*ǡzҦXiMK\Qy< C 'CNnE)Ov[s@m|Ki[ ޢPaq#B-o_:7@Ɩm;-|Cb8F^l7V~QH(2y,6τNl+p-h 䈀T9ɀh݈$wxtɻvmI wW̴(oDNE4 X}+z8] vݙ>vC LPp`y&(t%E5y۬pcq폈ƵbS~^lA.ׄ*qA{M<חmU/4N*J8g4$Hy2RQ̨.{ωpWQFJŞ/E!)MzOIxw5Z֟y">ظܪMr& >Ӽ'f Hg +q9z f~sIi=ǰd 3@H6.DfVW38ϴW>Vl.W]x6Gz-B3YJ]SZ# I-PDp1dm]P k>C;#0wpn1ʨ=ɢF6G:Զb`ehylу\òsߡ(/>Ǘ" yߧnWwzgYm~D* - ȫl\ ǽL}m38TSb)?[ ޾ ׫J漣]Z 5w;I;p*PD=ݰՂΘ;ez\p=;~#vjrN7GJ(Mw2SZ0ΖLő fF<`v۸ \roaNI4<63!oG &]_X#KjEi4=@s*b&mIٛB0 uRg/EZG[1@ON;3= 8S^}g+_B e8 pt 9=HB 0U'䍸ېDqѰW"xK(]#?G s䏊!YKˑ5|UJw|f /D&T"V+x6N8-ݘ &_Z NdKfj*s6- /ֵ}hŬhPr\N"K> stream xVMo1ы*BZNJ@4&/ېTU;ތ={VhB\og`fsm`1]< 'gϬAݶ/ۈEcUlpW|^E @k{ NɅ\l 5Yy/M^rB?jm)_tٸ1mRRW:Q(b ?4,`(#:M`JFbq]חڠ(pEh Nݑuwxy#qq~_viǡy/{C Q($F"//:KVa[ȕ_{_*FyE=]@ ^&bRӲrQ79cF+.waH> /Contents 13 0 R >> endobj 24 0 obj <> /Contents 25 0 R >> endobj 31 0 obj <> /Annots[34 0 R 37 0 R 38 0 R 39 0 R 40 0 R 41 0 R]/Contents 32 0 R >> endobj 44 0 obj <> >> endobj 45 0 obj <> /Contents 46 0 R >> endobj 52 0 obj <> /Contents 53 0 R >> endobj 69 0 obj <> /Contents 70 0 R >> endobj 74 0 obj <> /Contents 75 0 R >> endobj 79 0 obj <> /Contents 80 0 R >> endobj 84 0 obj <> >> endobj 85 0 obj <> /Contents 86 0 R >> endobj 92 0 obj <> /Contents 93 0 R >> endobj 97 0 obj <> /Contents 98 0 R >> endobj 102 0 obj <> /Contents 103 0 R >> endobj 107 0 obj <> /Contents 108 0 R >> endobj 112 0 obj <> /Contents 113 0 R >> endobj 117 0 obj <> /Contents 118 0 R >> endobj 122 0 obj <> /Contents 123 0 R >> endobj 127 0 obj <> /Contents 128 0 R >> endobj 132 0 obj <> /Contents 133 0 R >> endobj 137 0 obj <> /Contents 138 0 R >> endobj 142 0 obj <> /Contents 143 0 R >> endobj 147 0 obj <> /Annots[150 0 R 151 0 R 152 0 R 153 0 R 154 0 R 155 0 R 156 0 R]/Contents 148 0 R >> endobj 3 0 obj << /Type /Pages /Kids [ 4 0 R 24 0 R 31 0 R 44 0 R 45 0 R 52 0 R 69 0 R 74 0 R 79 0 R 84 0 R 85 0 R 92 0 R 97 0 R 102 0 R 107 0 R 112 0 R 117 0 R 122 0 R 127 0 R 132 0 R 137 0 R 142 0 R 147 0 R ] /Count 23 >> endobj 6 0 obj << /Count 3 /First 7 0 R /Last 12 0 R >> endobj 1 0 obj <> endobj 7 0 obj << /Title(About this manual) /Dest/chapter*.1 /Parent 6 0 R /Next 8 0 R >> endobj 10 0 obj << /Title(Stand-alone mode) /Dest/subsection.1.0.2 /Parent 9 0 R /Next 11 0 R >> endobj 11 0 obj << /Title(Key--bindings) /Dest/subsection.1.0.3 /Parent 9 0 R /Prev 10 0 R >> endobj 9 0 obj << /Title(Features) /Dest/subsection.1.0.1 /Count -2 /Parent 8 0 R /First 10 0 R /Last 11 0 R >> endobj 8 0 obj << /Title(Introduction) /Dest/chapter.1 /Count -1 /Parent 6 0 R /Prev 7 0 R /Next 12 0 R /First 9 0 R /Last 9 0 R >> endobj 15 0 obj <>endobj 22 0 obj <> endobj 23 0 obj <> endobj 29 0 obj <> endobj 30 0 obj <> endobj 34 0 obj <>endobj 37 0 obj <>endobj 38 0 obj <>endobj 39 0 obj <>endobj 40 0 obj <>endobj 41 0 obj <>endobj 42 0 obj <> endobj 43 0 obj <> endobj 50 0 obj <> endobj 51 0 obj <> endobj 67 0 obj <> endobj 68 0 obj <> endobj 72 0 obj <> endobj 73 0 obj <> endobj 77 0 obj <> endobj 78 0 obj <> endobj 82 0 obj <> endobj 83 0 obj <> endobj 90 0 obj <> endobj 91 0 obj <> endobj 95 0 obj <> endobj 96 0 obj <> endobj 100 0 obj <> endobj 101 0 obj <> endobj 105 0 obj <> endobj 106 0 obj <> endobj 110 0 obj <> endobj 111 0 obj <> endobj 115 0 obj <> endobj 116 0 obj <> endobj 120 0 obj <> endobj 121 0 obj <> endobj 125 0 obj <> endobj 126 0 obj <> endobj 130 0 obj <> endobj 131 0 obj <> endobj 135 0 obj <> endobj 136 0 obj <> endobj 140 0 obj <> endobj 141 0 obj <> endobj 145 0 obj <> endobj 146 0 obj <> endobj 150 0 obj <>endobj 151 0 obj <>endobj 152 0 obj <>endobj 153 0 obj <>endobj 154 0 obj <>endobj 155 0 obj <>endobj 156 0 obj <>endobj 157 0 obj <> endobj 158 0 obj <> endobj 65 0 obj <> endobj 172 0 obj <> endobj 18 0 obj <> endobj 63 0 obj <> endobj 16 0 obj <> endobj 173 0 obj <> endobj 61 0 obj <> endobj 59 0 obj <> endobj 57 0 obj <> endobj 174 0 obj <> endobj 55 0 obj <> endobj 175 0 obj <> endobj 48 0 obj <> endobj 176 0 obj <> endobj 35 0 obj <> endobj 27 0 obj <> endobj 177 0 obj <> endobj 20 0 obj <> endobj 178 0 obj <> endobj 88 0 obj <> endobj 179 0 obj <> endobj 66 0 obj <> endobj 159 0 obj <>stream xcd`ab`ddds 4H3a!=<<<,s }7n]_;9(3=DAYS\17(391O7$#57QOL-SpQ(VJ-N-*KM휟[PZZZ3d?w1?7}/{ҢZ|lE݅Kg/i4\/Oa`*XNM endstream endobj 19 0 obj <> endobj 160 0 obj <>stream x]{PTUݻ^ Q;jwײ25@ DYe<m]qZIIBL JYvAPf dtTtlz;h5ӜΙs~ E(242rM~:Ҙ$ؑƎ33$o I?< B*32 7dg+ߖ_[<]kؘIMOiȌ<74qE|6Kk0jVfgdk ЌdaBhJ^c:-sAHBV4" &!W䌜4H*\QTE̢iG:!FgTzVvDC&.%(BI~[ |TJ ExmîqjQڗjS\"陨o12v`aOXH!," 2x-ow%-GH K!(a %bLb "ND,|Hf߰AFY^Fxxo{+jq>+ vZ\>%@+e٩q֕՛p( q d^-lOW+>+..2Rιgwe$6>^ ~yi$}}O6.۸0 YF `}x@&iӳ8.^ȏE|c ّj4Ʈ p[}vnc,F(`*NaV=mSe Lk̩itU;d()QY/1s;gw#%~1:uU #R5 3[~soQ7h2pyuZݺq䚷ջ~_ ,p'C}fM*.!DYR #Y[jTFAO4?ٮfKVf,L:n/kMo1]Ů\ s@WSy{?ݼvW`N+ eqP[kˇ[:lt]A\Uv1U;ޯNr~Lcq.fnٸgfuk{@v`[):~z Єხ+~WBPT[&W JLM-*ƕ\;a_VvZ1]&Jm*dU.R S𩹡򼻵IcG,:.=w_c]s ֎0y oQn);PTJ ١N? a ]0v|n̈L"R,Xfq(~{$0qCQ݊jNuIik}u*M2y"VlqJ焭 71N]¬`{6%H VG[0JBkOw&k>0$Աd*đ.l9h_ y̹;7cXnW!\BH'^&'4;:;NBo&% endstream endobj 64 0 obj <> endobj 161 0 obj <>stream xoCMMI6$XM  2/,FKZCopyright (C) 1997 American Mathematical Society. All Rights ReservedCMMI6Computer ModernnOMUEeeqtykrbVۣb{copburqroYuˋXxP` y^z{zXgy}x{VbQXxM?YK{> endobj 162 0 obj <>stream xW TS׺>1xr=*kUtQkEIyH SH- reRDyzji^{[֫w=۬!`ֻZ999{}ߖ0CD2l*Ef.&$qH6FJa~17^cphtJ$>_#4L:yWzD v] PЋHW!i޶'\CBU!/U*B]WG3 3S z86de a>J媈V t9냔i3]f#YLc{f30$ƗYάeV0:f6>ìb1syyyqdb} #c<#ِ!wҿ8x8 沷da=ÿ1e߈G7jFG}yZ It#bOkq3!ٟ+PfHZnR,j {ɿe WJO툆Df HhS'm:A `=xN؜S4̜xӬu@Leĉ|Ჶ$H49(QԑJI\*2ȃ>J6i8'g`q̗~űik =K2[B8(֤7fYLB58Ëj9Z [-.]onmݻ[.7gv0NvG- rWaNiB{&pSj8%2Τd!#C9p>p ~r}JTPɃ|@^1?r 8;?hSue)pdʴd1Yp}caoZZM;;qTx?8.^R=#ȯCnd*Ctk;W+lR0 Ecf_ # }%x7]~nAG6(oj$x_">d%Y},,0@NV -p o@Ba [x`w[(;*p1&Uw8*;vĩv䬲 _A!`J1&O;Kq&md`NYAre|D ~H`7CIg76)n~B'Cy®P!8 esf ]7Mz[ yI ~ۀ *k bC0hagaxUlj$X 뿌>wy|gwrq8Tvk__]R4I?IXrk]PcAMM!=hIS_iA*u:pM`xu6kI3p69"%0TE+䖌ϊuVM~PI1-m 6VG'i'2a+98;xOrmΔ4kҷ Lr;W&Jb Ť XK }[(ñRhi 0ؑ)dB%)d'lZ|*Nw|>ޜSfR 99Xep 1/LzfW>}g%$",QꢟMB;i_`jAW:ʄ1RWʂU5p};MFC~u"1lIWf*zI‰]7ΦWk-U*> 鈟\]Z.5IEHg+:?aޏjlji‚=%C<{O;e5\zV5ٛ[}JC$i |o z-À}e3%T {i<0HYOn`ӈ.JDXea퍇T Mjfdri2ɮʮ lj<@_&ޡրF S!)>8L_msU"װI*y ۋQ ^n* (czpGYk5T9 (,q(7seSWGEU.ve$&0V]R)>:XF`L2/7S@مkYƜ:3 ^B,ɤg=5]\Q?m*b[^@n[hWx>F )Fd\i=f0iS۝'#Tct[T>+hJp~V^8ٱHc|q uJMU"N9alP ǩ_P *TTf/UVh:) ,T )Qƨ!-U]ឬSrƨn+e)ל%'Idj!YYM~3Uo8^֝RCfUP]]LY$ l+};#G/K|×S1PHEbDv*.;ZZg?ؗAvNPAk-&^32t_M'pOa'08jlŲ*%㥈=3ϡakb^'lⲣCl_sAQ[,=E6vKYp'|˷ je'+e~J%$4a9qzSpCYȐIaMl$+ há̦ʫM.wOK>[z&C#KP:X<1̐_`>Pܥi)2DHG5>[G}!K u%{f/aSȤ>z0?; -/MjL Ʉd甬,&k%)E _4cաL׏-S*~Sz!qoI[ucc6`>;h[ٖ]S MBRK2NLT@ rJ:y> endobj 163 0 obj <>stream xcd`ab`dddu 21T~H3a!]cO]nnu? }7]K+9(3=DAYS\17(391O7$#57QOL-SpQ(VJ-N-*KM뜟[PZZZdh =x3%0to1ߗ>d'\9Oong/˞]"vfa }cSJ5VdZx~YJ;wv^{\ Mv_|ho<wv-]h?+ǩۮۻ[*8Ĺ.lO?w4M\Xpso/-/ endstream endobj 60 0 obj <> endobj 164 0 obj <>stream x8MSBM10$SA  <*'$FLQCopyright (C) 1997 American Mathematical Society. All Rights ReservedMSBM10EulerR3 8Q|!{d|fZsYH᱋ ' y{yzĐYYRxzyzRUkl&JmX$xU}h lx2~{w|pysF8*wAb  7  endstream endobj 58 0 obj <> endobj 165 0 obj <>stream xU}Lu~n ʴFąLljMKؗ+K]KîoPhҕxmeNg4E@BfLL gLI|?<("!(n8?!C;ϯ7nR1JrJsrB$(%)7[(M?Meg`?{F%0A,6; .ۈ=hVbS$h.㚘O?h $tlo5ՓZ-!зR'hg6fqWCk=kuTC?llNnmM6,\Z> endobj 166 0 obj <>stream xE]L[e2xtK&?el41tZr,Оsti8[:@#M酉_"7zWoIMynyG NѼyem*#OQE[|RȑF>۞/7' ^Q9&c?zAtkUv :Jci;:O,U1LVZ8v4}8d3@'h'@:0Ȏˬ=B{7\`B,7nX7蕻+׋RSVCR;0qh${/O^H6!8 ^iJjנ-ٖ'92#hrݝ(a!d5.+7wByF1 KHx&fd(cR\I~8Bc|ν 5-eB)eA{ZZLII*|PxluW|H`8& ۫kO.c>2DSS~?s1q_Sf> endobj 167 0 obj <>stream xcd`ab`dddw 441UH3a!&nn%? }n]_'9(3=DAYS\17(391O7$#57QOL-SpQ(VJ-N-*KMX휟[PZZZƟbJ10a'7c1ߏ} ~-9{9ܽps-?{"ǴzuNݺՅ>--]voxP֭;;;sڶ3ͫ9O6GfBڎӺ{q|b^ٽsjY)ӾsԽ x8}ߌ)f43RRxl;'_X#sٷEv ߐ{Jv7GccwY6MIk 5;qM 2]9~{w;wUVuwr4Lɾ˽r߁~={3-;1iRTty{f{?3^%:s^ݵVt)WB7s=b1ùy endstream endobj 36 0 obj <> endobj 168 0 obj <>stream xU PTJQ&Judj (JP" /:pN5i덆̜_jB5+Ь4dLن֡i)2 &MxZ04$u$#)ӘO0~f93`0Z&y c*M&,cBf43bctVGN++LeҪTMP='=rI8Qԫ<2,A#je @Tjt{}tGSnnyq+Z˞ 0؜C6%TZY Tmh?CEpY`]`>#Gc2 PTl;hy'@$_ݧt!r(ލ?CQb>*9Nj-$,!UPsBQxp[J01&|-F8 GԖx}jA_|.oKp=2QEpwn9qGr} |ڔuj1bXXK,E`!ub YEF\eN[b)D{ lݖJ>AH@RiMe>=/9";a6_^.t*._ U SuW$OEPא //dyy3̿^Br endstream endobj 28 0 obj <> endobj 169 0 obj <>stream xy T׶v-]在J8Oqh* ͌ ݌ݽifiPDhQ&ĨqLr)rS 7[zo5s퍄܉H$2k&ڋ?HAR_{`k tBTFBzߢɢeN>s5x uw^J~634w ^a}C`XgrϏ XjaޫY6l%;w_m9ޛn׌gΚЍQRN*j!>O VS pj H>쩑:j 5zrR2j 5@-Rj5DToP}.KuQ)ʖA);'@CP%]d&V,[՝~Εw~>ަBF˶srŵk߮nuѳǺU=^}O~|;G63avwFwe LmA7 ~Sh/R`iH[Rddʑqd:}//k9JL>eFjҋoTJn\y",4J>b@Jڅ=l ZaZ- 8jBozr!;[uFt&YRWDܲ"!E k3t>CaWc AaKQkt8d\; %Mi.H2Yr9 |c̀**Ԭт@lo łQb:Ilf6h!N(_)$bIA ׷ B1n r0YEm]z< H FI TyC*,bG}gc u}vzsh` :`cA5ÁHGVX^[+l L{(x#/h˾L :Z9 }Bn46E4ecǧ兿Kۮ$U1a!>䛀 TZ5g^XAs֮(KKC0T['q0qrA(sVO*^(3AX)+&E$i)ZFGV', $lmKhrSpKxR.m:-2QV&rNO-v; ۓ+vGMN٠W(5I |G!^{5ƫdGym,rɃTcYz oK~ nH`Y. n@r~ϸ'X2idƼH+mRrłR *ꀹ~v-<װ-6Bk5I>(-ւC& oaukBINJRA> umD&~_T=+UG.~ m݀~b;“vAcD$7pl3Djy p.8~_ΠBb[@,V G<3yUW&7,iZ#jƭmնiV:*N"DW +؝2#?J-al`~t+s|ݎ=|à4[LNRɊ-(TlT{eёrI[wo ̢kP/e gVUq7X iPf¬<橒K,Y&`-*+Á1cĎYp m}]9_ Wl`sۉ?6 {#{#:t_*YD~47mEIh}L3W0dlCo0CbMK"&$EYVIK;Zd||=ŝTvEAyҒu¸"HѤӒA"y<,]Jӥ6nK 7[佫Kr ,Se:#r) L6mb+6ܗ1B.V.[sp)#:i-OLfӒWcls?Q"XΛ e}S s>OE0]{&=d*I;`+(ǟФ'T%4'Rd3rXˠrLi)` x-p?'f+܂v[|-i+4XDڋ0ODƫzRW7^ra9U.HIi 5+O%TZh1KUr/ڱw{0/>bޱF/b)-  4LP1;U4^ =q~﹫'ahbxPȑj3ُ<˂-𒀠@҈Ҫbsx%p2ZV#$6pYۚd]=/t󏘟fIityS؍prhz1爁IZlEB +7[BδХ֝":dL^*GX[pNW5{5o{&g+)ڜt.-T_~.ѦηN6彚=^>r H:|CxHhVwҠc{`RRPDiĿHۋ0i b޹Ow!WB+ iEza:j? u(dJB"C6z}NPtNb}I!3ٶDzHBzRx;626VKL\N|)Em؜zihK*^ǶmT4 W'ԚIIeUʎLߝ덇œ$BQ*A9JzG )9ȩluiə!*V>)آYmh*Cv!oi$!\ZYRvr!yd IL[efc;{g0ѓT95jѨZIKi4WE(Rmwe1Qp?Kǁ@?DD >DHh6&SEůSJ[CM9 h,|8<%f0)!T"3\n9t/?ieħpAB14Tr>@#Fi5(u^}W%=I"a,ƀO?i1ܽS_Gr{U|4rOH^XPun{1zTjܕwUzlf}QEƄ*|-hbP׬L1}6y QN<3Zg\H|&EhYbU6o9*@{ {"a|eD΋"ȁJZ|ϸ&9Iual)<+[,8LN{ꓣܱ%ԝyD=(ynF+\aTk;yij]"!\r6d*cDFB*xHfbsHU4.m'NQ)ND=aMsG ټ)KZ!*4g( zY<}DLYO]Ŀ<0RIm|[z,ң^[jj.G[{{c[@\Ik*EK ;̐K^ ۿphsdwgQKW/lpXzh=kj,:+l5u;_rbض/F-l+Eh5ۂs;2bB dm1;_0%'NŊwVOtujhCPЮnۨCw4 w=gZ9w*E8î:4)8RPd6[Zl 5:TfyrXr19,_Qb.6UZk>Ϻ_lj‚,\9/Q9~R:2M 4ʸ!֡/Ytƶ;Nʽ,WL5 ~r4-kkikXZ$p{LcUc<jfsUGXedS{?ݔ K1̂Ev1?/I׹}O&wȐ`.v.1!Cx?!(/;.0)>Q1ѰDĐ5|%nٴn\ӌݻ3wXнE7h endstream endobj 21 0 obj <> endobj 170 0 obj <>stream xW TSgھ!psEtTnuP jE!,&a # KQQ;8U1PU:LmZ"KԞ99{wyyWB BçM:{Q½,,Jnn!}/FG-^hHB(, $IVJv|'N;wo@b4nkToh,6&1J_$l)}|H Il$ILNH}C%bIALQ&mUI%lHť+->aDům<9b[> %Vob XF%&‰:b@D 1H$o!F1p'^!b!IxbEb$1A"D^ lq"w#\":ڵ-*&YE>ETGÖp~i#"{Ey{]6o?F 1o*'V wNn hmMLɐl) 9-x[H䋟@@ΙMtrmivStLŴow ѕL0`Cm(.fNι˶(TLToe;yͼ#'q&|$;Hr^ϱ68Ѣ"]jl6E;R\rnZVgRդ5+[\Tg+Ő_V;Ew6=yءzl>6.+Zʚ $j*R uD<>>c/B~(KRLn9o#/z:Mz779tP襻?/>[?)tq;d Q6A!ϝ4Uq=L7E_ +OOc( 3+zmAk. %R>XfRکvb1#_nE^ ؒZ,w"/\}-pڤeZF3)M݃>r3Q8m4l"Ӭ+jHPh24t͊|́LiO{nػ>792H]91bO53;YewoFm _f_a}${x:hOQ@49`ntV:: 0"W.x[|cWg25r !ϴi0 WFls+& ӻsڕB [,_TGds;MȞuB ^өJKj%o!l85/fQ ԛ&j5ޡޢP jj=b-FhͧH|䵈T&rNj?cfcǃ{_pa YTe}xT/ u jnGď54Xpl+,`& +vH6M4iE:S  6[(c83/VYgؑ=rD{G ^UI\.9ܔbTJ J󾅼ӌ'~rIhO.W2Fh]ktHC2 V;y;Nߢa}0{)\u9A^#lBLPbݦ+vU#.f5DG۴}shu]'sVVe fo8#/9ُ"B{[FC_ c[8a(]Ԩ9/B$#"9/\-G9@N4WlͧOñOS ~8ηpfLw^lpU-Xh &qFM3yw!nNr̢;vyoESbk<vlȃ2:}|kW]X -x5Ƙ}xF8Q~'ilk}A& xT 2Z GA`V&ȦFKu=rq !XEʞre=m* yuR/ :zQ,D wrTex_, (W^D e)oۅy"f?a2}gؕ1YM#E9,;L`/:dΔNyp=)Z?5 ˸Mݙ^/E#?1aVtT] aBm@M!Ml}_䌨>|zE0ZQ]dKo^8{ lS >p;GC&aeu'.`g#&DItE]jђ mԪ(s)LVZѲB#f!tP_;e_#GI0œ0Xs?K0%!DVok]!OcݞkIfǏѶ 7@=#6ڍ ;]5W,r/]0Jb#!;&.pG{(E[p UJp#C'J-dhEQDpA&Gc eכz&~ciAn'!WmSHkak/\G6㱖5!/tK?9`ĺaŶEUܣDZ [!ӕ'ћ^`Oڤ48i}0SUD!Z]ޠN88Ê.n63R]egAXܫu/aE2kn{"as:spڭ[>lv~Yb޼ݤkksJTy!5)SQS&y}F>ȧj b-[ߣz&b(%gšTPXT,UA;qÕ--jDL7X[o؋u^w,}lYʋܗX'DM)9\YZx7 e%-HUş^PIr5?=E6&QDWԉul!F1ENȱ#)tFQTE"&G4UFvZ_` >FЯWg{z~&n67Emvop XYNd47(b)Sץٜ*&+u}aKdr[5[Q{/tQ Q(Fa/Gov >[ׁC& 3HA?nd7h߄LFE:uʯx]1H4q۶zaƜGCAeBY߇Zl ҖB@62-sAe %灐+*=Z1ۓǯiy\vxQm y/v'/^8_9Dz S/"`!qv$04IDcp& u݌* D{׾9.!A_Sta7w5ql07ϢQLQ E&Y(iUDc>}`y_ ׁlOoU6ц]4LD`0K&@z27G ZQXocܶh|uǡ ~TFd[jP_ "[5#׌PXlcIT xfpq=&P25_"Cӥ7DAԈ^ϚH!#=9IB̼j֯4z'O?\@O7L-HJބꃸܜ\TF8m~}zׁX+*}`w0M6۹;OI %^4=RFJ"31<#e;#%'-: -*];Gw@مںjFE纵91j_A˩[_#hcMLZ>ZmgY [p\1}Yd$6- ֖58TRJU%1;>g࡟Lpi[W~1.w%${#vD{Ǹd8{6/}׭R3b/\ ҠV~A6}ǭ5B6Yi}x{*vyȶU6 w?X .Rנ7jI 0`XY{s~`,ζ6<'g)3P O ,tIh,4>͢EK0n $< ϵnh/n<"E#<_c t' /"a<o&xG-pÇc51NK^ȭ/MS$j@\J?aޖ-;W(<:E᢮;<)ZF?1)Kס@d HP`¢[hRaU)n`˛a2OQ#C (df9͙d:UVqƚvՈ y}GSKrڶ.uv9@2> VeKQ>y^r[[բNa*&8VT9|oW'([_+^6l%I*i>!%hiF(r_ (*5!!D2=oanĨ/rW 2"95 }.ppWDsXA_8C.ubrm<\` MMEcqZ"+;z,b}ek]|g5h~/:4,D-kU,.)R2.'%X&B^Z=<'QIrQR>l*bbdQL~Sz+J(/V d]lw !1g;5Cg[K>l|_\?Yiꮌl6v Cޙk bWW(ɏ֬ZrEEBOpEbO{(鮾,wNvdyBQ ڇ dQ]QQ9N3=ůJN@w> hlMywmr[u eUÑt7-]h'_rֿ/Xzɏfpzm n!na;v/U^5i-Z_|O+*tWySV?I Ae6oA<A[KVU\vD#C }.l3 ]m:n'q&aOB*<'77U0PidL2Ar(9FLHbT,0 ~0 Nh?rX;oݿyP,+ހRQ2X`\֯ߋ=|6p1b;B[57MG$W9_\CrBLe\EdxJ\|*?Rb%FŨJ XCBGYD\:*̫ʾQ wrQS*瀭lSY_ki׫{^QqɩR S0,;47§!:OI> endobj 5 0 obj <> /Doc-Start<> /page.2<> /page.3<> /chapter*.1<> /page.4<> /page.5<> /chapter*.2<> /section*.3<> /section*.4<> /page.6<> /section*.5<> /section*.6<> /page.7<> /chapter.1<> /subsection.1.0.1<> /subsection.1.0.2<> /page.8<> /page.9<> /subsection.1.0.3<> /page.10<> /page.11<> /appendix.A<> /page.12<> /page.13<> /page.14<> /page.15<> /page.16<> /page.17<> /page.18<> /page.19<> /page.20<> /page.21<> /page.22<> /page.23<>>>endobj 180 0 obj <>stream LaTeX with hyperref package ()() endstream endobj 2 0 obj <>endobj xref 0 181 0000000000 65535 f 0000059950 00000 n 0000106932 00000 n 0000059670 00000 n 0000055915 00000 n 0000101700 00000 n 0000059894 00000 n 0000060092 00000 n 0000060485 00000 n 0000060373 00000 n 0000060182 00000 n 0000060279 00000 n 0000101619 00000 n 0000000015 00000 n 0000000527 00000 n 0000060617 00000 n 0000065168 00000 n 0000072282 00000 n 0000064672 00000 n 0000069705 00000 n 0000068109 00000 n 0000090582 00000 n 0000060659 00000 n 0000060691 00000 n 0000056076 00000 n 0000000547 00000 n 0000001107 00000 n 0000067503 00000 n 0000083382 00000 n 0000060745 00000 n 0000060777 00000 n 0000056238 00000 n 0000001127 00000 n 0000001893 00000 n 0000060820 00000 n 0000067171 00000 n 0000081044 00000 n 0000060952 00000 n 0000061085 00000 n 0000061224 00000 n 0000061363 00000 n 0000061502 00000 n 0000061636 00000 n 0000061668 00000 n 0000056450 00000 n 0000056549 00000 n 0000001913 00000 n 0000003942 00000 n 0000066690 00000 n 0000080155 00000 n 0000061722 00000 n 0000061754 00000 n 0000056711 00000 n 0000003963 00000 n 0000005726 00000 n 0000066315 00000 n 0000078979 00000 n 0000065956 00000 n 0000077757 00000 n 0000065801 00000 n 0000076999 00000 n 0000065644 00000 n 0000076307 00000 n 0000065012 00000 n 0000071576 00000 n 0000064441 00000 n 0000069196 00000 n 0000061819 00000 n 0000061851 00000 n 0000056873 00000 n 0000005747 00000 n 0000008083 00000 n 0000061993 00000 n 0000062025 00000 n 0000057035 00000 n 0000008104 00000 n 0000010984 00000 n 0000062068 00000 n 0000062100 00000 n 0000057197 00000 n 0000011005 00000 n 0000012106 00000 n 0000062176 00000 n 0000062208 00000 n 0000057359 00000 n 0000057458 00000 n 0000012127 00000 n 0000014557 00000 n 0000068612 00000 n 0000094682 00000 n 0000062273 00000 n 0000062305 00000 n 0000057620 00000 n 0000014578 00000 n 0000018475 00000 n 0000062359 00000 n 0000062391 00000 n 0000057782 00000 n 0000018496 00000 n 0000022251 00000 n 0000062456 00000 n 0000062489 00000 n 0000057946 00000 n 0000022272 00000 n 0000026097 00000 n 0000062555 00000 n 0000062588 00000 n 0000058112 00000 n 0000026119 00000 n 0000029714 00000 n 0000062654 00000 n 0000062687 00000 n 0000058278 00000 n 0000029736 00000 n 0000033314 00000 n 0000062753 00000 n 0000062786 00000 n 0000058444 00000 n 0000033336 00000 n 0000037158 00000 n 0000062852 00000 n 0000062885 00000 n 0000058610 00000 n 0000037180 00000 n 0000040770 00000 n 0000062951 00000 n 0000062984 00000 n 0000058776 00000 n 0000040792 00000 n 0000044661 00000 n 0000063050 00000 n 0000063083 00000 n 0000058942 00000 n 0000044683 00000 n 0000048487 00000 n 0000063149 00000 n 0000063182 00000 n 0000059108 00000 n 0000048509 00000 n 0000052637 00000 n 0000063248 00000 n 0000063281 00000 n 0000059274 00000 n 0000052659 00000 n 0000055199 00000 n 0000063347 00000 n 0000063380 00000 n 0000059440 00000 n 0000055221 00000 n 0000055894 00000 n 0000063446 00000 n 0000063577 00000 n 0000063708 00000 n 0000063840 00000 n 0000063970 00000 n 0000064101 00000 n 0000064233 00000 n 0000064364 00000 n 0000064397 00000 n 0000069388 00000 n 0000069965 00000 n 0000071786 00000 n 0000072603 00000 n 0000076522 00000 n 0000077206 00000 n 0000077982 00000 n 0000079208 00000 n 0000080382 00000 n 0000081305 00000 n 0000083813 00000 n 0000091001 00000 n 0000095211 00000 n 0000064585 00000 n 0000065554 00000 n 0000066221 00000 n 0000066595 00000 n 0000067049 00000 n 0000068007 00000 n 0000068519 00000 n 0000069090 00000 n 0000105493 00000 n trailer << /Size 181 /Root 1 0 R /Info 2 0 R /ID [<7432557939C8B3FBA197BD530BFB2ED4><7432557939C8B3FBA197BD530BFB2ED4>] >> startxref 107143 %%EOF viper-1.0.0/doc/manual/viper-user-manual.tex0000644000000000000000000000043611667652155017124 0ustar 00000000000000\documentclass{fenicsmanual} \begin{document} \fenicstitle{Viper User Manual} \fenicsauthor{Ola Skavhaug} \fenicspackage{\textbf{\textsf{Viper}}}{viper} \maketitle \input{chapters/about.tex} \input{chapters/introduction.tex} \appendix \input{chapters/license.tex} \end{document} viper-1.0.0/doc/manual/chapters/about.tex0000644000000000000000000000337611667652155016501 0ustar 00000000000000% This chapter is common to all FEniCS manuals \addcontentsline{toc}{chapter}{About this manual} \chapter*{About this manual} This manual is currently being written. As a consequence, some sections may be incomplete or inaccurate. %------------------------------------------------------------------------------ \section*{Intended audience} This manual is written both for the beginning and the advanced user. There is also some useful information for developers. More advanced topics are treated at the end of the manual or in the appendix. %------------------------------------------------------------------------------ \section*{Typographic conventions} \index{typographic conventions} \begin{itemize} \item Code is written in monospace (typewriter) \texttt{like this}. \item Commands that should be entered in a Unix shell are displayed as follows: \begin{code} # ./configure # make \end{code} Commands are written in the dialect of the \texttt{bash} shell. For other shells, such as \texttt{tcsh}, appropriate translations may be needed. \end{itemize} %------------------------------------------------------------------------------ \section*{Enumeration and list indices} \index{enumeration} \index{indices} Throughout this manual, elements $x_i$ of sets $\{x_i\}$ of size $n$ are enumerated from $i = 0$ to $i = n-1$. Derivatives in $\R^n$ are enumerated similarly: $\frac{\partial}{\partial x_0}, \frac{\partial}{\partial x_1}, \ldots, \frac{\partial}{\partial x_{n-1}}$. %------------------------------------------------------------------------------ \section*{Contact} \index{contact} Comments, corrections and contributions to this manual are most welcome and should be sent to \begin{macrocode} \packagett{}-dev@fenics.org \end{macrocode} viper-1.0.0/doc/manual/chapters/introduction.tex0000644000000000000000000000475311667652155020110 0ustar 00000000000000\chapter{Introduction} Viper is a light--weight runtime visualization package for scalar and vector fields over unstructured meshes. The intended use is simple plotting, not advanced post--processing. As a consequence, Viper is mainly controlled by key--bindings, available when Viper is run in interactive mode. \subsection{Features} Viper can be used in two different modes; one mode that is stand-alone working with a simplified unstructured mesh format given by a vertex array and a cell - node connectivity array, and floating point numpy arrays representing either scalar or vector fields over the mesh. The other mode is tied to DOLFIN, aiming at providing that project a simple way of visualizing native DOLFIN data types such as dolfin::Mesh, dolfin::Function, and dolfin::MeshFunction. \subsection{Stand-alone mode} As a stand-alone application or library, Viper can visualize: \begin{itemize} \item A mesh given as two numpy arrays. For example: \begin{code} import numpy as _n import viper coords = _n.array([[0.0, 0.0, 0.0], [1.0, 0.0, 0.0], [0.0, 1.0, 0.0], [1.0, 1.0, 0.0]]) triangles= _n.array([[0,1,2],[1,2,3]], dtype='i') v = viper.Viper(coordinates=coords, cells=triangles) #or, for tetrahedral meshes: #coords = _n.array([[0.0, 0.0, 0.0], [1.0, 0.0, 0.0], # [0.0, 1.0, 0.0], [1.0, 1.0, 1.0]]) #tets = _n.array([[0,1,2,3]], dtype='i') #v = viper.Viper(coordinates=coords, cells=tets) v.interactive() \end{code} \item A scalar field given as a numpy array over a mesh: \begin{code} x = _n.sin(_n.pi*coords[:,0])*_n.cos(_n.pi*coords[:,1]) v = viper.Viper(x=x, coordinates=coords, cells=triangles) \end{code} \item A vector field given as a two dimensional numpy array over a mesh: \begin{code} v = viper.Viper(x=coords, coordinates=coords, \ cells=triangles) \end{code} \item A displacent field given as a two dimensional numpy array over a mesh: \begin{code} displacement2d = _n.zeros(coords.shape, dtype='d') displacement2d[0,:-1] = -1 v = viper.Viper(coordinates=coords, cells=triangles, displacement=displacement2d) \end{code} An auxiliary scalar field may be given when plotting displacent fields. \end{itemize} \subsection{Key--bindings} In interactive mode, the following key bindings are available: \begin{itemize} \item w: Wireframe \item s: Solid \item o: Outline \item p: Write scene to file in png-format \item v: Write vtk \item r: Reset camera view along current view direction \item q: Quit interactive mode \end{itemize} viper-1.0.0/doc/manual/chapters/license.tex0000644000000000000000000006416711667652155017016 0ustar 00000000000000% This chapter is common to the DOLFIN and FFC manuals. \chapter{License} \index{LGPL} \index{GNU Lesser General Public License} \index{license} \package{} is licensed under the GNU Lesser General Public License (LGPL) version 2.1, included verbatim below. \footnotesize \begin{verbatim} GNU LESSER GENERAL PUBLIC LICENSE Version 2.1, February 1999 Copyright (C) 1991, 1999 Free Software Foundation, Inc. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. [This is the first released version of the Lesser GPL. It also counts as the successor of the GNU Library Public License, version 2, hence the version number 2.1.] Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public Licenses are intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This license, the Lesser General Public License, applies to some specially designated software packages--typically libraries--of the Free Software Foundation and other authors who decide to use it. You can use it too, but we suggest you first think carefully about whether this license or the ordinary General Public License is the better strategy to use in any particular case, based on the explanations below. When we speak of free software, we are referring to freedom of use, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish); that you receive source code or can get it if you want it; that you can change the software and use pieces of it in new free programs; and that you are informed that you can do these things. To protect your rights, we need to make restrictions that forbid distributors to deny you these rights or to ask you to surrender these rights. These restrictions translate to certain responsibilities for you if you distribute copies of the library or if you modify it. For example, if you distribute copies of the library, whether gratis or for a fee, you must give the recipients all the rights that we gave you. You must make sure that they, too, receive or can get the source code. If you link other code with the library, you must provide complete object files to the recipients, so that they can relink them with the library after making changes to the library and recompiling it. And you must show them these terms so they know their rights. We protect your rights with a two-step method: (1) we copyright the library, and (2) we offer you this license, which gives you legal permission to copy, distribute and/or modify the library. To protect each distributor, we want to make it very clear that there is no warranty for the free library. Also, if the library is modified by someone else and passed on, the recipients should know that what they have is not the original version, so that the original author's reputation will not be affected by problems that might be introduced by others. Finally, software patents pose a constant threat to the existence of any free program. We wish to make sure that a company cannot effectively restrict the users of a free program by obtaining a restrictive license from a patent holder. Therefore, we insist that any patent license obtained for a version of the library must be consistent with the full freedom of use specified in this license. Most GNU software, including some libraries, is covered by the ordinary GNU General Public License. This license, the GNU Lesser General Public License, applies to certain designated libraries, and is quite different from the ordinary General Public License. We use this license for certain libraries in order to permit linking those libraries into non-free programs. When a program is linked with a library, whether statically or using a shared library, the combination of the two is legally speaking a combined work, a derivative of the original library. The ordinary General Public License therefore permits such linking only if the entire combination fits its criteria of freedom. The Lesser General Public License permits more lax criteria for linking other code with the library. We call this license the "Lesser" General Public License because it does Less to protect the user's freedom than the ordinary General Public License. It also provides other free software developers Less of an advantage over competing non-free programs. These disadvantages are the reason we use the ordinary General Public License for many libraries. However, the Lesser license provides advantages in certain special circumstances. For example, on rare occasions, there may be a special need to encourage the widest possible use of a certain library, so that it becomes a de-facto standard. To achieve this, non-free programs must be allowed to use the library. A more frequent case is that a free library does the same job as widely used non-free libraries. In this case, there is little to gain by limiting the free library to free software only, so we use the Lesser General Public License. In other cases, permission to use a particular library in non-free programs enables a greater number of people to use a large body of free software. For example, permission to use the GNU C Library in non-free programs enables many more people to use the whole GNU operating system, as well as its variant, the GNU/Linux operating system. Although the Lesser General Public License is Less protective of the users' freedom, it does ensure that the user of a program that is linked with the Library has the freedom and the wherewithal to run that program using a modified version of the Library. The precise terms and conditions for copying, distribution and modification follow. Pay close attention to the difference between a "work based on the library" and a "work that uses the library". The former contains code derived from the library, whereas the latter must be combined with the library in order to run. GNU LESSER GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License Agreement applies to any software library or other program which contains a notice placed by the copyright holder or other authorized party saying it may be distributed under the terms of this Lesser General Public License (also called "this License"). Each licensee is addressed as "you". A "library" means a collection of software functions and/or data prepared so as to be conveniently linked with application programs (which use some of those functions and data) to form executables. The "Library", below, refers to any such software library or work which has been distributed under these terms. A "work based on the Library" means either the Library or any derivative work under copyright law: that is to say, a work containing the Library or a portion of it, either verbatim or with modifications and/or translated straightforwardly into another language. (Hereinafter, translation is included without limitation in the term "modification".) "Source code" for a work means the preferred form of the work for making modifications to it. For a library, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the library. Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running a program using the Library is not restricted, and output from such a program is covered only if its contents constitute a work based on the Library (independent of the use of the Library in a tool for writing it). Whether that is true depends on what the Library does and what the program that uses the Library does. 1. You may copy and distribute verbatim copies of the Library's complete source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and distribute a copy of this License along with the Library. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Library or any portion of it, thus forming a work based on the Library, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) The modified work must itself be a software library. b) You must cause the files modified to carry prominent notices stating that you changed the files and the date of any change. c) You must cause the whole of the work to be licensed at no charge to all third parties under the terms of this License. d) If a facility in the modified Library refers to a function or a table of data to be supplied by an application program that uses the facility, other than as an argument passed when the facility is invoked, then you must make a good faith effort to ensure that, in the event an application does not supply such function or table, the facility still operates, and performs whatever part of its purpose remains meaningful. (For example, a function in a library to compute square roots has a purpose that is entirely well-defined independent of the application. Therefore, Subsection 2d requires that any application-supplied function or table used by this function must be optional: if the application does not supply it, the square root function must still compute square roots.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Library, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Library, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Library. In addition, mere aggregation of another work not based on the Library with the Library (or with a work based on the Library) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may opt to apply the terms of the ordinary GNU General Public License instead of this License to a given copy of the Library. To do this, you must alter all the notices that refer to this License, so that they refer to the ordinary GNU General Public License, version 2, instead of to this License. (If a newer version than version 2 of the ordinary GNU General Public License has appeared, then you can specify that version instead if you wish.) Do not make any other change in these notices. Once this change is made in a given copy, it is irreversible for that copy, so the ordinary GNU General Public License applies to all subsequent copies and derivative works made from that copy. This option is useful when you wish to copy part of the code of the Library into a program that is not a library. 4. You may copy and distribute the Library (or a portion or derivative of it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange. If distribution of object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place satisfies the requirement to distribute the source code, even though third parties are not compelled to copy the source along with the object code. 5. A program that contains no derivative of any portion of the Library, but is designed to work with the Library by being compiled or linked with it, is called a "work that uses the Library". Such a work, in isolation, is not a derivative work of the Library, and therefore falls outside the scope of this License. However, linking a "work that uses the Library" with the Library creates an executable that is a derivative of the Library (because it contains portions of the Library), rather than a "work that uses the library". The executable is therefore covered by this License. Section 6 states terms for distribution of such executables. When a "work that uses the Library" uses material from a header file that is part of the Library, the object code for the work may be a derivative work of the Library even though the source code is not. Whether this is true is especially significant if the work can be linked without the Library, or if the work is itself a library. The threshold for this to be true is not precisely defined by law. If such an object file uses only numerical parameters, data structure layouts and accessors, and small macros and small inline functions (ten lines or less in length), then the use of the object file is unrestricted, regardless of whether it is legally a derivative work. (Executables containing this object code plus portions of the Library will still fall under Section 6.) Otherwise, if the work is a derivative of the Library, you may distribute the object code for the work under the terms of Section 6. Any executables containing that work also fall under Section 6, whether or not they are linked directly with the Library itself. 6. As an exception to the Sections above, you may also combine or link a "work that uses the Library" with the Library to produce a work containing portions of the Library, and distribute that work under terms of your choice, provided that the terms permit modification of the work for the customer's own use and reverse engineering for debugging such modifications. You must give prominent notice with each copy of the work that the Library is used in it and that the Library and its use are covered by this License. You must supply a copy of this License. If the work during execution displays copyright notices, you must include the copyright notice for the Library among them, as well as a reference directing the user to the copy of this License. Also, you must do one of these things: a) Accompany the work with the complete corresponding machine-readable source code for the Library including whatever changes were used in the work (which must be distributed under Sections 1 and 2 above); and, if the work is an executable linked with the Library, with the complete machine-readable "work that uses the Library", as object code and/or source code, so that the user can modify the Library and then relink to produce a modified executable containing the modified Library. (It is understood that the user who changes the contents of definitions files in the Library will not necessarily be able to recompile the application to use the modified definitions.) b) Use a suitable shared library mechanism for linking with the Library. A suitable mechanism is one that (1) uses at run time a copy of the library already present on the user's computer system, rather than copying library functions into the executable, and (2) will operate properly with a modified version of the library, if the user installs one, as long as the modified version is interface-compatible with the version that the work was made with. c) Accompany the work with a written offer, valid for at least three years, to give the same user the materials specified in Subsection 6a, above, for a charge no more than the cost of performing this distribution. d) If distribution of the work is made by offering access to copy from a designated place, offer equivalent access to copy the above specified materials from the same place. e) Verify that the user has already received a copy of these materials or that you have already sent this user a copy. For an executable, the required form of the "work that uses the Library" must include any data and utility programs needed for reproducing the executable from it. However, as a special exception, the materials to be distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. It may happen that this requirement contradicts the license restrictions of other proprietary libraries that do not normally accompany the operating system. Such a contradiction means you cannot use both them and the Library together in an executable that you distribute. 7. You may place library facilities that are a work based on the Library side-by-side in a single library together with other library facilities not covered by this License, and distribute such a combined library, provided that the separate distribution of the work based on the Library and of the other library facilities is otherwise permitted, and provided that you do these two things: a) Accompany the combined library with a copy of the same work based on the Library, uncombined with any other library facilities. This must be distributed under the terms of the Sections above. b) Give prominent notice with the combined library of the fact that part of it is a work based on the Library, and explaining where to find the accompanying uncombined form of the same work. 8. You may not copy, modify, sublicense, link with, or distribute the Library except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense, link with, or distribute the Library is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 9. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Library or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Library (or any work based on the Library), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Library or works based on it. 10. Each time you redistribute the Library (or any work based on the Library), the recipient automatically receives a license from the original licensor to copy, distribute, link with or modify the Library subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties with this License. 11. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Library at all. For example, if a patent license would not permit royalty-free redistribution of the Library by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Library. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply, and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 12. If the distribution and/or use of the Library is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Library under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 13. The Free Software Foundation may publish revised and/or new versions of the Lesser General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Library specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Library does not specify a license version number, you may choose any version ever published by the Free Software Foundation. 14. If you wish to incorporate parts of the Library into other free programs whose distribution conditions are incompatible with these, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Libraries If you develop a new library, and you want it to be of the greatest possible use to the public, we recommend making it free software that everyone can redistribute and change. You can do so by permitting redistribution under these terms (or, alternatively, under the terms of the ordinary General Public License). To apply these terms, attach the following notices to the library. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Also add information on how to contact you by electronic and paper mail. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the library, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the library `Frob' (a library for tweaking knobs) written by James Random Hacker. , 1 April 1990 Ty Coon, President of Vice That's all there is to it! \end{verbatim} \normalsize viper-1.0.0/misc/vtk/0000755000000000000000000000000011667652155012540 5ustar 00000000000000viper-1.0.0/misc/vtk/wx-2.8/0000755000000000000000000000000011667652155013503 5ustar 00000000000000viper-1.0.0/misc/vtk/wx-2.8/README.TXT0000644000000000000000000000077511667652155015052 0ustar 00000000000000The contents of this directory comes from the latest (as of Aug 21, 2008) VTK source. It contains the wxPython widget for VTK, and must replace the deprecated wx widget used in older VTK installations (like the one in Ubuntu Hardy package), when python-wxgtk2.8 (or newer) is used. To install, copy the Python files in this directory to the place where the VTK installation has put the deprecated files (bash example): cp *.py `python -c 'from vtk import wx; import os; print os.path.dirname(wx.__file__)'` viper-1.0.0/misc/vtk/wx-2.8/__init__.py0000644000000000000000000000014011667652155015607 0ustar 00000000000000"""wxPython widgets for VTK.""" __all__ = ['wxVTKRenderWindow', 'wxVTKRenderWindowInteractor'] viper-1.0.0/misc/vtk/wx-2.8/wxVTKRenderWindow.py0000644000000000000000000005545711667652155017450 0ustar 00000000000000""" A simple VTK widget for wxPython. Find wxPython info at http://wxPython.org Created by David Gobbi, December 2001 Based on vtkTkRenderWindget.py Updated to new wx namespace and some cleaning by Andrea Gavana, December 2006 """ """ Please see the example at the end of this file. ---------------------------------------- Creation: wxVTKRenderWindow(parent, ID, stereo=0, [wx keywords]): You should create a wx.PySimpleApp() or some other wx**App before creating the window. ---------------------------------------- Methods: Render() AddRenderer(ren) GetRenderers() GetRenderWindow() ---------------------------------------- Methods to override (all take a wx.Event): OnButtonDown(event) default: propagate event to Left, Right, Middle OnLeftDown(event) default: set _Mode to 'Rotate' OnRightDown(event) default: set _Mode to 'Zoom' OnMiddleDown(event) default: set _Mode to 'Pan' OnButtonUp(event) default: propagate event to L, R, M and unset _Mode OnLeftUp(event) OnRightUp(event) OnMiddleUp(event) OnMotion(event) default: call appropriate handler for _Mode OnEnterWindow(event) default: set focus to this window OnLeaveWindow(event) default: release focus OnKeyDown(event) default: [R]eset, [W]irefreme, [S]olid, [P]ick OnKeyUp(event) OnChar(event) OnSetFocus(event) OnKillFocus(event) OnSize(event) OnMove(event) OnPaint(event) default: Render() ---------------------------------------- Protected Members: _Mode: Current mode: 'Rotate', 'Zoom', 'Pan' _LastX, _LastY: The (x,y) coordinates of the previous event _CurrentRenderer: The renderer that was most recently clicked in _CurrentCamera: The camera for the current renderer ---------------------------------------- Private Members: __Handle: Handle to the window containing the vtkRenderWindow """ # import usual libraries import math, os, sys import wx import vtk # a few configuration items, see what works best on your system # Use GLCanvas as base class instead of wx.Window. # This is sometimes necessary under wxGTK or the image is blank. # (in wxWindows 2.3.1 and earlier, the GLCanvas had scroll bars) baseClass = wx.Window if wx.Platform == "__WXGTK__": import wx.glcanvas baseClass = wx.glcanvas.GLCanvas # Keep capturing mouse after mouse is dragged out of window # (in wxGTK 2.3.2 there is a bug that keeps this from working, # but it is only relevant in wxGTK if there are multiple windows) _useCapture = (wx.Platform == "__WXMSW__") # end of configuration items class wxVTKRenderWindow(baseClass): """ A wxRenderWindow for wxPython. Use GetRenderWindow() to get the vtkRenderWindow. Create with the keyword stereo=1 in order to generate a stereo-capable window. """ def __init__(self, parent, ID, *args, **kw): """Default class constructor. @param parent: parent window @param ID: window id @param **kw: wxPython keywords (position, size, style) plus the 'stereo' keyword """ # miscellaneous protected variables self._CurrentRenderer = None self._CurrentCamera = None self._CurrentZoom = 1.0 self._CurrentLight = None self._ViewportCenterX = 0 self._ViewportCenterY = 0 self._Picker = vtk.vtkCellPicker() self._PickedActor = None self._PickedProperty = vtk.vtkProperty() self._PickedProperty.SetColor(1,0,0) self._PrePickedProperty = None # these record the previous mouse position self._LastX = 0 self._LastY = 0 # the current interaction mode (Rotate, Pan, Zoom, etc) self._Mode = None self._ActiveButton = None # private attributes self.__OldFocus = None # used by the LOD actors self._DesiredUpdateRate = 15 self._StillUpdateRate = 0.0001 # First do special handling of some keywords: # stereo, position, size, width, height, style stereo = 0 if kw.has_key('stereo'): if kw['stereo']: stereo = 1 del kw['stereo'] position = wx.DefaultPosition if kw.has_key('position'): position = kw['position'] del kw['position'] try: size = parent.GetSize() except AttributeError: size = wx.DefaultSize if kw.has_key('size'): size = kw['size'] del kw['size'] # wx.WANTS_CHARS says to give us e.g. TAB # wx.NO_FULL_REPAINT_ON_RESIZE cuts down resize flicker under GTK style = wx.WANTS_CHARS | wx.NO_FULL_REPAINT_ON_RESIZE if kw.has_key('style'): style = style | kw['style'] del kw['style'] # the enclosing frame must be shown under GTK or the windows # don't connect together properly l = [] p = parent while p: # make a list of all parents l.append(p) p = p.GetParent() l.reverse() # sort list into descending order for p in l: p.Show(1) # initialize the wx.Window baseClass.__init__(self, parent, ID, position, size, style) # create the RenderWindow and initialize it self._RenderWindow = vtk.vtkRenderWindow() self._RenderWindow.SetSize(size.width, size.height) if stereo: self._RenderWindow.StereoCapableWindowOn() self._RenderWindow.SetStereoTypeToCrystalEyes() self.__handle = None # refresh window by doing a Render self.Bind(wx.EVT_PAINT, self.OnPaint) # turn off background erase to reduce flicker self.Bind(wx.EVT_ERASE_BACKGROUND, lambda e: None) # Bind the events to the event converters self.Bind(wx.EVT_RIGHT_DOWN, self._OnButtonDown) self.Bind(wx.EVT_LEFT_DOWN, self._OnButtonDown) self.Bind(wx.EVT_MIDDLE_DOWN, self._OnButtonDown) self.Bind(wx.EVT_RIGHT_UP, self._OnButtonUp) self.Bind(wx.EVT_LEFT_UP, self._OnButtonUp) self.Bind(wx.EVT_MIDDLE_UP, self._OnButtonUp) self.Bind(wx.EVT_MOTION, self.OnMotion) self.Bind(wx.EVT_ENTER_WINDOW, self._OnEnterWindow) self.Bind(wx.EVT_LEAVE_WINDOW, self._OnLeaveWindow) self.Bind(wx.EVT_CHAR, self.OnChar) # If we use EVT_KEY_DOWN instead of EVT_CHAR, capital versions # of all characters are always returned. EVT_CHAR also performs # other necessary keyboard-dependent translations. self.Bind(wx.EVT_CHAR, self.OnKeyDown) self.Bind(wx.EVT_KEY_UP, self.OnKeyUp) self.Bind(wx.EVT_SIZE, self._OnSize) self.Bind(wx.EVT_MOVE, self.OnMove) self.Bind(wx.EVT_SET_FOCUS, self.OnSetFocus) self.Bind(wx.EVT_KILL_FOCUS, self.OnKillFocus) def SetDesiredUpdateRate(self, rate): """Mirrors the method with the same name in vtkRenderWindowInteractor. """ self._DesiredUpdateRate = rate def GetDesiredUpdateRate(self): """Mirrors the method with the same name in vtkRenderWindowInteractor. """ return self._DesiredUpdateRate def SetStillUpdateRate(self, rate): """Mirrors the method with the same name in vtkRenderWindowInteractor. """ self._StillUpdateRate = rate def GetStillUpdateRate(self): """Mirrors the method with the same name in vtkRenderWindowInteractor. """ return self._StillUpdateRate def OnPaint(self, event): """Handles the wx.EVT_PAINT event for wxVTKRenderWindow. """ dc = wx.PaintDC(self) self.Render() def _OnSize(self, event): """Handles the wx.EVT_SIZE event for wxVTKRenderWindow. """ if wx.Platform != '__WXMSW__': width, height = event.GetSize() self._RenderWindow.SetSize(width, height) self.OnSize(event) self.Render() def OnSize(self, event): """Overridable event. """ pass def OnMove(self, event): """Overridable event. """ pass def _OnEnterWindow(self, event): """Handles the wx.EVT_ENTER_WINDOW event for wxVTKRenderWindow. """ self.UpdateRenderer(event) self.OnEnterWindow(event) def OnEnterWindow(self, event): """Overridable event. """ if self.__OldFocus == None: self.__OldFocus = wx.Window.FindFocus() self.SetFocus() def _OnLeaveWindow(self, event): """Handles the wx.EVT_LEAVE_WINDOW event for wxVTKRenderWindow. """ self.OnLeaveWindow(event) def OnLeaveWindow(self, event): """Overridable event. """ if self.__OldFocus: self.__OldFocus.SetFocus() self.__OldFocus = None def OnSetFocus(self, event): """Overridable event. """ pass def OnKillFocus(self, event): """Overridable event. """ pass def _OnButtonDown(self, event): """Handles the wx.EVT_LEFT/RIGHT/MIDDLE_DOWN events for wxVTKRenderWindow. """ # helper function for capturing mouse until button released self._RenderWindow.SetDesiredUpdateRate(self._DesiredUpdateRate) if event.RightDown(): button = "Right" elif event.LeftDown(): button = "Left" elif event.MiddleDown(): button = "Middle" else: button = None # save the button and capture mouse until the button is released if button and not self._ActiveButton: self._ActiveButton = button if _useCapture: self.CaptureMouse() self.OnButtonDown(event) def OnButtonDown(self, event): """Overridable event. """ if not self._Mode: # figure out what renderer the mouse is over self.UpdateRenderer(event) if event.LeftDown(): self.OnLeftDown(event) elif event.RightDown(): self.OnRightDown(event) elif event.MiddleDown(): self.OnMiddleDown(event) def OnLeftDown(self, event): """Overridable event. """ if not self._Mode: if event.ControlDown(): self._Mode = "Zoom" elif event.ShiftDown(): self._Mode = "Pan" else: self._Mode = "Rotate" def OnRightDown(self, event): """Overridable event. """ if not self._Mode: self._Mode = "Zoom" def OnMiddleDown(self, event): """Overridable event. """ if not self._Mode: self._Mode = "Pan" def _OnButtonUp(self, event): """Handles the wx.EVT_LEFT/RIGHT/MIDDLE_UP events for wxVTKRenderWindow. """ # helper function for releasing mouse capture self._RenderWindow.SetDesiredUpdateRate(self._StillUpdateRate) if event.RightUp(): button = "Right" elif event.LeftUp(): button = "Left" elif event.MiddleUp(): button = "Middle" else: button = None # if the ActiveButton is realeased, then release mouse capture if self._ActiveButton and button == self._ActiveButton: if _useCapture: self.ReleaseMouse() self._ActiveButton = None self.OnButtonUp(event) def OnButtonUp(self, event): """Overridable event. """ if event.LeftUp(): self.OnLeftUp(event) elif event.RightUp(): self.OnRightUp(event) elif event.MiddleUp(): self.OnMiddleUp(event) # if not interacting, then do nothing more if self._Mode: if self._CurrentRenderer: self.Render() self._Mode = None def OnLeftUp(self, event): """Overridable event. """ pass def OnRightUp(self, event): """Overridable event. """ pass def OnMiddleUp(self, event): """Overridable event. """ pass def OnMotion(self, event): """Overridable event. """ if self._Mode == "Pan": self.Pan(event) elif self._Mode == "Rotate": self.Rotate(event) elif self._Mode == "Zoom": self.Zoom(event) def OnChar(self, event): """Overridable event. """ pass def OnKeyDown(self, event): """Handles the wx.EVT_KEY_DOWN events for wxVTKRenderWindow. """ if event.GetKeyCode() == ord('r'): self.Reset(event) if event.GetKeyCode() == ord('w'): self.Wireframe() if event.GetKeyCode() == ord('s'): self.Surface() if event.GetKeyCode() == ord('p'): self.PickActor(event) if event.GetKeyCode() < 256: self.OnChar(event) def OnKeyUp(self, event): """Overridable event. """ pass def GetZoomFactor(self): """Returns the current zoom factor. """ return self._CurrentZoom def GetRenderWindow(self): """Returns the render window (vtkRenderWindow). """ return self._RenderWindow def GetPicker(self): """Returns the current picker (vtkCellPicker). """ return self._Picker def Render(self): """Actually renders the VTK scene on screen. """ if self._CurrentLight: light = self._CurrentLight light.SetPosition(self._CurrentCamera.GetPosition()) light.SetFocalPoint(self._CurrentCamera.GetFocalPoint()) if not self.GetUpdateRegion().IsEmpty() or self.__handle: if self.__handle and self.__handle == self.GetHandle(): self._RenderWindow.Render() elif self.GetHandle(): # this means the user has reparented us # let's adapt to the new situation by doing the WindowRemap # dance self._RenderWindow.SetNextWindowInfo(str(self.GetHandle())) self._RenderWindow.WindowRemap() # store the new situation self.__handle = self.GetHandle() self._RenderWindow.Render() def UpdateRenderer(self, event): """ UpdateRenderer will identify the renderer under the mouse and set up _CurrentRenderer, _CurrentCamera, and _CurrentLight. """ x = event.GetX() y = event.GetY() windowX, windowY = self._RenderWindow.GetSize() renderers = self._RenderWindow.GetRenderers() numRenderers = renderers.GetNumberOfItems() self._CurrentRenderer = None renderers.InitTraversal() for i in range(0,numRenderers): renderer = renderers.GetNextItem() vx,vy = (0,0) if (windowX > 1): vx = float(x)/(windowX-1) if (windowY > 1): vy = (windowY-float(y)-1)/(windowY-1) (vpxmin,vpymin,vpxmax,vpymax) = renderer.GetViewport() if (vx >= vpxmin and vx <= vpxmax and vy >= vpymin and vy <= vpymax): self._CurrentRenderer = renderer self._ViewportCenterX = float(windowX)*(vpxmax-vpxmin)/2.0\ +vpxmin self._ViewportCenterY = float(windowY)*(vpymax-vpymin)/2.0\ +vpymin self._CurrentCamera = self._CurrentRenderer.GetActiveCamera() lights = self._CurrentRenderer.GetLights() lights.InitTraversal() self._CurrentLight = lights.GetNextItem() break self._LastX = x self._LastY = y def GetCurrentRenderer(self): """Returns the current renderer. """ return self._CurrentRenderer def Rotate(self, event): """Rotates the scene (camera). """ if self._CurrentRenderer: x = event.GetX() y = event.GetY() self._CurrentCamera.Azimuth(self._LastX - x) self._CurrentCamera.Elevation(y - self._LastY) self._CurrentCamera.OrthogonalizeViewUp() self._LastX = x self._LastY = y self._CurrentRenderer.ResetCameraClippingRange() self.Render() def Pan(self, event): """Pans the scene (camera). """ if self._CurrentRenderer: x = event.GetX() y = event.GetY() renderer = self._CurrentRenderer camera = self._CurrentCamera (pPoint0,pPoint1,pPoint2) = camera.GetPosition() (fPoint0,fPoint1,fPoint2) = camera.GetFocalPoint() if camera.GetParallelProjection(): renderer.SetWorldPoint(fPoint0,fPoint1,fPoint2,1.0) renderer.WorldToDisplay() fx,fy,fz = renderer.GetDisplayPoint() renderer.SetDisplayPoint(fx-x+self._LastX, fy+y-self._LastY, fz) renderer.DisplayToWorld() fx,fy,fz,fw = renderer.GetWorldPoint() camera.SetFocalPoint(fx,fy,fz) renderer.SetWorldPoint(pPoint0,pPoint1,pPoint2,1.0) renderer.WorldToDisplay() fx,fy,fz = renderer.GetDisplayPoint() renderer.SetDisplayPoint(fx-x+self._LastX, fy+y-self._LastY, fz) renderer.DisplayToWorld() fx,fy,fz,fw = renderer.GetWorldPoint() camera.SetPosition(fx,fy,fz) else: (fPoint0,fPoint1,fPoint2) = camera.GetFocalPoint() # Specify a point location in world coordinates renderer.SetWorldPoint(fPoint0,fPoint1,fPoint2,1.0) renderer.WorldToDisplay() # Convert world point coordinates to display coordinates dPoint = renderer.GetDisplayPoint() focalDepth = dPoint[2] aPoint0 = self._ViewportCenterX + (x - self._LastX) aPoint1 = self._ViewportCenterY - (y - self._LastY) renderer.SetDisplayPoint(aPoint0,aPoint1,focalDepth) renderer.DisplayToWorld() (rPoint0,rPoint1,rPoint2,rPoint3) = renderer.GetWorldPoint() if (rPoint3 != 0.0): rPoint0 = rPoint0/rPoint3 rPoint1 = rPoint1/rPoint3 rPoint2 = rPoint2/rPoint3 camera.SetFocalPoint((fPoint0 - rPoint0) + fPoint0, (fPoint1 - rPoint1) + fPoint1, (fPoint2 - rPoint2) + fPoint2) camera.SetPosition((fPoint0 - rPoint0) + pPoint0, (fPoint1 - rPoint1) + pPoint1, (fPoint2 - rPoint2) + pPoint2) self._LastX = x self._LastY = y self.Render() def Zoom(self, event): """Zooms the scene (camera). """ if self._CurrentRenderer: x = event.GetX() y = event.GetY() renderer = self._CurrentRenderer camera = self._CurrentCamera zoomFactor = math.pow(1.02,(0.5*(self._LastY - y))) self._CurrentZoom = self._CurrentZoom * zoomFactor if camera.GetParallelProjection(): parallelScale = camera.GetParallelScale()/zoomFactor camera.SetParallelScale(parallelScale) else: camera.Dolly(zoomFactor) renderer.ResetCameraClippingRange() self._LastX = x self._LastY = y self.Render() def Reset(self, event=None): """Resets the camera. """ if self._CurrentRenderer: self._CurrentRenderer.ResetCamera() self.Render() def Wireframe(self): """Sets the current actor representation as wireframe. """ actors = self._CurrentRenderer.GetActors() numActors = actors.GetNumberOfItems() actors.InitTraversal() for i in range(0,numActors): actor = actors.GetNextItem() actor.GetProperty().SetRepresentationToWireframe() self.Render() def Surface(self): """Sets the current actor representation as surface. """ actors = self._CurrentRenderer.GetActors() numActors = actors.GetNumberOfItems() actors.InitTraversal() for i in range(0,numActors): actor = actors.GetNextItem() actor.GetProperty().SetRepresentationToSurface() self.Render() def PickActor(self, event): """Picks an actor. """ if self._CurrentRenderer: x = event.GetX() y = event.GetY() renderer = self._CurrentRenderer picker = self._Picker windowX, windowY = self._RenderWindow.GetSize() picker.Pick(x,(windowY - y - 1),0.0,renderer) actor = picker.GetActor() if (self._PickedActor != None and self._PrePickedProperty != None): self._PickedActor.SetProperty(self._PrePickedProperty) # release hold of the property self._PrePickedProperty.UnRegister(self._PrePickedProperty) self._PrePickedProperty = None if (actor != None): self._PickedActor = actor self._PrePickedProperty = self._PickedActor.GetProperty() # hold onto the property self._PrePickedProperty.Register(self._PrePickedProperty) self._PickedActor.SetProperty(self._PickedProperty) self.Render() #---------------------------------------------------------------------------- def wxVTKRenderWindowConeExample(): """Like it says, just a simple example. """ # every wx app needs an app app = wx.PySimpleApp() # create the widget frame = wx.Frame(None, -1, "wxVTKRenderWindow", size=(400,400)) widget = wxVTKRenderWindow(frame, -1) ren = vtk.vtkRenderer() widget.GetRenderWindow().AddRenderer(ren) cone = vtk.vtkConeSource() cone.SetResolution(8) coneMapper = vtk.vtkPolyDataMapper() coneMapper.SetInput(cone.GetOutput()) coneActor = vtk.vtkActor() coneActor.SetMapper(coneMapper) ren.AddActor(coneActor) # show the window frame.Show() app.MainLoop() if __name__ == "__main__": wxVTKRenderWindowConeExample() viper-1.0.0/misc/vtk/wx-2.8/wxVTKRenderWindowInteractor.py0000644000000000000000000006053111667652155021470 0ustar 00000000000000""" A VTK RenderWindowInteractor widget for wxPython. Find wxPython info at http://wxPython.org Created by Prabhu Ramachandran, April 2002 Based on wxVTKRenderWindow.py Fixes and updates by Charl P. Botha 2003-2008 Updated to new wx namespace and some cleaning up by Andrea Gavana, December 2006 """ """ Please see the example at the end of this file. ---------------------------------------- Creation: wxVTKRenderWindowInteractor(parent, ID, stereo=0, [wx keywords]): You should create a wx.PySimpleApp() or some other wx**App before creating the window. Behaviour: Uses __getattr__ to make the wxVTKRenderWindowInteractor behave just like a vtkGenericRenderWindowInteractor. ---------------------------------------- """ # import usual libraries import math, os, sys import wx import vtk # wxPython 2.4.0.4 and newer prefers the use of True and False, standard # booleans in Python 2.2 but not earlier. Here we define these values if # they don't exist so that we can use True and False in the rest of the # code. At the time of this writing, that happens exactly ONCE in # CreateTimer() try: True except NameError: True = 1 False = 0 # a few configuration items, see what works best on your system # Use GLCanvas as base class instead of wx.Window. # This is sometimes necessary under wxGTK or the image is blank. # (in wxWindows 2.3.1 and earlier, the GLCanvas had scroll bars) baseClass = wx.Window if wx.Platform == "__WXGTK__": import wx.glcanvas baseClass = wx.glcanvas.GLCanvas # Keep capturing mouse after mouse is dragged out of window # (in wxGTK 2.3.2 there is a bug that keeps this from working, # but it is only relevant in wxGTK if there are multiple windows) _useCapture = (wx.Platform == "__WXMSW__") # end of configuration items class EventTimer(wx.Timer): """Simple wx.Timer class. """ def __init__(self, iren): """Default class constructor. @param iren: current render window """ wx.Timer.__init__(self) self.iren = iren def Notify(self): """ The timer has expired. """ self.iren.TimerEvent() class wxVTKRenderWindowInteractor(baseClass): """ A wxRenderWindow for wxPython. Use GetRenderWindow() to get the vtkRenderWindow. Create with the keyword stereo=1 in order to generate a stereo-capable window. """ # class variable that can also be used to request instances that use # stereo; this is overridden by the stereo=1/0 parameter. If you set # it to True, the NEXT instantiated object will attempt to allocate a # stereo visual. E.g.: # wxVTKRenderWindowInteractor.USE_STEREO = True # myRWI = wxVTKRenderWindowInteractor(parent, -1) USE_STEREO = False def __init__(self, parent, ID, *args, **kw): """Default class constructor. @param parent: parent window @param ID: window id @param **kw: wxPython keywords (position, size, style) plus the 'stereo' keyword """ # private attributes self.__RenderWhenDisabled = 0 # First do special handling of some keywords: # stereo, position, size, style stereo = 0 if kw.has_key('stereo'): if kw['stereo']: stereo = 1 del kw['stereo'] elif self.USE_STEREO: stereo = 1 position, size = wx.DefaultPosition, wx.DefaultSize if kw.has_key('position'): position = kw['position'] del kw['position'] if kw.has_key('size'): size = kw['size'] del kw['size'] # wx.WANTS_CHARS says to give us e.g. TAB # wx.NO_FULL_REPAINT_ON_RESIZE cuts down resize flicker under GTK style = wx.WANTS_CHARS | wx.NO_FULL_REPAINT_ON_RESIZE if kw.has_key('style'): style = style | kw['style'] del kw['style'] # the enclosing frame must be shown under GTK or the windows # don't connect together properly if wx.Platform != '__WXMSW__': l = [] p = parent while p: # make a list of all parents l.append(p) p = p.GetParent() l.reverse() # sort list into descending order for p in l: p.Show(1) # code added by cpbotha to enable stereo correctly where the user # requests this; remember that the glXContext in this case is NOT # allocated by VTK, but by WX, hence all of this. if stereo and baseClass.__name__ == 'GLCanvas': # initialize GLCanvas with correct attriblist for stereo attribList = [wx.glcanvas.WX_GL_RGBA, wx.glcanvas.WX_GL_MIN_RED, 1, wx.glcanvas.WX_GL_MIN_GREEN, 1, wx.glcanvas.WX_GL_MIN_BLUE, 1, wx.glcanvas.WX_GL_DEPTH_SIZE, 1, wx.glcanvas.WX_GL_DOUBLEBUFFER, wx.glcanvas.WX_GL_STEREO] try: baseClass.__init__(self, parent, ID, position, size, style, attribList=attribList) except wx.PyAssertionError: # stereo visual couldn't be allocated, so we go back to default baseClass.__init__(self, parent, ID, position, size, style) # and make sure everyone knows about it stereo = 0 else: baseClass.__init__(self, parent, ID, position, size, style) # create the RenderWindow and initialize it self._Iren = vtk.vtkGenericRenderWindowInteractor() self._Iren.SetRenderWindow( vtk.vtkRenderWindow() ) self._Iren.AddObserver('CreateTimerEvent', self.CreateTimer) self._Iren.AddObserver('DestroyTimerEvent', self.DestroyTimer) self._Iren.GetRenderWindow().AddObserver('CursorChangedEvent', self.CursorChangedEvent) try: self._Iren.GetRenderWindow().SetSize(size.width, size.height) except AttributeError: self._Iren.GetRenderWindow().SetSize(size[0], size[1]) if stereo: self._Iren.GetRenderWindow().StereoCapableWindowOn() self._Iren.GetRenderWindow().SetStereoTypeToCrystalEyes() self.__handle = None self.BindEvents() # with this, we can make sure that the reparenting logic in # Render() isn't called before the first OnPaint() has # successfully been run (and set up the VTK/WX display links) self.__has_painted = False # set when we have captured the mouse. self._own_mouse = False # used to store WHICH mouse button led to mouse capture self._mouse_capture_button = 0 # A mapping for cursor changes. self._cursor_map = {0: wx.CURSOR_ARROW, # VTK_CURSOR_DEFAULT 1: wx.CURSOR_ARROW, # VTK_CURSOR_ARROW 2: wx.CURSOR_SIZENESW, # VTK_CURSOR_SIZENE 3: wx.CURSOR_SIZENWSE, # VTK_CURSOR_SIZENWSE 4: wx.CURSOR_SIZENESW, # VTK_CURSOR_SIZESW 5: wx.CURSOR_SIZENWSE, # VTK_CURSOR_SIZESE 6: wx.CURSOR_SIZENS, # VTK_CURSOR_SIZENS 7: wx.CURSOR_SIZEWE, # VTK_CURSOR_SIZEWE 8: wx.CURSOR_SIZING, # VTK_CURSOR_SIZEALL 9: wx.CURSOR_HAND, # VTK_CURSOR_HAND 10: wx.CURSOR_CROSS, # VTK_CURSOR_CROSSHAIR } def BindEvents(self): """Binds all the necessary events for navigation, sizing, drawing. """ # refresh window by doing a Render self.Bind(wx.EVT_PAINT, self.OnPaint) # turn off background erase to reduce flicker self.Bind(wx.EVT_ERASE_BACKGROUND, lambda e: None) # Bind the events to the event converters self.Bind(wx.EVT_RIGHT_DOWN, self.OnButtonDown) self.Bind(wx.EVT_LEFT_DOWN, self.OnButtonDown) self.Bind(wx.EVT_MIDDLE_DOWN, self.OnButtonDown) self.Bind(wx.EVT_RIGHT_UP, self.OnButtonUp) self.Bind(wx.EVT_LEFT_UP, self.OnButtonUp) self.Bind(wx.EVT_MIDDLE_UP, self.OnButtonUp) self.Bind(wx.EVT_MOUSEWHEEL, self.OnMouseWheel) self.Bind(wx.EVT_MOTION, self.OnMotion) self.Bind(wx.EVT_ENTER_WINDOW, self.OnEnter) self.Bind(wx.EVT_LEAVE_WINDOW, self.OnLeave) # If we use EVT_KEY_DOWN instead of EVT_CHAR, capital versions # of all characters are always returned. EVT_CHAR also performs # other necessary keyboard-dependent translations. self.Bind(wx.EVT_CHAR, self.OnKeyDown) self.Bind(wx.EVT_KEY_UP, self.OnKeyUp) self.Bind(wx.EVT_SIZE, self.OnSize) # the wx 2.8.7.1 documentation states that you HAVE to handle # this event if you make use of CaptureMouse, which we do. if _useCapture and hasattr(wx, 'EVT_MOUSE_CAPTURE_LOST'): self.Bind(wx.EVT_MOUSE_CAPTURE_LOST, self.OnMouseCaptureLost) def __getattr__(self, attr): """Makes the object behave like a vtkGenericRenderWindowInteractor. """ if attr == '__vtk__': return lambda t=self._Iren: t elif hasattr(self._Iren, attr): return getattr(self._Iren, attr) else: raise AttributeError, self.__class__.__name__ + \ " has no attribute named " + attr def CreateTimer(self, obj, evt): """ Creates a timer. """ self._timer = EventTimer(self) self._timer.Start(10, True) def DestroyTimer(self, obj, evt): """The timer is a one shot timer so will expire automatically. """ return 1 def _CursorChangedEvent(self, obj, evt): """Change the wx cursor if the renderwindow's cursor was changed. """ cur = self._cursor_map[obj.GetCurrentCursor()] c = wx.StockCursor(cur) self.SetCursor(c) def CursorChangedEvent(self, obj, evt): """Called when the CursorChangedEvent fires on the render window.""" # This indirection is needed since when the event fires, the # current cursor is not yet set so we defer this by which time # the current cursor should have been set. wx.CallAfter(self._CursorChangedEvent, obj, evt) def HideCursor(self): """Hides the cursor.""" c = wx.StockCursor(wx.CURSOR_BLANK) self.SetCursor(c) def ShowCursor(self): """Shows the cursor.""" rw = self._Iren.GetRenderWindow() cur = self._cursor_map[rw.GetCurrentCursor()] c = wx.StockCursor(cur) self.SetCursor(c) def GetDisplayId(self): """Function to get X11 Display ID from WX and return it in a format that can be used by VTK Python. We query the X11 Display with a new call that was added in wxPython 2.6.0.1. The call returns a SWIG object which we can query for the address and subsequently turn into an old-style SWIG-mangled string representation to pass to VTK. """ d = None try: d = wx.GetXDisplay() except NameError: # wx.GetXDisplay was added by Robin Dunn in wxPython 2.6.0.1 # if it's not available, we can't pass it. In general, # things will still work; on some setups, it'll break. pass else: # wx returns None on platforms where wx.GetXDisplay is not relevant if d: d = hex(d) # On wxPython-2.6.3.2 and above there is no leading '0x'. if not d.startswith('0x'): d = '0x' + d # we now have 0xdeadbeef # VTK wants it as: _deadbeef_void_p (pre-SWIG-1.3 style) d = '_%s_%s' % (d[2:], 'void_p') return d def OnMouseCaptureLost(self, event): """This is signalled when we lose mouse capture due to an external event, such as when a dialog box is shown. See the wx documentation. """ # the documentation seems to imply that by this time we've # already lost capture. I have to assume that we don't need # to call ReleaseMouse ourselves. if _useCapture and self._own_mouse: self._own_mouse = False def OnPaint(self,event): """Handles the wx.EVT_PAINT event for wxVTKRenderWindowInteractor. """ # wx should continue event processing after this handler. # We call this BEFORE Render(), so that if Render() raises # an exception, wx doesn't re-call OnPaint repeatedly. event.Skip() dc = wx.PaintDC(self) # make sure the RenderWindow is sized correctly self._Iren.GetRenderWindow().SetSize(self.GetSizeTuple()) # Tell the RenderWindow to render inside the wx.Window. if not self.__handle: # on relevant platforms, set the X11 Display ID d = self.GetDisplayId() if d: self._Iren.GetRenderWindow().SetDisplayId(d) # store the handle self.__handle = self.GetHandle() # and give it to VTK self._Iren.GetRenderWindow().SetWindowInfo(str(self.__handle)) # now that we've painted once, the Render() reparenting logic # is safe self.__has_painted = True self.Render() def OnSize(self,event): """Handles the wx.EVT_SIZE event for wxVTKRenderWindowInteractor. """ # event processing should continue (we call this before the # Render(), in case it raises an exception) event.Skip() try: width, height = event.GetSize() except: width = event.GetSize().width height = event.GetSize().height self._Iren.SetSize(width, height) self._Iren.ConfigureEvent() # this will check for __handle self.Render() def OnMotion(self,event): """Handles the wx.EVT_MOTION event for wxVTKRenderWindowInteractor. """ # event processing should continue # we call this early in case any of the VTK code raises an # exception. event.Skip() self._Iren.SetEventInformationFlipY(event.GetX(), event.GetY(), event.ControlDown(), event.ShiftDown(), chr(0), 0, None) self._Iren.MouseMoveEvent() def OnEnter(self,event): """Handles the wx.EVT_ENTER_WINDOW event for wxVTKRenderWindowInteractor. """ # event processing should continue event.Skip() self._Iren.SetEventInformationFlipY(event.GetX(), event.GetY(), event.ControlDown(), event.ShiftDown(), chr(0), 0, None) self._Iren.EnterEvent() def OnLeave(self,event): """Handles the wx.EVT_LEAVE_WINDOW event for wxVTKRenderWindowInteractor. """ # event processing should continue event.Skip() self._Iren.SetEventInformationFlipY(event.GetX(), event.GetY(), event.ControlDown(), event.ShiftDown(), chr(0), 0, None) self._Iren.LeaveEvent() def OnButtonDown(self,event): """Handles the wx.EVT_LEFT/RIGHT/MIDDLE_DOWN events for wxVTKRenderWindowInteractor. """ # allow wx event processing to continue # on wxPython 2.6.0.1, omitting this will cause problems with # the initial focus, resulting in the wxVTKRWI ignoring keypresses # until we focus elsewhere and then refocus the wxVTKRWI frame # we do it this early in case any of the following VTK code # raises an exception. event.Skip() ctrl, shift = event.ControlDown(), event.ShiftDown() self._Iren.SetEventInformationFlipY(event.GetX(), event.GetY(), ctrl, shift, chr(0), 0, None) button = 0 if event.RightDown(): self._Iren.RightButtonPressEvent() button = 'Right' elif event.LeftDown(): self._Iren.LeftButtonPressEvent() button = 'Left' elif event.MiddleDown(): self._Iren.MiddleButtonPressEvent() button = 'Middle' # save the button and capture mouse until the button is released # we only capture the mouse if it hasn't already been captured if _useCapture and not self._own_mouse: self._own_mouse = True self._mouse_capture_button = button self.CaptureMouse() def OnButtonUp(self,event): """Handles the wx.EVT_LEFT/RIGHT/MIDDLE_UP events for wxVTKRenderWindowInteractor. """ # event processing should continue event.Skip() button = 0 if event.RightUp(): button = 'Right' elif event.LeftUp(): button = 'Left' elif event.MiddleUp(): button = 'Middle' # if the same button is released that captured the mouse, and # we have the mouse, release it. # (we need to get rid of this as soon as possible; if we don't # and one of the event handlers raises an exception, mouse # is never released.) if _useCapture and self._own_mouse and \ button==self._mouse_capture_button: self.ReleaseMouse() self._own_mouse = False ctrl, shift = event.ControlDown(), event.ShiftDown() self._Iren.SetEventInformationFlipY(event.GetX(), event.GetY(), ctrl, shift, chr(0), 0, None) if button == 'Right': self._Iren.RightButtonReleaseEvent() elif button == 'Left': self._Iren.LeftButtonReleaseEvent() elif button == 'Middle': self._Iren.MiddleButtonReleaseEvent() def OnMouseWheel(self,event): """Handles the wx.EVT_MOUSEWHEEL event for wxVTKRenderWindowInteractor. """ # event processing should continue event.Skip() ctrl, shift = event.ControlDown(), event.ShiftDown() self._Iren.SetEventInformationFlipY(event.GetX(), event.GetY(), ctrl, shift, chr(0), 0, None) if event.GetWheelRotation() > 0: self._Iren.MouseWheelForwardEvent() else: self._Iren.MouseWheelBackwardEvent() def OnKeyDown(self,event): """Handles the wx.EVT_KEY_DOWN event for wxVTKRenderWindowInteractor. """ # event processing should continue event.Skip() ctrl, shift = event.ControlDown(), event.ShiftDown() keycode, keysym = event.GetKeyCode(), None key = chr(0) if keycode < 256: key = chr(keycode) # wxPython 2.6.0.1 does not return a valid event.Get{X,Y}() # for this event, so we use the cached position. (x,y)= self._Iren.GetEventPosition() self._Iren.SetEventInformation(x, y, ctrl, shift, key, 0, keysym) self._Iren.KeyPressEvent() self._Iren.CharEvent() def OnKeyUp(self,event): """Handles the wx.EVT_KEY_UP event for wxVTKRenderWindowInteractor. """ # event processing should continue event.Skip() ctrl, shift = event.ControlDown(), event.ShiftDown() keycode, keysym = event.GetKeyCode(), None key = chr(0) if keycode < 256: key = chr(keycode) self._Iren.SetEventInformationFlipY(event.GetX(), event.GetY(), ctrl, shift, key, 0, keysym) self._Iren.KeyReleaseEvent() def GetRenderWindow(self): """Returns the render window (vtkRenderWindow). """ return self._Iren.GetRenderWindow() def Render(self): """Actually renders the VTK scene on screen. """ RenderAllowed = 1 if not self.__RenderWhenDisabled: # the user doesn't want us to render when the toplevel frame # is disabled - first find the top level parent topParent = wx.GetTopLevelParent(self) if topParent: # if it exists, check whether it's enabled # if it's not enabeld, RenderAllowed will be false RenderAllowed = topParent.IsEnabled() if RenderAllowed: if self.__handle and self.__handle == self.GetHandle(): self._Iren.GetRenderWindow().Render() elif self.GetHandle() and self.__has_painted: # this means the user has reparented us; let's adapt to the # new situation by doing the WindowRemap dance self._Iren.GetRenderWindow().SetNextWindowInfo( str(self.GetHandle())) # make sure the DisplayId is also set correctly d = self.GetDisplayId() if d: self._Iren.GetRenderWindow().SetDisplayId(d) # do the actual remap with the new parent information self._Iren.GetRenderWindow().WindowRemap() # store the new situation self.__handle = self.GetHandle() self._Iren.GetRenderWindow().Render() def SetRenderWhenDisabled(self, newValue): """Change value of __RenderWhenDisabled ivar. If __RenderWhenDisabled is false (the default), this widget will not call Render() on the RenderWindow if the top level frame (i.e. the containing frame) has been disabled. This prevents recursive rendering during wx.SafeYield() calls. wx.SafeYield() can be called during the ProgressMethod() callback of a VTK object to have progress bars and other GUI elements updated - it does this by disabling all windows (disallowing user-input to prevent re-entrancy of code) and then handling all outstanding GUI events. However, this often triggers an OnPaint() method for wxVTKRWIs, resulting in a Render(), resulting in Update() being called whilst still in progress. """ self.__RenderWhenDisabled = bool(newValue) #-------------------------------------------------------------------- def wxVTKRenderWindowInteractorConeExample(): """Like it says, just a simple example """ # every wx app needs an app app = wx.PySimpleApp() # create the top-level frame, sizer and wxVTKRWI frame = wx.Frame(None, -1, "wxVTKRenderWindowInteractor", size=(400,400)) widget = wxVTKRenderWindowInteractor(frame, -1) sizer = wx.BoxSizer(wx.VERTICAL) sizer.Add(widget, 1, wx.EXPAND) frame.SetSizer(sizer) frame.Layout() # It would be more correct (API-wise) to call widget.Initialize() and # widget.Start() here, but Initialize() calls RenderWindow.Render(). # That Render() call will get through before we can setup the # RenderWindow() to render via the wxWidgets-created context; this # causes flashing on some platforms and downright breaks things on # other platforms. Instead, we call widget.Enable(). This means # that the RWI::Initialized ivar is not set, but in THIS SPECIFIC CASE, # that doesn't matter. widget.Enable(1) widget.AddObserver("ExitEvent", lambda o,e,f=frame: f.Close()) ren = vtk.vtkRenderer() widget.GetRenderWindow().AddRenderer(ren) cone = vtk.vtkConeSource() cone.SetResolution(8) coneMapper = vtk.vtkPolyDataMapper() coneMapper.SetInput(cone.GetOutput()) coneActor = vtk.vtkActor() coneActor.SetMapper(coneMapper) ren.AddActor(coneActor) # show the window frame.Show() app.MainLoop() if __name__ == "__main__": wxVTKRenderWindowInteractorConeExample() viper-1.0.0/src/bin/0000755000000000000000000000000011667652155012340 5ustar 00000000000000viper-1.0.0/src/demo/0000755000000000000000000000000011667652155012514 5ustar 00000000000000viper-1.0.0/src/viper/0000755000000000000000000000000011667652155012715 5ustar 00000000000000viper-1.0.0/src/bin/viper0000644000000000000000000001572511667652155013422 0ustar 00000000000000#!/usr/bin/env python """ Viper: A simple mesh plotter and run--time visualization module for plotting and saving simulation data. The class C{Viper} can visualize solutions given as numpy arrays, and meshes that provide the two methods C{cells()} and C{coordinates()}. These methods should return numpy arrays specifying the node-element ordering and coordinates of the nodes, respectively. To use the module as a script, the syntax is: viper.py -i [-o ] or, viper.py --input [--output ] If the optional command line argument -o is given, the mesh is stored in vtk format. """ from viper import * from viper import __version__ import sys import getopt import numpy import os def _dolfin_mesh_plotter(infile, outfile, data=None, lutfile="gauss_120.lut", datatype=None): from dolfin import Mesh, UnitSquare, File, plot from dolfin import MeshFunction if infile: title = "Mesh plot" mesh = Mesh(infile) else: title = "Unit Square plot" mesh = UnitSquare(10,10) if data is None: p = Viper(mesh=mesh, title=title) p.update() else: assert os.path.isfile(lutfile) or \ os.path.isfile(os.path.join(os.path.dirname(viper.__file__), "data", lutfile)), \ "Could not locate lutfile \"%s\" in current directory or default data dir." % (lutfile,) file = File(data) dim = datatype["dim"] if datatype["type"] == "i": mf = MeshFunction("int", mesh, dim) file >> mf elif datatype["type"] == "u": mf = MeshFunction("uint", mesh, dim) file >> mf elif datatype["type"] == "r": mf = MeshFunction("real", mesh, dim) file >> mf else: print _help() sys.exit() p = plot(mf, lutfile=lutfile, title="Data plot") if outfile: p.init_writer("") p.write_vtk(os.path.splitext(os.path.splitext(outfile)[0])[0]+".vtk") p.interactive() return p def _vtk_plotter(infile): p = Viper() p.init_from_file(infile) p.interactive() return p def _main(infile, outfile, data=None, lutfile="gauss_120.lut", datatype={}): if infile: suffix = os.path.splitext(infile)[-1] if suffix == ".vtk": return _vtk_plotter(infile) return _dolfin_mesh_plotter(infile, outfile, data=data, lutfile=lutfile, datatype=datatype) def _help(): print """This is Viper, the simple FEniCS run-time plotter, version %s. For further information, go to http://www.fenics.org/wiki/Viper Usage: viper -i file [-d data (xml meshfunction file) -tdatatype -l lutfile -o file ] Alternatively: viper file (mesh file in dolfin mesh format) datatype is a format string specifying i or r for integer or real valued data, and the dimensionality of the data set. E.g. -tr0 (real vertex data), -ti2 (integer cell data). """ % __version__ def _usage(): return """This is Viper, the simple FEniCS run-time plotter, version %s. For further information, go to http://www.fenics.org/wiki/Viper Usage: viper file [--lut=lut_file --mode=mode --title=title] or viper file [-l lut_file -m mode -t title] where 'file' is is a dolfin data file, like a Mesh, FunctionPlotData, or a file containing both a Mesh and either a cell or vertex valued MeshFunction of type uint or double. The 'mode' argument can be either 'auto', 'scalar', or 'vector', 'lut_file' a color lookup table, and 'title' the title field of the plotting window. """ % (__version__,) def _plot_function_plot_data(infile, lutfile, mode, title): from dolfin.cpp import FunctionPlotData, File from dolfin import plot d = FunctionPlotData() f = File(infile) f >> d return plot(d, lutfile=lutfile, mode=mode, title=title) def _plot_mesh(infile, lutfile, mode, title): import dolfin f = dolfin.File(infile) d = dolfin.Mesh() f >> d return dolfin.plot(d, title=title) def _plot_mesh_function(infile, lutfile, mode, title): import dolfin f = dolfin.File(infile) mesh = dolfin.Mesh() f >> mesh try: f = dolfin.File(infile) mf = dolfin.MeshFunction("double", mesh, mesh.topology().dim()) f >> mf return dolfin.plot(mf, title=title) except: pass try: f = dolfin.File(infile) mf = dolfin.MeshFunction("uint", mesh, mesh.topology().dim()) f >> mf return dolfin.plot(mf, title=title) except: raise ValueError, "No meshfunction found." def __main(infile, lutfile, mode, title): try: return _plot_function_plot_data(infile, lutfile, mode, title) except: pass try: return _plot_mesh_function(infile, lutfile, mode, title) except: pass return _plot_mesh(infile, lutfile, mode, title) print "Cannot plot data in file %s" % (infile,) def _oldmain(): import sys (opts, args) = getopt.getopt(sys.argv[1:], "i:d:o:l:h:t:", ["input=", "data=", "output=", "lut=", "help", "datatype="]) infile = None outfile = None datafile = None datatype = {"type": "r", "dim": 0} lutfile = "gauss_120.lut" for (opt, val) in opts: if (opt == "--input" or opt == "-i"): infile = val elif (opt =="--output" or opt == "-o"): outfile = val elif (opt =="--lut" or opt == "-l"): lutfile = val elif (opt =="--datatype" or opt == "-t"): import re if re.search("i", val): datatype["type"] = "i" if re.search("u", val): datatype["type"] = "u" match = re.search("(\d+)", val) if match: datatype["dim"] = int(match.groups()[0]) elif (opt =="--data" or opt == "-d"): datafile = val elif (opt == "--help" or opt == "-h"): _help() sys.exit() if infile == outfile == None: if len(args) > 0: _main(args[-1], None) sys.exit() p = _main(infile, outfile, data=datafile, lutfile=lutfile, datatype=datatype) def _newmain(): import sys, os (opts, args) = getopt.getopt(sys.argv[1:], "o:l:hm:", ["output=", "lut=", "mode=", "title=", "help",]) outfile = None lutfile = "gauss_120.lut" mode = "auto" title = "FEniCS Viper" for (opt, val) in opts: if (opt in ("--output", "-o")): outfile = val elif (opt in ("--lut", "-l")): lutfile = val elif (opt in ("--help", "-h")): _newhelp() elif (opt in ("--mode", "-m")): mode = val elif (opt in ("--title", "-t")): title = val if len(args) > 0: infile = args[-1] if not os.path.isfile(infile): raise RuntimeError, "No such file %s" % (infile,) else: raise RuntimeError, _usage() if mode == "": mode = "auto" p = __main(infile, lutfile, mode, title) p.interactive() if __name__ == '__main__': #_oldmain() _newmain() viper-1.0.0/src/demo/poisson.xml0000644000000000000000000001531211667652155014732 0ustar 00000000000000 viper-1.0.0/src/demo/test.py0000644000000000000000000000210111667652155014037 0ustar 00000000000000from dolfin import * import math class PlotFunction(Function): """Simple dolfin::Function to be plot using viper""" def __init__(self, element, mesh): Function.__init__(self, element, mesh) def eval(self, values, x): values[0] = sin(math.pi*x[0])*cos(math.pi*x[1]) class PlotFunction2(Function): """Simple 3d dolfin::Function to be plot using viper""" def __init__(self, element, mesh): Function.__init__(self, element, mesh) def eval(self, values, x): values[0] = sin(math.pi*x[0])*cos(math.pi*x[1])*exp(x[2]) if __name__ == "__main__": mesh = UnitSquare(25, 25) # Construct mesh fe = FiniteElement("Lagrange", "triangle", 1) # Define finite element u = PlotFunction(fe, mesh) # Construct function given mesh and finite element plot(u) # Plot function interactive() mesh = UnitCube(15,15,15) fe = FiniteElement("Lagrange", "tetrahedron", 1) # Define finite element u = PlotFunction2(fe, mesh) # Construct function given mesh and finite element plot(u) # Plot function interactive() viper-1.0.0/src/demo/test_1d.py0000644000000000000000000000013011667652155014423 0ustar 00000000000000from dolfin import * file = "poisson.xml" f = Function(file) plot(f) interactive() viper-1.0.0/src/demo/test_clear.py0000644000000000000000000000305311667652155015214 0ustar 00000000000000from viper import Viper, SimpleMesh import numpy def _clear_tests(tests, n=1000): coordinates = numpy.array([[0,0,0], [1,0,0], [0,1,0]], dtype='d') coordinates2 = numpy.array([[0,0,0], [1,0,0], [0,1,0], [1,1,0]], dtype='d') nodes = numpy.array([[0,1,2]],dtype='i') nodes2 = numpy.array([[0,1,2], [1,2,3]],dtype='i') mesh = SimpleMesh(coordinates, nodes) mesh2 = SimpleMesh(coordinates2, nodes2) plotter = Viper(mesh) if 1 in tests: for i in xrange(n): plotter.add_sphere((0.5,0.5,0.0), 0.2, 30, 20, (1,0,0)) plotter.add_sphere((0.0,0.5,0.0), 0.2, 30, 20, (1,0,0)) plotter.clear_spheres() if 2 in tests: for i in xrange(n): plotter.add_polygon(((0,0,0), (1,1,0))) plotter.add_polygon(((1,1,0), (1,0,0))) plotter.clear_polygons() if 3 in tests: plotter.add_sphere((0.0,0.5,0.0), 0.2, 30, 20, (1,0,0)) plotter.clear_scalars() plotter.interactive() if 4 in tests: x = numpy.linspace(0,1, len(mesh.coordinates())) x2 = numpy.linspace(0,1, len(mesh2.coordinates())) for i in xrange(1000): if i%2: plotter.set_scalar(mesh, x) else: plotter.set_scalar(mesh2, x2) if 5 in tests: for i in xrange(1000): if i%2: plotter.set_vector(mesh, coordinates) else: plotter.set_vector(mesh2, coordinates2) if __name__ == "__main__": _clear_tests([1,2,3,4,5]) #_clear_tests([5,]) viper-1.0.0/src/demo/test_meshgrid.py0000644000000000000000000000344111667652155015731 0ustar 00000000000000#!/usr/bin/env python """ Plot function defined on numpy meshgrid using viper. This demo requires scikits.delaunay. To install: svn co http://svn.scipy.org/svn/scikits/trunk/delaunay (sudo) python setup.py install (--prefix=some/other/place) """ # Copyright (C) 2008 Rolv Erlend Bredesen and Simula Research Laboratory # # This file is part of Viper. # # Viper is free software: you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Viper is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public License # along with Viper. If not, see . # # First added: 2008-11-12 # Last changed: 2008-11-12 import numpy as N from scikits.delaunay import Triangulation # deb: python-scikits-delaunay import viper from scipy.special import j0 x0 = y0 = -10 dx = dy = 0.25 ny = 80; nx = 40 x = x0 + dx * N.arange(nx) y = y0 + dy * N.arange(ny) u0 = j0(N.sqrt(x**2+y[:,None]**2)) X, Y = N.meshgrid(x, y) # shape is ny, nx coordinates = N.array(N.vstack((X.flat, Y.flat, N.zeros(X.size))).T) cells = Triangulation(X.flat, Y.flat).triangle_nodes data = N.array(u0.flat) v = viper.Viper(coordinates=coordinates, cells=cells, x=data, warpscalar=True) v.azimuth(10) v.elevate(-40) v.ren.ResetCamera() step = 0.2 Nperiods = 10 for scale in N.sin(N.arange(N.pi*0.5, Nperiods*N.pi, step)): data[:] = u0.flat*scale v.update() #v.interactive() viper-1.0.0/src/demo/test_movie.py0000644000000000000000000000134711667652155015251 0ustar 00000000000000from viper import Viper import numpy coords2d = numpy.array([[0.0,0.0,0.0], [1.0,0.0,0.0], [0.0,1.0,0.0], [1.0,1.0,0.0], [2.0,0.0,0.0], [0.0,2.0,0.0], [2.0,1.0,0.0], [1.0,2.0,0.0], [2.0,2.0,0.0]]) triangles = numpy.array([[0,1,2],[1,2,3],[1,4,3],[4,3,6],[2,3,5], [3,5,7],[3,6,7],[6,7,8]], dtype='i') x = numpy.linspace(0,1,len(coords2d)) v = Viper(x=x, coordinates=coords2d, cells=triangles) v.init_writer(".tmp") for i in xrange(50): v.azimuth(2) v.update() v.write_png() v.movie("movie.avi", cleanup=True) viper-1.0.0/src/demo/test_standalone.py0000644000000000000000000000506111667652155016257 0ustar 00000000000000import numpy import viper coords2d = numpy.array([[0.0,0.0,0.0], [1.0,0.0,0.0], [0.0,1.0,0.0], [1.0,1.0,0.0], [2.0,0.0,0.0], [0.0,2.0,0.0], [2.0,1.0,0.0], [1.0,2.0,0.0], [2.0,2.0,0.0]]) triangles = numpy.array([[0,1,2],[1,2,3],[1,4,3],[4,3,6],[2,3,5], [3,5,7],[3,6,7],[6,7,8]], dtype='i') coords3d = numpy.array([[0,0,0],[1,0,0], [0,1,0],[0,0,1]], dtype='d') tets = numpy.array([[0,1,2,3]], dtype='i') lines = numpy.array([[0,1],[2,4]], dtype='i') def _meshplot(): v = viper.Viper(coordinates=coords2d, cells=triangles) v.interactive() def _lineplot(): N = 30000 cells = [] coords = numpy.random.random((2*N, 3)) for i in range(N): cells.append([2*i, 2*i+1]) cells = numpy.array(cells, dtype='i') x = numpy.linspace(0,1, 2*N) v = viper.Viper(coordinates=coords, cells=cells) v.interactive() def _scalarplot(): x = numpy.linspace(0,1,len(coords2d)) v = viper.Viper(x=x, coordinates=coords2d, cells=triangles, add_cell_labels=True, rescale=True) v.interactive() def _scalarplot3d(): x = numpy.linspace(0,1,len(coords3d)) v = viper.Viper(x=x, coordinates=coords3d, cells=tets) v.interactive() v = viper.Viper(x=x, coordinates=coords3d, cells=tets, cutplane_origin=(.0,.0,.1), cutplane_normal=(1,0,1)) stop = 400 for i in xrange(stop): x += 1.0/stop v.update(x) for i in xrange(stop): x -= 1.0/stop v.update(x) v.interactive() def _vectorplot(): x = coords2d.copy() v = viper.Viper(x=x, coordinates=coords2d, cells=triangles) v.interactive() for i in xrange(100): x += 0.01 v.update() for i in xrange(100): x -= 0.01 v.update() v.interactive() def _displacementplot(): x = numpy.linspace(0,1,len(coords2d)) displacement2d = 0.2*coords2d.copy() displacement2d[0,:-1] = -1 v = viper.Viper(x=x,coordinates=coords2d, cells=triangles, displacement=displacement2d) v.interactive() inc = 0.005 stop = 400 for i in xrange(stop): displacement2d[0,:-1] -= inc v.update(displacement2d) for i in xrange(stop): displacement2d[0,:-1] += inc v.update(displacement2d) v.interactive() if __name__ == "__main__": _lineplot() _meshplot() _scalarplot() _scalarplot3d() _vectorplot() _displacementplot() viper-1.0.0/src/demo/test_wx.py0000644000000000000000000000241611667652155014566 0ustar 00000000000000import wx import vtk import sys from viper import * import numpy from dolfin import UnitSquare class MyFrame(wx.Frame): def __init__(self,parent, id, title, size): wx.Frame.__init__(self, parent, id, title, size=size) self.parent = parent sizer = wx.GridBagSizer() button = wx.Button(self, -1, label="Close") sizer.Add(button, (0,0)) self.Bind(wx.EVT_BUTTON, self.OnButtonClick, button) self.label = wx.StaticText(self,-1,label=u'Viper wx widget example') self.label.SetBackgroundColour(wx.WHITE) self.label.SetForegroundColour(wx.BLACK) sizer.Add( self.label, (3,0),(4,2)) self.mesh = UnitSquare(128,128) coords = self.mesh.coordinates() self.x = numpy.sin(numpy.pi*coords[:,0])*numpy.cos(numpy.pi*coords[:,1]) self.v = Viper(mesh=self.mesh, x=self.x, frame=self, warpscalar=True) sizer.Add(self.v.widget, (1,0), (2,2), wx.EXPAND) sizer.AddGrowableCol(0) self.SetSizerAndFit(sizer) self.SetSizeHints(-1,self.GetSize().y,-1,self.GetSize().y ); self.Show(True) def OnButtonClick(self, event): sys.exit() print "Click!" app = wx.App() frame = MyFrame(None, -1, "wxViper", size=(400,400)) app.MainLoop() viper-1.0.0/src/viper/__init__.py0000644000000000000000000000241511667652155015030 0ustar 00000000000000# Copyright (C) 2006-2011 Ola Skavhaug and Simula Research Laboratory # # This file is part of Viper. # # Viper is free software: you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Viper is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public License # along with Viper. If not, see . __cite__ = """Ola Skavhaug, Viper Visualization Software, http://www.fenics.org/wiki/viper/""" __version__ = "1.0.0" __doc__ = r""" Viper A simple mesh plotter and run--time visualization module for plotting and saving simulation data. The class C{Viper} can visualize solutions given as numpy arrays, and meshes that provide the two methods C{cells()} and C{coordinates()}. These methods should return numpy arrays specifying the node-element ordering and coordinates of the nodes, respectively. Citation: %s """ % __cite__ from viper import * viper-1.0.0/src/viper/data/0000755000000000000000000000000011667652155013626 5ustar 00000000000000viper-1.0.0/src/viper/viper.py0000644000000000000000000014760111667652155014425 0ustar 00000000000000#!/usr/bin/env python # Copyright (C) 2006-2011 Ola Skavhaug and Simula Research Laboratory # # This file is part of Viper. # # Viper is free software: you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Viper is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public License # along with Viper. If not, see . __cite__ = """Ola Skavhaug, Viper Visualization Software, http://www.fenics.org/wiki/viper/""" __version__ = "1.0.0" r""" Viper A simple mesh plotter and run--time visualization module for plotting and saving simulation data. The class C{Viper} can visualize solutions given as numpy arrays, and meshes that provide the two methods C{cells()} and C{coordinates()}. These methods should return numpy arrays specifying the node-element ordering and coordinates of the nodes, respectively. Citation: %s """ % __cite__ """TODO: I need to generalize vtkgrid and darr such that multiples of these can be visualized at once. The fix is probably to construct some pipes (as Python lists?): Source: the input (like a numpy array or vtkvoid array Filter chain: The filters applied to the source """ class SimpleMesh(object): """Simple mesh class used when Viper called with coordinate and cell arrays only.""" def __init__(self, c, e): assert isinstance(c, numpy.ndarray) assert isinstance(e, numpy.ndarray) assert c.dtype=='d' assert e.dtype=='i' assert c.shape[1] == 3 assert e.shape[1] in (2,3,4) self.c = c self.e = e def cells(self): return self.e # Return element array def coordinates(self): return self.c # Return coordiantes array import vtk, numpy, os, math #from vtk.util.colors import tomato _viper = None lutdir = os.path.join(os.path.split(__file__)[0], "data") class Viper(object): """Simple real-time vtk plotter.""" def __init__(self, *args, **kwargs): """ Create plotter. __init__(mesh=mymesh): plot mymesh __init__(x=x, mesh=mymesh): plot scalar of vector field x over mymesh __init__(x=x, mesh=mymesh, displacement=d): plot scalar of vector field x over mymesh and use d as a displacement vector field __init__(coordinates=coords, cells=elements): plot mesh given in the two numpy arrays coords and elements __init__(..., cutplane_origin = origin, cutplane_normal = normal) plot a cut plane of a 3D scalar plot. Set the origin and normal to define the cut plane. The normal defaults to (0,0,1) Additional parameters: vmin, vmax, lutfile, wireframe, celltype, title """ if len(args) > 0: nargs = len(args) if not nargs > 0: raise RuntimeError, "No arguments to Viper, giving up" kwargs["mesh"] = args[0] if nargs > 1: kwargs["x"] = args[1] if nargs > 2: kwargs["vmin"] = args[2] if nargs > 3: kwargs["vmax"] = args[3] mesh = kwargs.get("mesh", None) x = kwargs.get("x", None) vmin = kwargs.get("vmin", None) vmax = kwargs.get("vmax", None) wireframe = kwargs.get("wireframe", False) self.warpscalar = kwargs.get("warpscalar", False) displacement = kwargs.get("displacement", None) celltype = kwargs.get("celltype", None) coordinates = kwargs.get("coordinates", None) cells = kwargs.get("cells", None) sf = kwargs.get("scalefactor", 2.0) self.vtkgrid = None self.filter = None self._update = self.update self.initcommon(kwargs) self._x_shape = () if mesh is None: if coordinates is not None and cells is not None: mesh = SimpleMesh(coordinates, cells) self.mesh = mesh if x is None: x = numpy.zeros(len(mesh.coordinates()), dtype='d') wireframe=True self.x = x if self.mesh is not None: self.vtkgrid = self.make_vtk_grid(self.mesh, cell_type=celltype) self.filter = self.vtkgrid vmin = kwargs.get("vmin", x.min()) vmax = kwargs.get("vmax", x.max()) minmax = vmax - vmin self.displacement = self._resolve_displacement(displacement) self.frame = kwargs.get("frame", None) # Extract cut plane information cutplane_origin = kwargs.get("cutplane_origin", None) cutplane_normal = kwargs.get("cutplane_normal", (0,0,1)) if len(x.shape) == 1: if self.warpscalar and minmax > 0: self.filter = self.warp_scalar(self.x, minmax) # If plot a cut plane if not cutplane_origin is None: self.filter = self._cutplane_filter(cutplane_origin, cutplane_normal) (self.iren, self.renWin, self.ren) = self.simple_plotter(self.filter, vmin, vmax, wireframe) if not cutplane_origin is None: # Position the camera normal to the plane with focus on the center of the cutplane cutplane_normal = numpy.asarray(cutplane_normal,dtype = 'd') camera_focal_point = numpy.asarray(self.filter.GetCenter(), dtype = 'd') #Normalize the cutplane normal cutplane_normal /= numpy.sqrt(numpy.dot(cutplane_normal,cutplane_normal)) # Check which component is the largest in the cutplane normal if cutplane_normal.argmax() in [0,1]: # If the largest direction is in the x or y direction, let z be the up direction up_direction = numpy.array([0,0,1]) else: # If the largest direction is in the z direction, let y be the up direction up_direction = numpy.array([0,1,0]) # Set view_up as a projection of the cutplane normal onto the up_direction # NOTE: Actually no need for the projection, vtk do the projection for you... view_up = up_direction - numpy.dot(up_direction,cutplane_normal)*cutplane_normal # Set the camera position self.ren.GetActiveCamera().SetPosition(camera_focal_point + cutplane_normal) self.ren.GetActiveCamera().SetFocalPoint(camera_focal_point) self.ren.GetActiveCamera().SetViewUp(view_up) self.ren.ResetCamera(self.filter.GetBounds()) # It is sometimes nice to dolly the view but sometimes not #self.ren.GetActiveCamera().Dolly(1.5) else: self.mode="vector" if self.mesh is not None: coords = self.mesh.coordinates() else: coords = coordinates (self.iren, self.renWin, self.ren) = self.vector_plotter(coords, x, vmin, vmax, wireframe, sf=sf) self.ren.GlobalWarningDisplayOff() self._update(x) if self.frame is None: self.iren.Initialize() def init_from_file(self, filename): """Construct a scalar field over a unstructured grid from vtk file.""" reader = vtk.vtkUnstructuredGridReader() reader.SetFileName(filename) reader.Update() self.vtkgrid = reader.GetOutput() self.filter = self.vtkgrid pd = self.vtkgrid.GetPointData() scalars = pd.GetScalars() n = scalars.GetNumberOfTuples() x = numpy.zeros(n) scalars.ExportToVoidPointer(x) self.x = x self.displacement = None self.lutfile = "gauss_120.lut" self.refs = [] self.basename = "plot" self.elevator = 0 self.elevator_sign = 1 self.set_camera_movement() self.darr = vtk.vtkDoubleArray() (self.iren, self.renWin, self.ren) = self.simple_plotter(self.vtkgrid, min(x), max(x), False) self._update(self.x) def clear(self): """Remove all plot objects.""" self.clear_spheres() self.clear_polygons() self.clear_scalars() self.clear_vectors() def reset_camera(self): self.ren.ResetCamera() def clear_spheres(self): """Remove all spheres.""" self.sphere_data.RemoveAllInputs() for actor in self.sphere_actors: self.ren.RemoveActor(actor) self.sphere_actors = [ vtk.vtkActor() ] self.ren.AddActor(self.sphere_actors[-1]) self.update() def clear_polygons(self): """Remove all polygons.""" self.polygon_data.RemoveAllInputs() for actor in self.polygon_actors: self.ren.RemoveActor(actor) self.polygon_actors = [ vtk.vtkActor() ] self.update() def clear_scalars(self): """Remove scalars.""" for actor in self.scalar_actors: self.ren.RemoveActor(actor) self.scalar_actors = [ vtk.vtkActor() ] self.update() def clear_vectors(self): """Remove scalars.""" for actor in self.vector_actors: self.ren.RemoveActor(actor) self.vector_actors = [vtk.vtkActor()] self.update() def set_vector(self, mesh, x): self.clear() self.vector_plotter(mesh.coordinates(), x, x.min(), x.max()) self.update() def set_scalar(self, mesh, x): self.clear() self.vtkgrid = self.make_vtk_grid(mesh) self.simple_plotter(self.vtkgrid, x.min(), x.max()) self.update(x) def add_scalar(self, mesh, x): vtkgrid = self.make_vtk_grid(mesh) idx = len(self.scalar_actors) self.scalar_actors.append(vtk.vtkActor()) self.update_scalar_mapper(vtkgrid, idx) self.ren.AddActor(self.scalar_actors[idx]) def set_mesh(self, mesh): self.clear() self.vtkgrid = self.make_vtk_grid(mesh) self.simple_plotter(self.vtkgrid, 0,0, True) x = numpy.zeros(len(mesh.coordinates())) self.update(x) def _resolve_displacement(self, d): if d is None: return None if len(d.shape) > 1 and d.shape[1] > 1: d = self.vec3d(d) self.filter = self.warp_vector(d) return d else: self.filter = self.warp_scalar(d) return d def initcommon(self, kwargs): self.displacement = kwargs.get("displacement", None) self.title = kwargs.get("title", "FEniCS Viper") self.rescale = kwargs.get("rescale", False) self.lutfile = kwargs.get("lutfile", "gauss_120.lut") self.frame = kwargs.get("frame", None) self.axes_on = kwargs.get("axes", False) self.window_size = kwargs.get("size", (600, 400)) self.args = kwargs.copy() self.filters = [] self.refs = [] self.basename = kwargs.get("basename", "plot") self.is_writer = False self.outline = False self.vertex_plot = True self.plottype = None self.mode = None self.iren = None self.ren = None self.renWin = None #self.rescale = False # paramaters to control camera movement, default is no movement self.elevator = 0 self.elevator_sign = 1 self.set_camera_movement() self.darr = vtk.vtkDoubleArray() self.scalar_actors = [ vtk.vtkActor() ] self.vector_actors = [ vtk.vtkActor() ] self.sphere_actors = [ vtk.vtkActor() ] self.polygon_actors = [ vtk.vtkActor() ] def warp_scalar(self, d, minmax=1.0): if len(d.shape) > 1 and d.shape[1] > 1: raise ValueError, "Wrong shape in scalar displacement field" self.disp_arr = vtk.vtkDoubleArray() self.disp_arr.SetNumberOfComponents(1) self.disp_arr.SetVoidArray(d, d.shape[0], 1) self.vtkgrid.GetPointData().SetScalars(self.disp_arr) if not hasattr(self, "warp"): self.warp = vtk.vtkWarpScalar() self.warp.SetInput(self.vtkgrid) self.warpdata = self.warp.GetOutput() self.warp.SetScaleFactor(1.0/minmax) return self.warpdata def warp_vector(self, d): if not d.shape == (len(self.x), 3): raise ValueError, "Wrong shape in vector displacement field (must be 3d)" self.disp_arr = vtk.vtkDoubleArray() self.disp_arr.SetNumberOfComponents(3) self.disp_arr.SetVoidArray(d, d.shape[0]*d.shape[1], 1) self.vtkgrid.GetPointData().SetVectors(self.disp_arr) self.warp = vtk.vtkWarpVector() self.warp.SetInput(self.vtkgrid) self.warp.SetScaleFactor(1.0) self.warpdata = self.warp.GetOutput() return self.warpdata def set_contour(self, nlevels=5): self.contour = vtk.vtkContourFilter() def init_writer(self, filebasename="simulation"): """Initialize the simple vtk file writer for storing unstructured grids and fields to file.""" self.is_writer = True writepath = os.path.dirname(filebasename) if writepath and not os.path.isdir(writepath): os.makedirs(writepath) self.writer = vtk.vtkUnstructuredGridWriter() self.writer.SetFileTypeToBinary() self.basename = filebasename self.filecounter = -1 self.writer.SetInput(self.vtkgrid) w2if = vtk.vtkWindowToImageFilter() w2if.SetInput (self.renWin) self.pngwriter = vtk.vtkPNGWriter() self.pngfilecounter = -1 self.pngwriter.SetInput(w2if.GetOutput()) self.w2if = w2if self.xmlfilecounter = -1 try: self.pswriter = vtk.vtkGL2PSExporter() self.pswriter.SetRenderWindow(self.renWin) self.psfilecounter = -1 self.epsfilecounter = -1 self.pdffilecounter = -1 except: print "Could not import vtkGL2PSExporter from vtk. Saving pdf, eps, and ps files will not be possible." self.rawfilecounter = -1 def write_xml(self, filename=None, map=None): if not self.is_writer: self.init_writer() self.xmlfilecounter += 1 if filename == None: filename = "%s%.4d.xml" % (self.basename, self.xmlfilecounter) tf = open(filename, "w") tf.write("""\ """ % len(self.x)) x = self.x.copy() if map is not None: x[:] = x[map] for i,v in enumerate(x): tf.write(' \n' % (i,v)) tf.write("""\ """) tf.close() def write_vtk(self, filename=None): """Write data to file. This works because the attached field self.x is a pointer to the data that is being computed.""" if not self.is_writer: self.init_writer() self.filecounter += 1 if filename is None: filename = "%s%.4d.vtk" % (self.basename, self.filecounter) self._update() self.writer.SetFileName(filename) self.writer.Write() def write_png(self, filename=None): """Write a simulation frame to file in png format.""" if not self.is_writer: self.init_writer() self.pngfilecounter += 1 if filename is None: filename = "%s%.4d.png" % (self.basename, self.pngfilecounter) self._update() self.pngwriter.SetFileName(filename) self.w2if.Modified() self.pngwriter.Write() def write_ps(self, filename=None, compress = False, format = "eps"): """Write a simulation frame to file in eps/ps/pdf format.""" if not self.is_writer: self.init_writer() assert(isinstance(format,str)) if compress: self.pswriter.CompressOn() else: self.pswriter.CompressOff() if format.lower() == "pdf": self.pdffilecounter += 1 self.pswriter.SetFileFormatToPDF() # Allways compress using pdf self.pswriter.CompressOn() counter = self.pdffilecounter elif format.lower() == "ps": self.psfilecounter += 1 self.pswriter.SetFileFormatToPS() counter = self.psfilecounter else: self.epsfilecounter += 1 self.pswriter.SetFileFormatToEPS() counter = self.epsfilecounter if filename is None: filename = "%s%.4d" % (self.basename, counter) self.pswriter.SetFilePrefix(filename) self._update() self.pswriter.Write() def write_raw(self, sol=None, dofmap=None): """Write a simulation frame to file, i.e. dump the numpy array to file in binary format.""" if not self.is_writer: self.init_writer() #self._update(sol) self.rawfilecounter += 1 if not dofmap is None: self.x[dofmap].dump("%s%.4d.raw" % (self.basename, self.rawfilecounter)) else: self.x.dump("%s%.4d.raw" % (self.basename, self.rawfilecounter)) def movie(self, name=None, fps=25, cleanup=False): import threading, subprocess class MyThread(threading.Thread): def __init__ (self, files, output, fps=10, cleanup=False): self.files = files self.output = output self.fps = fps self.cleanup = cleanup threading.Thread.__init__(self) def run(self): files = ",".join(self.files) #opts = "vbitrate=2160000:mbd=2:keyint=132:v4mv:vqmin=3:lumi_mask=0.07:dark_mask=0.2:scplx_mask=0.1:tcplx_mask=0.1:naq" #command = 'mencoder mf://%s -mf fps=%d -o %s -ovc lavc -lavcopts vcodec=mpeg4:vpass=1:%s' % (files, self.fps, self.output, opts) #command = 'mencoder mf://%s -mf fps=%d -o %s -ovc lavc -lavcopts vcodec=mpeg4' % (files, self.fps, self.output) #command = 'mencoder mf://%s -mf fps=%d -o %s -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:mv0:trell=yes:v4mv=yes:cbp:last_pred=3:predia=2:dia=2:vmax_b_frames=2:vb_strategy=1:precmp=2:cmp=2:subcmp=2:preme=2:qns=2' % (files, self.fps, self.output) command = 'mencoder mf://%s -mf fps=%d -o %s -ovc lavc -lavcopts vcodec=ffv1' % (files, self.fps, self.output) failure = subprocess.call(command, shell=True) if failure: print "Could not make video, please check your mencoder installation!" if self.cleanup: for f in self.files: os.remove(f) start = 0 stop = self.pngfilecounter if stop < 0: print "No scenes written as png files. Giving up." return files = ["%s%.4d.png" % (self.basename, i) for i in xrange(start,stop+1)] if name == None: name = self.basename+".avi" mythread = MyThread(files, name, fps=fps, cleanup=cleanup) mythread.start() def interactive(self): """Hand the control over to the render window.""" print "Plot active, press 'q' to continue." self.iren.Start() def azimuth(self, angle): self.ren.GetActiveCamera().Azimuth(angle) def elevate(self, x): self.ren.GetActiveCamera().Elevation(x) def dolly(self, x): self.ren.GetActiveCamera().Dolly(x) def set_viewangle(self, i): self.ren.GetActiveCamera().SetViewAngle(i) def set_camera_movement(self, a=0, e=0, m=60): self.azimuth_incr = a; # 1 (degree) is a good value self.elevator_incr = e; # 1 (degree) is a good value self.max_elevation = m; def _make_lut(self, autorange=(0,0)): lut = vtk.vtkLookupTable() lutfile = os.path.join(lutdir, self.lutfile) if os.path.isfile(self.lutfile): lutfile = self.lutfile if os.path.isfile(lutfile): vals = [x.split() for x in open(lutfile,'r').readlines()[1:]] lut.SetNumberOfColors(len(vals)) lut.Build() for i in range(len(vals)): if len(vals[i]) == 4: lut.SetTableValue(i, *[float(x) for x in vals[i]]), else: lut.SetTableRange (0, 1); lut.SetHueRange (0, 0); lut.SetSaturationRange (0, 0); lut.SetValueRange (0, 1); if False: ctable = [[1, 0, 0, 1], [0, 1, 0, 1], [0, 0, 1, 1], [0, 0, 0, 1], [1, 1, 0, 1], [1, 0, 1, 1], [0, 1, 1, 1] ] rmin, rmax = autorange ncols = int(rmax-rmin)+1 lut.SetNumberOfColors(ncols) lut.Build() rnge = min(len(ctable), ncols) for i in xrange(rnge): row = ctable[i] lut.SetTableValue(i, *row) return lut def _make_scalarbar(self, lut): scalarbar = vtk.vtkScalarBarActor() scalarbar.SetLookupTable(lut) scalarbar.GetPositionCoordinate().SetCoordinateSystemToNormalizedViewport() scalarbar.GetPositionCoordinate().SetValue (0.1,0.01) scalarbar.SetOrientationToHorizontal() scalarbar.SetWidth (0.8) scalarbar.SetHeight (0.14) scalarbar.VisibilityOff() scalarbar.GetTitleTextProperty().SetColor(0,0,0) scalarbar.GetLabelTextProperty().SetColor(0,0,0) return scalarbar def make_vtk_grid(self, mesh, cell_type=None): """Based on a mesh with the methods cells() and coordinates(), construct a vtk grid.""" #if mesh is None: mesh = self.mesh cell_dim = mesh.cells().shape[1] if cell_dim == 2: celltype = 3 elif cell_dim == 3: celltype = 5 elif cell_dim == 4: celltype = 10 elif cell_type == "quads": celltype = 9 cellsize = cell_dim + 1 if cell_type == "quads": cellsize = 4 nl = mesh.cells().copy() _cl = mesh.coordinates() cl = numpy.zeros((_cl.shape[0], 3), dtype='d') cl[:,:_cl.shape[1]] = _cl VTK_ID_TYPE_SIZE = vtk.vtkIdTypeArray().GetDataTypeSize() if VTK_ID_TYPE_SIZE == 4: inttype = numpy.int32 elif VTK_ID_TYPE_SIZE == 8: inttype = numpy.int64 # Create a cell array, stored in Python.numpy ncells = len(nl) cells = numpy.zeros((ncells, cellsize), dtype=inttype) cells[:,1:cellsize] = nl cells[:,0] = cellsize - 1 a = numpy.ravel(cells) ita = vtk.vtkIdTypeArray() ita.SetVoidArray(a, len(a), 1) ca = vtk.vtkCellArray() ca.SetCells(ncells,ita) # Create some points npoints = len(cl) pts = numpy.ravel(cl) pa = vtk.vtkDoubleArray() pa.SetNumberOfComponents(3) pa.SetVoidArray(pts, npoints*3, 1) self.refs = [a, pts] v = vtk.vtkPoints() v.SetNumberOfPoints(npoints) v.SetData(pa) # Create an unstructured grid. us = vtk.vtkUnstructuredGrid() us.SetPoints(v) us.SetCells(celltype, ca) return us def vec3d(self, x): nsd = 3 (n,m) = x.shape if m < nsd: x_old = x x = numpy.zeros((n, nsd)) x[:,:m] = x_old return x def update(self, x=None): """Update plot data.""" if self.displacement is not None: self.disp_arr.Modified() if not x is None: self._x_shape = x.shape self.x = x if len(self._x_shape) == 1: self.darr.SetVoidArray(self.x, len(self.x), 1) else: nsd = 3 self.darr.SetNumberOfComponents(nsd) self.x = self.vec3d(self.x) if self.mode == "vector": self._update_directions(self.x) self._x_shape=(nsd*len(self.x),) self.darr.SetVoidArray(self.x, len(numpy.ravel(self.x)), 1) #x.shape = shape if x is None and self.mode=="vector": self._update_directions(self.x) self.darr.Modified() self.ren.ResetCameraClippingRange() if self.mesh is not None: self.vtkgrid.Modified() self.filter.Modified() if self.vertex_plot: if len(self._x_shape) == 1: self.vtkgrid.GetPointData().SetScalars(self.darr) else: self.vtkgrid.GetPointData().SetVectors(self.darr) else: if len(self._x_shape) == 1: self.vtkgrid.GetCellData().SetScalars(self.darr) if self.mode == "scalar_xy": xVal = vtk.vtkFloatArray() yVal = vtk.vtkFloatArray() coords = self.mesh.coordinates() for i in range(len(coords)): xVal.InsertNextTuple1(coords[i]) yVal.InsertNextTuple1(x[i]) curve = vtk.vtkRectilinearGrid() curve.SetDimensions(len(coords), 1, 1) curve.SetXCoordinates(xVal) curve.GetPointData().SetScalars(yVal) xyplot = self.ren.GetViewProps().GetLastProp() xyplot.RemoveAllInputs() xyplot.AddInput(curve) if self.rescale and not self.mode == "scalar_xy": self.show_scalarbar() self.rescaleColors(self.x.min(), self.x.max()) self.renWin.Render() # Set the window title after the window is actually created to # fix the problem with title not showing on OS X with Cocoa VTK # and on Windows. if self.frame is None: self.renWin.SetWindowName(self.title) self.azimuth(self.azimuth_incr) # assumes that initial elevation is zero. If not the sum of # elevate steps might exceed 90 degrees, which is not good. # Fix: use something like GetActiveCamera().getElevation() self.elevator += self.elevator_incr; step = 1.5*self.elevator_incr*math.cos(self.elevator*3.1416/180.0) self.elevate(step) def rescaleColors(self, dmin, dmax, idx=0): """Update's color scale """ def _update_range(min, max, mapper): mapper.SetScalarRange(min, max) mapper.GetLookupTable().SetRange(min, max) self.scalarbar.GetLookupTable().SetRange(dmin, dmax) self.ren.ResetCamera() mapper = self.scalar_actors[idx].GetMapper() if mapper is not None: _update_range(dmin, dmax, mapper) mapper = self.vector_actors[idx].GetMapper() if mapper is not None: _update_range(dmin, dmax, mapper) def _add_arrow(self, vectors): tipradius = self.args.get("arrow_tip_radius", 0.15) tipresolution = self.args.get("arrow_tip_resolution", 16) tiplength= self.args.get("arrow_tip_length", 0.15) shaftradius = self.args.get("arrow_shaft_radius", 0.05) shaftresolution = self.args.get("arrow_shaft_resolution", 16) arrow = vtk.vtkArrowSource() arrow.SetTipRadius(tipradius) arrow.SetTipLength(tiplength) arrow.SetTipResolution(tipresolution) arrow.SetShaftRadius(shaftradius) arrow.SetShaftResolution(shaftresolution) vectors.SetSource(arrow.GetOutput()) vectors.SetScaleFactor(0.01) return vectors def show_scalarbar(self): self.scalarbar.VisibilityOn() def set_vector_scale(self, scale_factor): """Set the vector scale factor.""" self.vectors.SetScaleFactor(scale_factor) self.vectors.Modified() self.renWin.Render() def _update_directions(self, new_directions): self.directions[:,:] = new_directions if self.rescale: self.vectors.SetScaleFactor(self.compute_vector_scale(new_directions)) self.vtkdirections.Modified() def _vectors_from_numpy(self, coords, directions): vectors = vtk.vtkGlyph3D() vectors.SetColorModeToColorByVector () vectors.SetScaleModeToScaleByVector() coordinates = coords (n,m) = coordinates.shape coords_3d = numpy.zeros((n, 3), dtype='d') coords_3d[:,:m] = coordinates directions_3d = numpy.zeros((n, 3), dtype='d') if directions.shape[1] > m: # If directions is 3d already m = directions.shape[1] directions_3d[:,:m] = directions coordinates = coords_3d directions = directions_3d m = 3 vtkpoints = vtk.vtkDoubleArray() vtkpoints.SetNumberOfComponents(m) vtkpoints.SetVoidArray(coordinates, n*m, m) _points = vtk.vtkPoints() _points.SetData(vtkpoints) vtkdirections = vtk.vtkDoubleArray() vtkdirections.SetNumberOfComponents(m) vtkdirections.SetVoidArray(directions, n*m, m) data = vtk.vtkPolyData() data.SetPoints(_points) data.GetPointData().SetVectors(vtkdirections) vectors.SetInput(data) vectors.SetVectorModeToUseVector() self.coordinates = coordinates self.directions = directions self.vtkpoints = vtkpoints self.vtkdirections = vtkdirections self.data = data return self._add_arrow(vectors) def _construct_interactor(self): if self.frame is not None: return None style = vtk.vtkInteractorStyleSwitch() style.SetCurrentStyleToTrackballCamera() iren = vtk.vtkRenderWindowInteractor() iren.SetInteractorStyle(style) return iren def _construct_renderer(self): if self.frame is not None: from vtk.wx.wxVTKRenderWindow import wxVTKRenderWindow import wx size = self.frame.mainframe.GetClientSize() self.widget = wxVTKRenderWindow(self.frame, -1, size=size) ren = vtk.vtkRenderer() self.widget.GetRenderWindow().AddRenderer(ren) renWin = self.widget.GetRenderWindow() else: ren = vtk.vtkRenderer() renWin = vtk.vtkRenderWindow() renWin.AddRenderer(ren) renWin.SetSize(*self.window_size) return ren, renWin def compute_vector_scale(self, x, scale=2.0): n,d = x.shape norms = [numpy.linalg.norm(v) for v in x] vmin, vmax = min(norms), max(norms) if abs(vmax) < 1e-16: vmax = 1.0 return scale/vmax*self.__D/(n**(1.0/d)) def vector_plotter(self, coords, x, vmin, vmax, wireframe=False, sf=2.0): import operator vectors = self._vectors_from_numpy(coords, x) if self.mesh is not None: a = self.simple_outline()[0].GetBounds() else: a = (0,1,0,1,0,1) self.__D = math.sqrt(reduce(operator.add,[(a[i]-a[i-1])**2 for i in xrange(1,6,2)])) # Resolve scale factor: vectors.SetScaleFactor(self.compute_vector_scale(x, scale=sf)) self.vectors = vectors if self.ren is None: self.ren, self.renWin = self._construct_renderer() self.iren = self._construct_interactor() if self.frame is None: self.iren.SetRenderWindow(self.renWin) self.iren.AddObserver("KeyPressEvent", self.key_press_methods) self.ren.SetBackground(1, 1, 1) lut = self._make_lut(autorange=(vmin, vmax)) self.scalarbar = self._make_scalarbar(lut) self.lut = lut else: self.ren.RemoveAllViewProps() self.update_vector_mapper(vectors) self.rescaleColors(vmin, vmax) actor = self.vector_actors[-1] # TODO: Fixme actor.AddPosition(0, 0, 0) if self.axes_on: self.simple_axis(self.ren) self.ren.SetBackground(1, 1, 1) self.ren.AddActor(actor) self.ren.AddActor2D(self.scalarbar) self.ren.ResetCamera() self.ren.GetActiveCamera().Azimuth(00) self.ren.GetActiveCamera().Elevation(0) self.ren.GetActiveCamera().Dolly(1.5) self.ren.ResetCameraClippingRange() if self.frame is None: self.iren.AddObserver("KeyPressEvent", self.key_press_methods) return self.iren, self.renWin, self.ren def display_keybindings(self): print """\ Keybindings: Viper specific: * Keypress v: write data to file in vtk format * Keypress i: write image to file in png format * Keypress m: write image to file in eps format * Keypress n: write image to file in pdf format * Keypress o: add outline * Keypress h: display this message Inherited from vtk: * Keypress j / Keypress t: toggle between joystick (position sensitive) and trackball (motion sensitive) styles. In joystick style, motion occurs continuously as long as a mouse button is pressed. In trackball style, motion occurs when the mouse button is pressed and the mouse pointer moves. * Keypress c / Keypress a: toggle between camera and actor modes. In camera mode, mouse events affect the camera position and focal point. In actor mode, mouse events affect the actor that is under the mouse pointer. * Button 1: rotate the camera around its focal point (if camera mode) or rotate the actor around its origin (if actor mode). The rotation is in the direction defined from the center of the renderer's viewport towards the mouse position. In joystick mode, the magnitude of the rotation is determined by the distance the mouse is from the center of the render window. * Button 2: pan the camera (if camera mode) or translate the actor (if actor mode). In joystick mode, the direction of pan or translation is from the center of the viewport towards the mouse position. In trackball mode, the direction of motion is the direction the mouse moves. (Note: with 2-button mice, pan is defined as -Button 1.) * Button 3: zoom the camera (if camera mode) or scale the actor (if actor mode). Zoom in/increase scale if the mouse position is in the top half of the viewport; zoom out/decrease scale if the mouse position is in the bottom half. In joystick mode, the amount of zoom is controlled by the distance of the mouse pointer from the horizontal centerline of the window. * Keypress 3: toggle the render window into and out of stereo mode. By default, red-blue stereo pairs are created. Some systems support Crystal Eyes LCD stereo glasses; you have to invoke SetStereoTypeToCrystalEyes() on the rendering window. * Keypress e: exit the application. * Keypress f: fly to the picked point * Keypress p: perform a pick operation. The render window interactor has an internal instance of vtkCellPicker that it uses to pick. * Keypress r: reset the camera view along the current view direction. Centers the actors and moves the camera so that all actors are visible. * Keypress s: modify the representation of all actors so that they are surfaces. * Keypress u: invoke the user-defined function. Typically, this keypress will bring up an interactor that you can type commands in. * Keypress w: modify the representation of all actors so that they are wireframe. * Keypress X: exit application """ def simple_axis(self, ren): if self.mesh is not None: tprop = vtk.vtkTextProperty() tprop.SetColor(0, 0, 0) tprop.ShadowOff() outline = vtk.vtkOutlineFilter() outline.SetInput(self.vtkgrid) normals = vtk.vtkPolyDataNormals() normals.SetInputConnection(outline.GetOutputPort()) axes = vtk.vtkCubeAxesActor2D() axes.SetInput(normals.GetOutput()) axes.SetCamera(ren.GetActiveCamera()) axes.GetProperty().SetColor(0,0,0) axes.SetAxisTitleTextProperty(tprop) axes.SetAxisLabelTextProperty(tprop) axes.SetCornerOffset(0) ren.AddViewProp(axes) def simple_outline(self): if self.mesh is not None: outline = vtk.vtkOutlineFilter() outline.SetInput(self.vtkgrid) mapper = vtk.vtkPolyDataMapper() mapper.SetInputConnection(outline.GetOutputPort()) actor = vtk.vtkActor() actor.SetMapper(mapper) actor.GetProperty().SetColor(1, 0, 0) return mapper, actor def key_press_methods(self, obj, event): key = obj.GetKeyCode() if key == "o": if not self.outline: map, actor = self.simple_outline() self.ren.AddActor(actor) self.renWin.Render() if True: # TODO: Figure out a way to steer this bounds = map.GetBounds() print "Size of bounding box:" print "dx = ", bounds[1] - bounds[0] print "dy = ", bounds[3] - bounds[2] print "dz = ", bounds[5] - bounds[4] self.outline = True elif key == "i": print "Writing a simulation frame to a 'png' file" self.write_png() elif key == "v": print "Writing data to a 'vtk' file" self.write_vtk() elif key == "m": print "Writing a simulation frame to an 'eps' file" self.write_ps() elif key == "n": print "Writing a simulation frame to a 'pdf' file" self.write_ps(format="pdf") elif key == "h": self.display_keybindings() elif key == 'e': raise SystemExit def begin_interaction(self, obj, event): self.glyphActor.VisibilityOn() print "Picker activated" def enable_event(self, obj, event): self.glyphActor.VisibilityOn() print "Interaction is ON, press again to turn off." def disable_event(self, obj, event): self.glyphActor.VisibilityOff() print "Interaction is OFF, press again to turn on." def probe_data(self, obj, event): self.glyphActor.VisibilityOff() obj.GetPolyData(self.point) print obj.GetPosition() def user_method(self, obj, event): print "Please refrain form pressing 'u'" print self.pointWidget.GetPosition() self.add_sphere(self.pointWidget.GetPosition(), 0.2) self._update() def update_scalar_mapper(self, data, idx=0): """Set/Update mapper at position idx. Turn scalar data into a smooth vtkPolyDataNormals object for nice rendering.""" extract = vtk.vtkGeometryFilter() extract.SetInput(data) extract.GetOutput().ReleaseDataFlagOn() normals = vtk.vtkPolyDataNormals() normals.SetInputConnection(extract.GetOutputPort()) mapper = self.scalar_actors[idx].GetMapper() if mapper is None: mapper = vtk.vtkPolyDataMapper() mapper.SetLookupTable(self.lut) self.scalar_actors[idx].SetMapper(mapper) mapper.SetInputConnection(normals.GetOutputPort()) self.scalar_actors[idx].Modified() def update_vector_mapper(self, data, idx=0): """Set/Update vector mapper at position idx.""" mapper = self.vector_actors[idx].GetMapper() if mapper is None: mapper = vtk.vtkPolyDataMapper() mapper.SetLookupTable(self.lut) self.vector_actors[idx].SetMapper(mapper) mapper.SetInput(data.GetOutput()) self.vector_actors[idx].Modified() def simple_plotter(self, data, vmin, vmax, wireframe=False): """Construct a simple vtk plotter for data.""" if self.ren is None: self.ren, self.renWin = self._construct_renderer() self.iren = self._construct_interactor() if self.frame is None: self.iren.SetRenderWindow(self.renWin) self.iren.AddObserver("KeyPressEvent", self.key_press_methods) self.ren.SetBackground(1, 1, 1) lut = self._make_lut(autorange=(vmin, vmax)) self.scalarbar = self._make_scalarbar(lut) self.lut = lut else: self.ren.RemoveAllViewProps() self.update_scalar_mapper(data) self.rescaleColors(vmin, vmax) actor = self.scalar_actors[-1] # TODO: Fixme actor.AddPosition(0, 0, 0) if wireframe: actor.GetProperty().SetRepresentationToWireframe () # The plane widget is used probe the dataset. pointWidget = vtk.vtkPointWidget() pointWidget.SetInput(data) pointWidget.AllOff() pointWidget.PlaceWidget() point = vtk.vtkPolyData() pointWidget.GetPolyData(point) probe = vtk.vtkProbeFilter() probe.SetInput(point) probe.SetSource(data) # create glyph cone = vtk.vtkConeSource() cone.SetResolution(16) glyph = vtk.vtkGlyph3D() glyph.SetInput(probe.GetOutput()) glyph.SetSource(cone.GetOutput()) glyph.SetVectorModeToUseVector() glyph.SetScaleModeToDataScalingOff() glyph.SetScaleFactor(data.GetLength()*0.1) glyphMapper = vtk.vtkPolyDataMapper() glyphMapper.SetInput(glyph.GetOutput()) glyphActor = vtk.vtkActor() glyphActor.SetMapper(glyphMapper) glyphActor.VisibilityOff() probe = vtk.vtkProbeFilter() probe.SetInput(point) probe.SetSource(data) self.cone = cone self.glyph = glyph self.probe = probe self.point = point self.glyphActor = glyphActor self.pointWidget = pointWidget self.sphere_data = vtk.vtkAppendPolyData() self.polygon_data = vtk.vtkAppendPolyData() self.smapper = vtk.vtkPolyDataMapper() for actor in self.sphere_actors: self.ren.AddActor(actor) for actor in self.scalar_actors: self.ren.AddActor(actor) self.ren.AddActor(glyphActor) if self.axes_on: self.simple_axis(self.ren) self.ren.AddActor2D(self.scalarbar) self.ren.ResetCamera() self.ren.GetActiveCamera().Azimuth(00) self.ren.GetActiveCamera().Elevation(0) self.ren.GetActiveCamera().Dolly(1.5) self.ren.ResetCameraClippingRange() if False: self.iren.AddObserver("UserEvent", self.user_method) pointWidget.SetInteractor(self.iren) pointWidget.AddObserver("EnableEvent", self.enable_event) pointWidget.AddObserver("DisableEvent", self.disable_event) pointWidget.AddObserver("StartInteractionEvent", self.begin_interaction) pointWidget.AddObserver("InteractionEvent", self.probe_data) if self.args.get("add_cell_labels", False): self.add_cell_labels() if self.args.get("add_point_labels", False): self.add_point_labels() return self.iren, self.renWin, self.ren def add_point_labels(self, labels=None): # Generate data arrays containing point and cell ids ldm = vtk.vtkLabeledDataMapper() ldm.SetLabelFormat("%g") ids = vtk.vtkIdFilter() if labels != None: print "Unable to plot custom point labels. Work in progress." """ # Work in progress (?) ids.SetInput(self.vtkgrid) ids.PointIdsOn() ids.CellIdsOn() ids.FieldDataOn() ids.Update() tmp = ids.GetOutput() print "dir(tmp)", dir(tmp) print "dir(tmp.GetPointData())", dir(tmp.GetPointData()) print "tmp.GetPointData().GetArrayName(idsname)", tmp.GetPointData().GetArray(0) print "dir(tmp.GetPointData().GetScalars())", dir(tmp.GetPointData().GetScalars()) print "tmp", tmp arr = tmp.GetPointData().GetArray(0) arr.SetVoidArray(labels, len(labels), 1) #arr2 = tmp.GetPointData().GetScalars() #arr2.SetVoidArray(numpy.array(labels, dtype='d'), len(labels), 1) tmp.Modified() print "arr.GetName():", arr.GetName() n = arr.GetNumberOfTuples() print "n = ", n x = numpy.zeros(n, dtype='i') arr.ExportToVoidPointer(x) print "X:", x #tmp.Update() #tmp = self.vtkgrid """ else: ids.SetInput(self.vtkgrid) ids.PointIdsOn() ids.FieldDataOn() tmp = ids.GetOutput() del ids ldm.SetInput(tmp) ldm.SetLabelModeToLabelFieldData() ldm.GetLabelTextProperty().SetColor(0, 0, 0) ldm.GetLabelTextProperty().BoldOn() pointLabels = vtk.vtkActor2D() pointLabels.SetMapper(ldm) self.ren.AddActor2D(pointLabels) def add_cell_labels(self): # Generate data arrays containing point and cell ids ids = vtk.vtkIdFilter() ids.SetInput(self.vtkgrid) ids.CellIdsOn() ids.FieldDataOn() cc = vtk.vtkCellCenters() cc.SetInputConnection(ids.GetOutputPort()) tmp = cc.GetOutput() ldm = vtk.vtkLabeledDataMapper() ldm.SetLabelFormat("%g") ldm.SetInputConnection(cc.GetOutputPort()) ldm.SetLabelModeToLabelFieldData() ldm.GetLabelTextProperty().SetColor(0, 0, 0) ldm.GetLabelTextProperty().BoldOn() pointLabels = vtk.vtkActor2D() pointLabels.SetMapper(ldm) self.ren.AddActor2D(pointLabels) def plot_xy(self, xd, yd, linespec, vmin=None, vmax=None): xVal = vtk.vtkFloatArray() yVal = vtk.vtkFloatArray() for i in range(len(xd)): xVal.InsertNextTuple1(xd[i]) yVal.InsertNextTuple1(yd[i]) curve = vtk.vtkRectilinearGrid() curve.SetDimensions(len(xd), 1, 1) curve.SetXCoordinates(xVal) curve.GetPointData().SetScalars(yVal) # Set up the xyplot actor xyplot = vtk.vtkXYPlotActor() text_prop = xyplot.GetTitleTextProperty() text_prop.SetColor(.0, .0, .0) text_prop.SetFontFamilyToArial() xyplot.AddInput(curve) xyplot.GetProperty().SetColor(0.0,0.0,0.0) xyplot.SetBorder(10) xyplot.GetPositionCoordinate().SetValue(0.0, 0.0, 0) xyplot.GetPosition2Coordinate().SetValue(1.0, 1.0, 0) xyplot.GetProperty().SetLineWidth(2) xyplot.GetProperty().SetPointSize(7) xyplot.SetPlotColor(0,1,0,0) xyplot.PlotPointsOff() xyplot.PlotLinesOff() xyplot.SetXTitle("x") xyplot.SetYTitle("u(x)") xyplot.SetXValuesToValue() xyplot.SetAxisTitleTextProperty(text_prop) xyplot.SetAxisLabelTextProperty(text_prop) xyplot.SetTitleTextProperty(text_prop) xyplot.SetDataObjectXComponent(0,0) xyplot.SetDataObjectYComponent(0,1) if not vmin is None and not vmax is None: xyplot.SetYRange(vmin, vmax) # determine line style if linespec == ".": xyplot.PlotCurvePointsOn() xyplot.SetPlotPoints(0,1) elif linespec == "-": xyplot.PlotCurveLinesOn() elif linespec == ".-" or linespec == "-.": xyplot.PlotCurvePointsOn() xyplot.PlotCurveLinesOn() xyplot.SetPlotPoints(0,1) else: print "Invalid line spec. Exiting" exit(0) # set up the renderer ren = vtk.vtkRenderer() ren.SetBackground(1,1,1) ren.AddActor(xyplot) renWin = vtk.vtkRenderWindow() renWin.AddRenderer(ren) renWin.SetSize(self.window_size) # interaction iren = vtk.vtkRenderWindowInteractor() iren.SetRenderWindow(renWin) return iren, renWin, ren def add_sphere(self, pt, rad, thera_res=8, phi_res=6, color=(0,0,0)): """Add a sphere at point pt, with radius rad.""" sphere = vtk.vtkSphereSource() sphere.SetThetaResolution(thera_res) sphere.SetPhiResolution(phi_res) sphere.SetRadius(rad) sphere.SetCenter(*pt) sactor = self.sphere_actors[-1] self.sphere_data.AddInput(sphere.GetOutput()) self.smapper.SetInput(self.sphere_data.GetOutput()) sactor.SetMapper(self.smapper) sactor.GetProperty().SetColor(*color) self.update() def add_polygon(self, polygon, idx=0): assert isinstance(polygon, (list, tuple)) numpoints = len(polygon) assert isinstance(polygon[0], (list, tuple, numpy.ndarray)) points2d = False if len(polygon[0]) == 2: points2d = True points = vtk.vtkPoints() points.SetNumberOfPoints(numpoints) for i in xrange(numpoints): point = list(polygon[i]) if points2d: point.append(0.0) points.InsertPoint(i, *point) line = vtk.vtkPolyLine() line.GetPointIds().SetNumberOfIds(numpoints) for i in xrange(numpoints): line.GetPointIds().SetId(i, i) grid = vtk.vtkUnstructuredGrid() grid.Allocate(1, 1) grid.InsertNextCell(line.GetCellType(), line.GetPointIds()) grid.SetPoints(points) extract = vtk.vtkGeometryFilter() extract.SetInput(grid) extract.GetOutput().ReleaseDataFlagOn() self.polygon_data.AddInput(extract.GetOutput()) actor = self.polygon_actors[idx] mapper = actor.GetMapper() if mapper is None: mapper = vtk.vtkPolyDataMapper() actor.SetMapper(mapper) mapper.SetInput(self.polygon_data.GetOutput()) actor.GetProperty().SetColor(0, 0, 1) actor.GetProperty().SetLineWidth(1) self.ren.AddActor(actor) self.update() def add_stim_sites(self, stim): """Add a sphere and a label to each stimulation site.""" i = 0 for item in stim: # draw a sphere at the stim site: point = item[0] if (len(point)==2): point = (point[0], point[1], 0.0) self.add_sphere(point, item[1]) # draw a lable at the stim site: act = vtk.vtkCaptionActor2D(); act.SetCaption(str(i)); i += 1 act.SetAttachmentPoint(point) act.BorderOff() act.GetProperty().SetColor(1, 0, 0) self.ren.AddActor(act) def _cutplane_filter(self, origo, normal): """ Return a cut plan data """ if not self.mesh.cells().shape[1] == 4: raise RuntimeError, "Can only cut scalar 3 dimensional plots" if not (isinstance(origo, (numpy.ndarray, tuple, list)) and len(origo) == 3): raise RuntimeError, "Provide a tuple, list or numpy array of length 3 for cutplane_origo" if not (isinstance(normal, (numpy.ndarray, tuple, list)) and len(normal) ==3): raise RuntimeError, "Provide a tuple, list or numpy array of length 3 for cutplane_normal" # Define the cut plane plane = vtk.vtkPlane() plane.SetOrigin(origo) plane.SetNormal(normal) # Initialize the Cutter filter cutter = vtk.vtkCutter() cutter.SetCutFunction(plane) cutter.SetInput(self.filter) cut_data = cutter.GetOutput() return cut_data def set_sphere_opacity(self, val): """Change the sphere opacity (range [0,1]).""" if val < 0.0: val = 0.0 elif val > 1.0: val = 1.0 for actor in self.sphere_actors(): actor.GetProperty().SetOpacity(val) def set_min_max(self, min, max): """Set min and max scalar range""" self.rescaleColors(min, max) def plot(mesh, data, *args, **kwargs): global _viper _viper = Viper(mesh, data, *args, **kwargs) return _viper def update(data): global _viper if _viper != None: _viper.update(data) return _viper print "No plot object, cannot update" def interactive(): if _viper != None: _viper.interactive() return _viper print "No plot object, interaction not possible" def save_plot(data, mesh, filename="plot.png"): return Viper(data, mesh, filename=filename, interactive=False) viper-1.0.0/src/viper/viper_dolfin.py0000644000000000000000000004445111667652155015757 0ustar 00000000000000#!/usr/bin/env python # Copyright (C) 2006-2011 Ola Skavhaug and Simula Research Laboratory # # This file is part of Viper. # # Viper is free software: you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Viper is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public License # along with Viper. If not, see . __cite__ = """Ola Skavhaug, Viper Visualization Software, http://www.fenicsproject.org""" __version__ = "1.0.0" __doc__ = """ Viper for DOLFIN A simple mesh plotter and run--time visualization module for plotting and saving simulation data. Adjusted Viper for plotting native DOLFIN data structures like dolfin::Mesh, dolfin::MeshFunction, and dolfin::Function. Citation: %s """ % __cite__ from viper import Viper as ViperBase import dolfin from dolfin.cpp import Mesh, MeshFunctionInt, MeshFunctionUInt, MeshFunctionBool, MeshFunctionDouble, GenericFunction, Function, Expression, FunctionSpace, FunctionPlotData import numpy import vtk import ffc _plotter = None plottable = [('mesh', (Mesh,)), ('genericfunction', (GenericFunction,)), ('functionplotdata', (FunctionPlotData,)), ('meshfunction', tuple(eval("MeshFunction%s" % t) for t in ["Int", "UInt", "Double", "Bool"]))] class Viper(ViperBase): """A custom Viper sub-class for visualizing meshes and fields in Dolfin.""" def __init__(self, data, *args, **kwargs): self._update = self.update self.update = self.dolfin_update kwargs["rescale"] = kwargs.get("rescale", True) self.initcommon(kwargs) self.warpscalar = True self.lutfile = kwargs.get("lutfile", "gauss_120.lut") self.plot(data, *args, **kwargs) def parse_input(self, args, kwargs): if len(args) == 1 and isinstance(args[0], str): lst = [s.strip() for s in args[0].split(",")] ar = [] kw = {} for l in lst: if "=" in l: (k,v) = l.split("=") kw[k] = eval(v) else: ar.append(eval(l)) return ar, kw return args, kwargs def plot(self, data, *args, **kwargs): args, kwargs = self.parse_input(args, kwargs) if "noninteractive" in args: kwargs["interactive"] = False for plottype, classes in plottable: if isinstance(data, classes): self.plottype = plottype plot_method = getattr(self, "plot_%s" % plottype) plot_method(data, *args, **kwargs) return raise TypeError("Type not supported for plotting, %s" % str(type(data))) def plot_mesh(self, data, *args, **kwargs): self.rescale = False self.mesh = data self.vtkgrid = self.make_vtk_grid(self.mesh) self.filter = self.vtkgrid self.x = numpy.zeros(self.mesh.num_vertices()) (self.iren, self.renWin, self.ren) = self.simple_plotter(self.filter, self.x.min(), self.x.max(), wireframe=True) self._update(self.x) self.renWin.Render() if kwargs.get("interactive", True): self.interactive() def plot_genericfunction(self, data, *args, **kwargs): if isinstance(data, Expression): self.mesh = kwargs.get("mesh") if self.mesh is None or not isinstance(self.mesh, Mesh): raise TypeError, "expected a mesh as kwargs when plotting Expression" elif isinstance(data, Function): self.mesh = data.function_space().mesh() else: raise TypeError, "Do not know how to plot the GenericFunction" self.vtkgrid = self.make_vtk_grid(self.mesh) self.filter = self.vtkgrid self.warpscalar = kwargs.get("warpscalar", True) self.rescale = kwargs.get("rescale", False) self.mode = kwargs.get("mode", "auto") wireframe=kwargs.get("wireframe", False) self.pts = kwargs.get("eval_pts", None) (dpn, rank) = self._dofs_pr_node(data) if self.mode == "auto": if dpn == 1: if self.mesh.cells().shape[1] == 2: self.mode = "scalar_xy" else: self.mode = "scalar" elif dpn == self.mesh.geometry().dim(): self.mode = "vector" else: raise RuntimeError, "Can't plot function with %d dofs pr node" % dpn if self.pts is None: nno = self.mesh.num_vertices() self.x = numpy.zeros(nno*dpn) data.compute_vertex_values(self.x, self.mesh) coords = self.mesh.coordinates() else: """Only arbitrary point evaluation for vector valued functions.""" assert self.mode == "vector" nno = len(self.pts) self.x = numpy.zeros((nno,dpn)) v = numpy.zeros(dpn, dtype='d') for (i, point) in enumerate(self.pts): data.eval(v, point) self.x[i,:] = v[:] self.x = self.x.transpose().copy() self.x.shape = nno*dpn, coords = numpy.array(self.pts) coords.shape = (len(self.pts), len(self.pts[0])) vmin = kwargs.get("vmin", self.x.min()) vmax = kwargs.get("vmax", self.x.max()) assert vmax >= vmin, "Empty range, please specify vmin and/or vmax" if self.mode == "scalar": minmax = self.x.max() - self.x.min() if self.warpscalar and minmax > 0 and self.mesh.geometry().dim() < 3: self.filter = self.warp_scalar(self.x, minmax) #self.__warping = True (self.iren, self.renWin, self.ren) = self.simple_plotter(self.filter, vmin, vmax, wireframe=wireframe) elif self.mode == "scalar_xy": xx = self.mesh.coordinates() (self.iren, self.renWin, self.ren) = self.plot_xy(xx, self.x, ".-", vmin=kwargs.get("vmin", None), vmax=kwargs.get("vmax", None)) elif self.mode in ("vector", "displacement"): self.x.shape = (dpn, nno) self.x = self.vec3d(self.x.transpose().copy()) if self.mode == "vector": (self.iren, self.renWin, self.ren) = self.vector_plotter(coords, self.x, vmin, vmax, wireframe=False) else: self.displacement = self.x.copy() # Use vector norms for scalar coloring self.x = numpy.sqrt(self.x[:,0]**2 + self.x[:,1]**2 + self.x[:,2]**2) self.filter = self.warp_vector(self.displacement) (self.iren, self.renWin, self.ren) = self.simple_plotter(self.filter, vmin, vmax, wireframe=wireframe) self.iren.Initialize() self._update(self.x) self.renWin.Render() if kwargs.get("interactive", True): self.interactive() def plot_functionplotdata(self, data, *args, **kwargs): self.mesh = data.mesh self.vtkgrid = self.make_vtk_grid(self.mesh) self.filter = self.vtkgrid self.warpscalar = kwargs.get("warpscalar", True) self.rescale = kwargs.get("rescale", False) self.mode = kwargs.get("mode", "auto") wireframe=kwargs.get("wireframe", False) self.pts = kwargs.get("eval_pts", None) rank = data.rank dpn = 1 if rank > 0: dpn = self.mesh.geometry().dim() if self.mode == "auto": if dpn == 1: if self.mesh.cells().shape[1] == 2: self.mode = "scalar_xy" else: self.mode = "scalar" elif dpn == self.mesh.geometry().dim(): self.mode = "vector" else: raise RuntimeError, "Can't plot function with %d dofs pr node" % dpn nno = self.mesh.num_vertices() self.x = numpy.zeros(nno*dpn) self.x = data.vertex_values().array().copy() coords = self.mesh.coordinates() vmin = kwargs.get("vmin", self.x.min()) vmax = kwargs.get("vmax", self.x.max()) assert vmax >= vmin, "Empty range, please specify vmin and/or vmax" if self.mode == "scalar": minmax = self.x.max() - self.x.min() if self.warpscalar and minmax > 0 and self.mesh.geometry().dim() < 3: self.filter = self.warp_scalar(self.x, minmax) #self.__warping = True (self.iren, self.renWin, self.ren) = self.simple_plotter(self.filter, vmin, vmax, wireframe=wireframe) elif self.mode == "scalar_xy": xx = self.mesh.coordinates() (self.iren, self.renWin, self.ren) = self.plot_xy(xx, self.x, ".-", vmin=kwargs.get("vmin", None), vmax=kwargs.get("vmax", None)) elif self.mode in ("vector", "displacement"): self.x.shape = (dpn, nno) self.x = self.vec3d(self.x.transpose().copy()) if self.mode == "vector": (self.iren, self.renWin, self.ren) = self.vector_plotter(coords, self.x, vmin, vmax, wireframe=False) else: self.displacement = self.x.copy() # Use vector norms for scalar coloring self.x = numpy.sqrt(self.x[:,0]**2 + self.x[:,1]**2 + self.x[:,2]**2) self.filter = self.warp_vector(self.displacement) (self.iren, self.renWin, self.ren) = self.simple_plotter(self.filter, vmin, vmax, wireframe=False) self.iren.Initialize() self._update(self.x) self.renWin.Render() if kwargs.get("interactive", True): self.interactive() def plot_meshfunction(self, data, *args, **kwargs): self.mesh = data.mesh() mesh_dim = self.mesh.topology().dim() dim = data.dim() size = data.size() values = data.array() self.vtkgrid = self.make_vtk_grid(self.mesh) self.filter = self.vtkgrid self.x = numpy.array(values, dtype='d') if str(values.dtype).count("int"): self.lutfile = "" if dim in (0, mesh_dim-1, mesh_dim): if dim==mesh_dim: # meshfunction over cells self.vertex_plot = False self.lutfile = "" elif dim==mesh_dim-1: # meshfunction over faces # Create a vertex valued meshfunction and plot that self.mesh.init(dim) vertices = type(data)(self.mesh, 0) vertex_values = vertices.array() vertex_values[:] = 0 con20 = self.mesh.topology()(dim,0) for facet in xrange(self.mesh.num_faces()): if values[facet]: vertex_values[con20(facet)] = values[facet] self.plot_meshfunction(vertices, *args, **kwargs) return (self.iren, self.renWin, self.ren) = self.simple_plotter(self.filter, self.x.min(), self.x.max(), wireframe=False) else: raise RuntimeError, "Only vertex, facets and cell valued meshfunctions can be plotted" self.iren.Initialize() self._update(self.x) self.renWin.Render() if kwargs.get("interactive", True): self.interactive() def _dofs_pr_node(self, f): rank = f.value_rank() dpn = 1 for i in xrange(rank): dpn *= f.value_dimension(i) return dpn, rank def add_polygon(self, polygon, idx=0): assert isinstance(polygon, (list, tuple)) numpoints = len(polygon) assert isinstance(polygon[0], (list, tuple, numpy.ndarray)) points2d = False if len(polygon[0]) == 2: points2d = True points = vtk.vtkPoints() points.SetNumberOfPoints(numpoints) for i in xrange(numpoints): point = list(polygon[i]) if points2d: point.append(0.0) points.InsertPoint(i, *point) line = vtk.vtkPolyLine() line.GetPointIds().SetNumberOfIds(numpoints) for i in xrange(numpoints): line.GetPointIds().SetId(i, i) grid = vtk.vtkUnstructuredGrid() grid.Allocate(1, 1) grid.InsertNextCell(line.GetCellType(), line.GetPointIds()) grid.SetPoints(points) extract = vtk.vtkGeometryFilter() extract.SetInput(grid) extract.GetOutput().ReleaseDataFlagOn() self.polygon_data.AddInput(extract.GetOutput()) actor = self.polygon_actors[idx] mapper = actor.GetMapper() if mapper is None: mapper = vtk.vtkPolyDataMapper() actor.SetMapper(mapper) mapper.SetInput(self.polygon_data.GetOutput()) actor.GetProperty().SetColor(0, 0, 1) actor.GetProperty().SetLineWidth(1) self.ren.AddActor(actor) def dolfin_update(self, data, **kwargs): # Prepare data to viper internal format if self.plottype == "mesh": self.mesh = data self.vtkgrid = self.make_vtk_grid(self.mesh) self.filter = self.vtkgrid self.update_scalar_mapper(self.filter) self.x = numpy.zeros(self.mesh.num_vertices()) elif self.plottype == "genericfunction": (dpn, rank) = self._dofs_pr_node(data) if self.pts is None: nno = self.mesh.num_vertices() self.x = numpy.zeros(nno*dpn) data.compute_vertex_values(self.x, self.mesh) else: nno = len(self.pts) self.x = numpy.zeros((nno,dpn)) v = numpy.zeros(dpn, dtype='d') for (i, point) in enumerate(self.pts): data.eval(v, point) self.x[i,:] = v[:] self.x = self.x.transpose().copy() self.x.shape = nno*dpn, if self.mode == "scalar": minmax = self.x.max() - self.x.min() if self.warpscalar and minmax > 0 and self.mesh.geometry().dim() < 3: self.filter = self.warp_scalar(self.x, minmax) if self.mode in ("vector", "displacement"): self.x.shape = (dpn, nno) self.x = self.vec3d(self.x.transpose().copy()) if self.mode == "displacement": self.displacement[:] = self.x.copy() self.x = numpy.sqrt(self.x[:,0]**2 + self.x[:,1]**2 + self.x[:,2]**2) elif self.plottype == "meshfunction": self.mesh = data.mesh() self.vtkgrid = self.make_vtk_grid(self.mesh) self.filter = self.vtkgrid self.update_scalar_mapper(self.filter) self.x = numpy.array(data.array(), dtype='d') else: print "Unknown plottype %s. Can't update" % (self.plottype,) # Update title if given if 'title' in kwargs: self.title = str(kwargs['title']) # Plot data self._update(self.x) class PlotManager(object): def __init__(self): import random self.random = random self.reset() def figure(self, index): self.index = index def reset(self): self.plots = {} self.index = None # By default, use automatic plotting def plot(self, plot_object, *args, **kwargs): if self.index is None: return self.autoplot(plot_object, *args, **kwargs) return self.figureplot(plot_object, *args, **kwargs) def autoplot(self, plot_object, *args, **kwargs): for (idx, (plotter,obj)) in self.plots.items(): if obj is plot_object: plotter.update(plot_object, **kwargs) return plotter idx = self.random.randint(0,10000) keys = self.plots.keys() while idx in keys: idx = self.random.randint(0,10000) kwargs["interactive"] = False plotter = Viper(plot_object, *args, **kwargs) self.plots[idx] = (plotter, plot_object) return plotter def figureplot(self, plot_object, *args, **kwargs): if self.plots.has_key(self.index): (plotter, obj) = self.plots[self.index] plotter.update(plot_object, **kwargs) self.plots[self.index] = (plotter, plot_object) return plotter kwargs["interactive"] = False plotter = Viper(plot_object, *args, **kwargs) self.plots[self.index] = (plotter, plot_object) return plotter def interactive(self): if len(self.plots) > 0: k = self.plots.keys()[0] self.plots[k][0].interactive() def figure(index): global _plotter if _plotter is None: _plotter = PlotManager() _plotter.figure(index) def plot(data, *args, **kwargs): global _plotter if _plotter is None: _plotter = PlotManager() n_old_plots = len(_plotter.plots) interactive = False if kwargs.has_key("interactive"): interactive = kwargs["interactive"] kwargs["interactive"] = False fig = _plotter.plot(data, **kwargs) if n_old_plots > 0 and kwargs.get('autoposition', True): x, y = fig.window_size nx, ny = n_old_plots%3, n_old_plots//3 fig.renWin.SetPosition(nx*x, ny*y) # The actual positioning seems to be indeterministic, but at least # they don't overlap (completely). #print (nx*x,ny*y), fig.renWin.GetPosition() if interactive: _plotter.interactive() return fig def update(data): print "Not implemented" return global _viper if _viper != None: _viper.update(data) return _viper print "No plot object, cannot update" def interactive(): global _plotter if _plotter is None: print "No plot object, interaction not possible" return _plotter.interactive() def save_plot(u, filename="plot.png"): v = Viper(u, interactive=False) v.init_writer() v.write_png(filename) viper-1.0.0/src/viper/data/VIF.lut0000644000000000000000000000052311667652155015000 0ustar 00000000000000LOOKUP_TABLE VIF 16 0.07 0.14 0.65 1.00 0.07 0.14 0.65 1.00 0.07 0.14 0.65 1.00 0.07 0.14 0.65 1.00 0.07 0.14 0.65 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 0.97 0.01 0.05 1.00 0.97 0.01 0.05 1.00 0.97 0.01 0.05 1.00viper-1.0.0/src/viper/data/abgauss.lut0000644000000000000000000001604411667652155016006 0ustar 00000000000000LOOKUP_TABLE ./luts/abgauss.lut 256 0.0000 0.0000 0.0000 1.0000 0.0040 0.0871 0.9999 1.0000 0.0042 0.0897 0.9997 1.0000 0.0044 0.0923 0.9992 1.0000 0.0046 0.0950 0.9986 1.0000 0.0048 0.0977 0.9979 1.0000 0.0050 0.1005 0.9969 1.0000 0.0052 0.1033 0.9958 1.0000 0.0054 0.1062 0.9945 1.0000 0.0057 0.1092 0.9931 1.0000 0.0059 0.1122 0.9915 1.0000 0.0062 0.1153 0.9897 1.0000 0.0064 0.1185 0.9878 1.0000 0.0067 0.1217 0.9857 1.0000 0.0070 0.1250 0.9834 1.0000 0.0073 0.1284 0.9810 1.0000 0.0076 0.1318 0.9784 1.0000 0.0079 0.1353 0.9756 1.0000 0.0082 0.1389 0.9727 1.0000 0.0086 0.1426 0.9696 1.0000 0.0089 0.1463 0.9664 1.0000 0.0093 0.1500 0.9630 1.0000 0.0097 0.1539 0.9595 1.0000 0.0101 0.1578 0.9558 1.0000 0.0105 0.1618 0.9520 1.0000 0.0109 0.1659 0.9480 1.0000 0.0113 0.1701 0.9439 1.0000 0.0118 0.1743 0.9396 1.0000 0.0122 0.1786 0.9352 1.0000 0.0127 0.1829 0.9307 1.0000 0.0132 0.1874 0.9260 1.0000 0.0137 0.1919 0.9212 1.0000 0.0143 0.1965 0.9162 1.0000 0.0148 0.2012 0.9112 1.0000 0.0154 0.2059 0.9060 1.0000 0.0160 0.2107 0.9006 1.0000 0.0166 0.2156 0.8952 1.0000 0.0172 0.2206 0.8896 1.0000 0.0179 0.2257 0.8839 1.0000 0.0186 0.2308 0.8781 1.0000 0.0193 0.2360 0.8722 1.0000 0.0200 0.2413 0.8662 1.0000 0.0207 0.2466 0.8601 1.0000 0.0215 0.2521 0.8539 1.0000 0.0223 0.2576 0.8475 1.0000 0.0231 0.2632 0.8411 1.0000 0.0239 0.2688 0.8346 1.0000 0.0248 0.2746 0.8280 1.0000 0.0257 0.2804 0.8213 1.0000 0.0266 0.2863 0.8145 1.0000 0.0276 0.2922 0.8077 1.0000 0.0286 0.2982 0.8007 1.0000 0.0296 0.3043 0.7937 1.0000 0.0306 0.3105 0.7866 1.0000 0.0317 0.3167 0.7795 1.0000 0.0328 0.3231 0.7722 1.0000 0.0339 0.3294 0.7650 1.0000 0.0351 0.3359 0.7576 1.0000 0.0363 0.3424 0.7502 1.0000 0.0375 0.3490 0.7427 1.0000 0.0388 0.3557 0.7352 1.0000 0.0401 0.3624 0.7277 1.0000 0.0415 0.3692 0.7201 1.0000 0.0429 0.3760 0.7124 1.0000 0.0443 0.3829 0.7047 1.0000 0.0458 0.3899 0.6970 1.0000 0.0473 0.3969 0.6892 1.0000 0.0488 0.4040 0.6815 1.0000 0.0504 0.4111 0.6736 1.0000 0.0520 0.4183 0.6658 1.0000 0.0537 0.4256 0.6579 1.0000 0.0554 0.4328 0.6501 1.0000 0.0572 0.4402 0.6422 1.0000 0.0590 0.4476 0.6343 1.0000 0.0609 0.4550 0.6263 1.0000 0.0628 0.4625 0.6184 1.0000 0.0647 0.4700 0.6105 1.0000 0.0667 0.4776 0.6026 1.0000 0.0688 0.4852 0.5946 1.0000 0.0709 0.4929 0.5867 1.0000 0.0731 0.5006 0.5788 1.0000 0.0753 0.5083 0.5709 1.0000 0.0775 0.5160 0.5630 1.0000 0.0799 0.5238 0.5551 1.0000 0.0822 0.5316 0.5473 1.0000 0.0847 0.5394 0.5394 1.0000 0.0871 0.5473 0.5316 1.0000 0.0897 0.5551 0.5238 1.0000 0.0923 0.5630 0.5160 1.0000 0.0950 0.5709 0.5083 1.0000 0.0977 0.5788 0.5006 1.0000 0.1005 0.5867 0.4929 1.0000 0.1033 0.5946 0.4852 1.0000 0.1062 0.6026 0.4776 1.0000 0.1092 0.6105 0.4700 1.0000 0.1122 0.6184 0.4625 1.0000 0.1153 0.6263 0.4550 1.0000 0.1185 0.6343 0.4476 1.0000 0.1217 0.6422 0.4402 1.0000 0.1250 0.6501 0.4328 1.0000 0.1284 0.6579 0.4256 1.0000 0.1318 0.6658 0.4183 1.0000 0.1353 0.6736 0.4111 1.0000 0.1389 0.6815 0.4040 1.0000 0.1426 0.6892 0.3969 1.0000 0.1463 0.6970 0.3899 1.0000 0.1500 0.7047 0.3829 1.0000 0.1539 0.7124 0.3760 1.0000 0.1578 0.7201 0.3692 1.0000 0.1618 0.7277 0.3624 1.0000 0.1659 0.7352 0.3557 1.0000 0.1701 0.7427 0.3490 1.0000 0.1743 0.7502 0.3424 1.0000 0.1786 0.7576 0.3359 1.0000 0.1829 0.7650 0.3294 1.0000 0.1874 0.7722 0.3231 1.0000 0.1919 0.7795 0.3167 1.0000 0.1965 0.7866 0.3105 1.0000 0.2012 0.7937 0.3043 1.0000 0.2059 0.8007 0.2982 1.0000 0.2107 0.8077 0.2922 1.0000 0.2156 0.8145 0.2863 1.0000 0.2206 0.8213 0.2804 1.0000 0.2257 0.8280 0.2746 1.0000 0.2308 0.8346 0.2688 1.0000 0.2360 0.8411 0.2632 1.0000 0.2413 0.8475 0.2576 1.0000 0.2466 0.8539 0.2521 1.0000 0.2521 0.8601 0.2466 1.0000 0.2576 0.8662 0.2413 1.0000 0.2632 0.8722 0.2360 1.0000 0.2688 0.8781 0.2308 1.0000 0.2746 0.8839 0.2257 1.0000 0.2804 0.8896 0.2206 1.0000 0.2863 0.8952 0.2156 1.0000 0.2922 0.9006 0.2107 1.0000 0.2982 0.9060 0.2059 1.0000 0.3043 0.9112 0.2012 1.0000 0.3105 0.9162 0.1965 1.0000 0.3167 0.9212 0.1919 1.0000 0.3231 0.9260 0.1874 1.0000 0.3294 0.9307 0.1829 1.0000 0.3359 0.9352 0.1786 1.0000 0.3424 0.9396 0.1743 1.0000 0.3490 0.9439 0.1701 1.0000 0.3557 0.9480 0.1659 1.0000 0.3624 0.9520 0.1618 1.0000 0.3692 0.9558 0.1578 1.0000 0.3760 0.9595 0.1539 1.0000 0.3829 0.9630 0.1500 1.0000 0.3899 0.9664 0.1463 1.0000 0.3969 0.9696 0.1426 1.0000 0.4040 0.9727 0.1389 1.0000 0.4111 0.9756 0.1353 1.0000 0.4183 0.9784 0.1318 1.0000 0.4256 0.9810 0.1284 1.0000 0.4328 0.9834 0.1250 1.0000 0.4402 0.9857 0.1217 1.0000 0.4476 0.9878 0.1185 1.0000 0.4550 0.9897 0.1153 1.0000 0.4625 0.9915 0.1122 1.0000 0.4700 0.9931 0.1092 1.0000 0.4776 0.9945 0.1062 1.0000 0.4852 0.9958 0.1033 1.0000 0.4929 0.9969 0.1005 1.0000 0.5006 0.9979 0.0977 1.0000 0.5083 0.9986 0.0950 1.0000 0.5160 0.9992 0.0923 1.0000 0.5238 0.9997 0.0897 1.0000 0.5316 0.9999 0.0871 1.0000 0.5394 1.0000 0.0847 1.0000 0.5473 0.9999 0.0822 1.0000 0.5551 0.9997 0.0799 1.0000 0.5630 0.9992 0.0775 1.0000 0.5709 0.9986 0.0753 1.0000 0.5788 0.9979 0.0731 1.0000 0.5867 0.9969 0.0709 1.0000 0.5946 0.9958 0.0688 1.0000 0.6026 0.9945 0.0667 1.0000 0.6105 0.9931 0.0647 1.0000 0.6184 0.9915 0.0628 1.0000 0.6263 0.9897 0.0609 1.0000 0.6343 0.9878 0.0590 1.0000 0.6422 0.9857 0.0572 1.0000 0.6501 0.9834 0.0554 1.0000 0.6579 0.9810 0.0537 1.0000 0.6658 0.9784 0.0520 1.0000 0.6736 0.9756 0.0504 1.0000 0.6815 0.9727 0.0488 1.0000 0.6892 0.9696 0.0473 1.0000 0.6970 0.9664 0.0458 1.0000 0.7047 0.9630 0.0443 1.0000 0.7124 0.9595 0.0429 1.0000 0.7201 0.9558 0.0415 1.0000 0.7277 0.9520 0.0401 1.0000 0.7352 0.9480 0.0388 1.0000 0.7427 0.9439 0.0375 1.0000 0.7502 0.9396 0.0363 1.0000 0.7576 0.9352 0.0351 1.0000 0.7650 0.9307 0.0339 1.0000 0.7722 0.9260 0.0328 1.0000 0.7795 0.9212 0.0317 1.0000 0.7866 0.9162 0.0306 1.0000 0.7937 0.9112 0.0296 1.0000 0.8007 0.9060 0.0286 1.0000 0.8077 0.9006 0.0276 1.0000 0.8145 0.8952 0.0266 1.0000 0.8213 0.8896 0.0257 1.0000 0.8280 0.8839 0.0248 1.0000 0.8346 0.8781 0.0239 1.0000 0.8411 0.8722 0.0231 1.0000 0.8475 0.8662 0.0223 1.0000 0.8539 0.8601 0.0215 1.0000 0.8601 0.8539 0.0207 1.0000 0.8662 0.8475 0.0200 1.0000 0.8722 0.8411 0.0193 1.0000 0.8781 0.8346 0.0186 1.0000 0.8839 0.8280 0.0179 1.0000 0.8896 0.8213 0.0172 1.0000 0.8952 0.8145 0.0166 1.0000 0.9006 0.8077 0.0160 1.0000 0.9060 0.8007 0.0154 1.0000 0.9112 0.7937 0.0148 1.0000 0.9162 0.7866 0.0143 1.0000 0.9212 0.7795 0.0137 1.0000 0.9260 0.7722 0.0132 1.0000 0.9307 0.7650 0.0127 1.0000 0.9352 0.7576 0.0122 1.0000 0.9396 0.7502 0.0118 1.0000 0.9439 0.7427 0.0113 1.0000 0.9480 0.7352 0.0109 1.0000 0.9520 0.7277 0.0105 1.0000 0.9558 0.7201 0.0101 1.0000 0.9595 0.7124 0.0097 1.0000 0.9630 0.7047 0.0093 1.0000 0.9664 0.6970 0.0089 1.0000 0.9696 0.6892 0.0086 1.0000 0.9727 0.6815 0.0082 1.0000 0.9756 0.6736 0.0079 1.0000 0.9784 0.6658 0.0076 1.0000 0.9810 0.6579 0.0073 1.0000 0.9834 0.6501 0.0070 1.0000 0.9857 0.6422 0.0067 1.0000 0.9878 0.6343 0.0064 1.0000 0.9897 0.6263 0.0062 1.0000 0.9915 0.6184 0.0059 1.0000 0.9931 0.6105 0.0057 1.0000 0.9945 0.6026 0.0054 1.0000 0.9958 0.5946 0.0052 1.0000 0.9969 0.5867 0.0050 1.0000 0.9979 0.5788 0.0048 1.0000 0.9986 0.5709 0.0046 1.0000 0.9992 0.5630 0.0044 1.0000 0.9997 0.5551 0.0042 1.0000 0.9999 0.5473 0.0040 1.0000 1.0000 0.5394 0.0039 1.0000 viper-1.0.0/src/viper/data/custom16.lut0000644000000000000000000000113211667652155016032 0ustar 00000000000000LOOKUP_TABLE some_name 16 0.000000 0.000000 0.650980 1.000000 0.000000 0.164706 1.000000 1.000000 0.000000 0.549020 1.000000 1.000000 0.000000 0.901961 1.000000 1.000000 0.000000 1.000000 0.988235 1.000000 0.000000 1.000000 0.843137 1.000000 0.000000 1.000000 0.588235 1.000000 0.000000 0.952941 0.031373 1.000000 0.094118 1.000000 0.000000 1.000000 0.443137 1.000000 0.000000 1.000000 0.749020 1.000000 0.000000 1.000000 0.988235 1.000000 0.000000 1.000000 1.000000 0.901961 0.000000 1.000000 1.000000 0.549020 0.000000 1.000000 1.000000 0.164706 0.000000 1.000000 0.682353 0.000000 0.000000 1.000000 viper-1.0.0/src/viper/data/gauss_075.lut0000644000000000000000000001604611667652155016100 0ustar 00000000000000LOOKUP_TABLE ./luts/gauss_075.lut 256 1.0000 0.0847 0.0039 1.0000 0.9999 0.0871 0.0040 1.0000 0.9997 0.0897 0.0042 1.0000 0.9992 0.0923 0.0044 1.0000 0.9986 0.0950 0.0046 1.0000 0.9979 0.0977 0.0048 1.0000 0.9969 0.1005 0.0050 1.0000 0.9958 0.1033 0.0052 1.0000 0.9945 0.1062 0.0054 1.0000 0.9931 0.1092 0.0057 1.0000 0.9915 0.1122 0.0059 1.0000 0.9897 0.1153 0.0062 1.0000 0.9878 0.1185 0.0064 1.0000 0.9857 0.1217 0.0067 1.0000 0.9834 0.1250 0.0070 1.0000 0.9810 0.1284 0.0073 1.0000 0.9784 0.1318 0.0076 1.0000 0.9756 0.1353 0.0079 1.0000 0.9727 0.1389 0.0082 1.0000 0.9696 0.1426 0.0086 1.0000 0.9664 0.1463 0.0089 1.0000 0.9630 0.1500 0.0093 1.0000 0.9595 0.1539 0.0097 1.0000 0.9558 0.1578 0.0101 1.0000 0.9520 0.1618 0.0105 1.0000 0.9480 0.1659 0.0109 1.0000 0.9439 0.1701 0.0113 1.0000 0.9396 0.1743 0.0118 1.0000 0.9352 0.1786 0.0122 1.0000 0.9307 0.1829 0.0127 1.0000 0.9260 0.1874 0.0132 1.0000 0.9212 0.1919 0.0137 1.0000 0.9162 0.1965 0.0143 1.0000 0.9112 0.2012 0.0148 1.0000 0.9060 0.2059 0.0154 1.0000 0.9006 0.2107 0.0160 1.0000 0.8952 0.2156 0.0166 1.0000 0.8896 0.2206 0.0172 1.0000 0.8839 0.2257 0.0179 1.0000 0.8781 0.2308 0.0186 1.0000 0.8722 0.2360 0.0193 1.0000 0.8662 0.2413 0.0200 1.0000 0.8601 0.2466 0.0207 1.0000 0.8539 0.2521 0.0215 1.0000 0.8475 0.2576 0.0223 1.0000 0.8411 0.2632 0.0231 1.0000 0.8346 0.2688 0.0239 1.0000 0.8280 0.2746 0.0248 1.0000 0.8213 0.2804 0.0257 1.0000 0.8145 0.2863 0.0266 1.0000 0.8077 0.2922 0.0276 1.0000 0.8007 0.2982 0.0286 1.0000 0.7937 0.3043 0.0296 1.0000 0.7866 0.3105 0.0306 1.0000 0.7795 0.3167 0.0317 1.0000 0.7722 0.3231 0.0328 1.0000 0.7650 0.3294 0.0339 1.0000 0.7576 0.3359 0.0351 1.0000 0.7502 0.3424 0.0363 1.0000 0.7427 0.3490 0.0375 1.0000 0.7352 0.3557 0.0388 1.0000 0.7277 0.3624 0.0401 1.0000 0.7201 0.3692 0.0415 1.0000 0.7124 0.3760 0.0429 1.0000 0.7047 0.3829 0.0443 1.0000 0.6970 0.3899 0.0458 1.0000 0.6892 0.3969 0.0473 1.0000 0.6815 0.4040 0.0488 1.0000 0.6736 0.4111 0.0504 1.0000 0.6658 0.4183 0.0520 1.0000 0.6579 0.4256 0.0537 1.0000 0.6501 0.4328 0.0554 1.0000 0.6422 0.4402 0.0572 1.0000 0.6343 0.4476 0.0590 1.0000 0.6263 0.4550 0.0609 1.0000 0.6184 0.4625 0.0628 1.0000 0.6105 0.4700 0.0647 1.0000 0.6026 0.4776 0.0667 1.0000 0.5946 0.4852 0.0688 1.0000 0.5867 0.4929 0.0709 1.0000 0.5788 0.5006 0.0731 1.0000 0.5709 0.5083 0.0753 1.0000 0.5630 0.5160 0.0775 1.0000 0.5551 0.5238 0.0799 1.0000 0.5473 0.5316 0.0822 1.0000 0.5394 0.5394 0.0847 1.0000 0.5316 0.5473 0.0871 1.0000 0.5238 0.5551 0.0897 1.0000 0.5160 0.5630 0.0923 1.0000 0.5083 0.5709 0.0950 1.0000 0.5006 0.5788 0.0977 1.0000 0.4929 0.5867 0.1005 1.0000 0.4852 0.5946 0.1033 1.0000 0.4776 0.6026 0.1062 1.0000 0.4700 0.6105 0.1092 1.0000 0.4625 0.6184 0.1122 1.0000 0.4550 0.6263 0.1153 1.0000 0.4476 0.6343 0.1185 1.0000 0.4402 0.6422 0.1217 1.0000 0.4328 0.6501 0.1250 1.0000 0.4256 0.6579 0.1284 1.0000 0.4183 0.6658 0.1318 1.0000 0.4111 0.6736 0.1353 1.0000 0.4040 0.6815 0.1389 1.0000 0.3969 0.6892 0.1426 1.0000 0.3899 0.6970 0.1463 1.0000 0.3829 0.7047 0.1500 1.0000 0.3760 0.7124 0.1539 1.0000 0.3692 0.7201 0.1578 1.0000 0.3624 0.7277 0.1618 1.0000 0.3557 0.7352 0.1659 1.0000 0.3490 0.7427 0.1701 1.0000 0.3424 0.7502 0.1743 1.0000 0.3359 0.7576 0.1786 1.0000 0.3294 0.7650 0.1829 1.0000 0.3231 0.7722 0.1874 1.0000 0.3167 0.7795 0.1919 1.0000 0.3105 0.7866 0.1965 1.0000 0.3043 0.7937 0.2012 1.0000 0.2982 0.8007 0.2059 1.0000 0.2922 0.8077 0.2107 1.0000 0.2863 0.8145 0.2156 1.0000 0.2804 0.8213 0.2206 1.0000 0.2746 0.8280 0.2257 1.0000 0.2688 0.8346 0.2308 1.0000 0.2632 0.8411 0.2360 1.0000 0.2576 0.8475 0.2413 1.0000 0.2521 0.8539 0.2466 1.0000 0.2466 0.8601 0.2521 1.0000 0.2413 0.8662 0.2576 1.0000 0.2360 0.8722 0.2632 1.0000 0.2308 0.8781 0.2688 1.0000 0.2257 0.8839 0.2746 1.0000 0.2206 0.8896 0.2804 1.0000 0.2156 0.8952 0.2863 1.0000 0.2107 0.9006 0.2922 1.0000 0.2059 0.9060 0.2982 1.0000 0.2012 0.9112 0.3043 1.0000 0.1965 0.9162 0.3105 1.0000 0.1919 0.9212 0.3167 1.0000 0.1874 0.9260 0.3231 1.0000 0.1829 0.9307 0.3294 1.0000 0.1786 0.9352 0.3359 1.0000 0.1743 0.9396 0.3424 1.0000 0.1701 0.9439 0.3490 1.0000 0.1659 0.9480 0.3557 1.0000 0.1618 0.9520 0.3624 1.0000 0.1578 0.9558 0.3692 1.0000 0.1539 0.9595 0.3760 1.0000 0.1500 0.9630 0.3829 1.0000 0.1463 0.9664 0.3899 1.0000 0.1426 0.9696 0.3969 1.0000 0.1389 0.9727 0.4040 1.0000 0.1353 0.9756 0.4111 1.0000 0.1318 0.9784 0.4183 1.0000 0.1284 0.9810 0.4256 1.0000 0.1250 0.9834 0.4328 1.0000 0.1217 0.9857 0.4402 1.0000 0.1185 0.9878 0.4476 1.0000 0.1153 0.9897 0.4550 1.0000 0.1122 0.9915 0.4625 1.0000 0.1092 0.9931 0.4700 1.0000 0.1062 0.9945 0.4776 1.0000 0.1033 0.9958 0.4852 1.0000 0.1005 0.9969 0.4929 1.0000 0.0977 0.9979 0.5006 1.0000 0.0950 0.9986 0.5083 1.0000 0.0923 0.9992 0.5160 1.0000 0.0897 0.9997 0.5238 1.0000 0.0871 0.9999 0.5316 1.0000 0.0847 1.0000 0.5394 1.0000 0.0822 0.9999 0.5473 1.0000 0.0799 0.9997 0.5551 1.0000 0.0775 0.9992 0.5630 1.0000 0.0753 0.9986 0.5709 1.0000 0.0731 0.9979 0.5788 1.0000 0.0709 0.9969 0.5867 1.0000 0.0688 0.9958 0.5946 1.0000 0.0667 0.9945 0.6026 1.0000 0.0647 0.9931 0.6105 1.0000 0.0628 0.9915 0.6184 1.0000 0.0609 0.9897 0.6263 1.0000 0.0590 0.9878 0.6343 1.0000 0.0572 0.9857 0.6422 1.0000 0.0554 0.9834 0.6501 1.0000 0.0537 0.9810 0.6579 1.0000 0.0520 0.9784 0.6658 1.0000 0.0504 0.9756 0.6736 1.0000 0.0488 0.9727 0.6815 1.0000 0.0473 0.9696 0.6892 1.0000 0.0458 0.9664 0.6970 1.0000 0.0443 0.9630 0.7047 1.0000 0.0429 0.9595 0.7124 1.0000 0.0415 0.9558 0.7201 1.0000 0.0401 0.9520 0.7277 1.0000 0.0388 0.9480 0.7352 1.0000 0.0375 0.9439 0.7427 1.0000 0.0363 0.9396 0.7502 1.0000 0.0351 0.9352 0.7576 1.0000 0.0339 0.9307 0.7650 1.0000 0.0328 0.9260 0.7722 1.0000 0.0317 0.9212 0.7795 1.0000 0.0306 0.9162 0.7866 1.0000 0.0296 0.9112 0.7937 1.0000 0.0286 0.9060 0.8007 1.0000 0.0276 0.9006 0.8077 1.0000 0.0266 0.8952 0.8145 1.0000 0.0257 0.8896 0.8213 1.0000 0.0248 0.8839 0.8280 1.0000 0.0239 0.8781 0.8346 1.0000 0.0231 0.8722 0.8411 1.0000 0.0223 0.8662 0.8475 1.0000 0.0215 0.8601 0.8539 1.0000 0.0207 0.8539 0.8601 1.0000 0.0200 0.8475 0.8662 1.0000 0.0193 0.8411 0.8722 1.0000 0.0186 0.8346 0.8781 1.0000 0.0179 0.8280 0.8839 1.0000 0.0172 0.8213 0.8896 1.0000 0.0166 0.8145 0.8952 1.0000 0.0160 0.8077 0.9006 1.0000 0.0154 0.8007 0.9060 1.0000 0.0148 0.7937 0.9112 1.0000 0.0143 0.7866 0.9162 1.0000 0.0137 0.7795 0.9212 1.0000 0.0132 0.7722 0.9260 1.0000 0.0127 0.7650 0.9307 1.0000 0.0122 0.7576 0.9352 1.0000 0.0118 0.7502 0.9396 1.0000 0.0113 0.7427 0.9439 1.0000 0.0109 0.7352 0.9480 1.0000 0.0105 0.7277 0.9520 1.0000 0.0101 0.7201 0.9558 1.0000 0.0097 0.7124 0.9595 1.0000 0.0093 0.7047 0.9630 1.0000 0.0089 0.6970 0.9664 1.0000 0.0086 0.6892 0.9696 1.0000 0.0082 0.6815 0.9727 1.0000 0.0079 0.6736 0.9756 1.0000 0.0076 0.6658 0.9784 1.0000 0.0073 0.6579 0.9810 1.0000 0.0070 0.6501 0.9834 1.0000 0.0067 0.6422 0.9857 1.0000 0.0064 0.6343 0.9878 1.0000 0.0062 0.6263 0.9897 1.0000 0.0059 0.6184 0.9915 1.0000 0.0057 0.6105 0.9931 1.0000 0.0054 0.6026 0.9945 1.0000 0.0052 0.5946 0.9958 1.0000 0.0050 0.5867 0.9969 1.0000 0.0048 0.5788 0.9979 1.0000 0.0046 0.5709 0.9986 1.0000 0.0044 0.5630 0.9992 1.0000 0.0042 0.5551 0.9997 1.0000 0.0040 0.5473 0.9999 1.0000 0.0039 0.5394 1.0000 1.0000 viper-1.0.0/src/viper/data/gauss_086.lut0000644000000000000000000001604611667652155016102 0ustar 00000000000000LOOKUP_TABLE ./luts/gauss_086.lut 256 0.5394 0.5394 0.0847 1.0000 0.5473 0.5473 0.0871 1.0000 0.5551 0.5551 0.0897 1.0000 0.5630 0.5630 0.0923 1.0000 0.5709 0.5709 0.0950 1.0000 0.5788 0.5788 0.0977 1.0000 0.5867 0.5867 0.1005 1.0000 0.5946 0.5946 0.1033 1.0000 0.6026 0.6026 0.1062 1.0000 0.6105 0.6105 0.1092 1.0000 0.6184 0.6184 0.1122 1.0000 0.6263 0.6263 0.1153 1.0000 0.6343 0.6343 0.1185 1.0000 0.6422 0.6422 0.1217 1.0000 0.6501 0.6501 0.1250 1.0000 0.6579 0.6579 0.1284 1.0000 0.6658 0.6658 0.1318 1.0000 0.6736 0.6736 0.1353 1.0000 0.6815 0.6815 0.1389 1.0000 0.6892 0.6892 0.1426 1.0000 0.6970 0.6970 0.1463 1.0000 0.7047 0.7047 0.1500 1.0000 0.7124 0.7124 0.1539 1.0000 0.7201 0.7201 0.1578 1.0000 0.7277 0.7277 0.1618 1.0000 0.7352 0.7352 0.1659 1.0000 0.7427 0.7427 0.1701 1.0000 0.7502 0.7502 0.1743 1.0000 0.7576 0.7576 0.1786 1.0000 0.7650 0.7650 0.1829 1.0000 0.7722 0.7722 0.1874 1.0000 0.7795 0.7795 0.1919 1.0000 0.7866 0.7866 0.1965 1.0000 0.7937 0.7937 0.2012 1.0000 0.8007 0.8007 0.2059 1.0000 0.8077 0.8077 0.2107 1.0000 0.8145 0.8145 0.2156 1.0000 0.8213 0.8213 0.2206 1.0000 0.8280 0.8280 0.2257 1.0000 0.8346 0.8346 0.2308 1.0000 0.8411 0.8411 0.2360 1.0000 0.8475 0.8475 0.2413 1.0000 0.8539 0.8539 0.2466 1.0000 0.8601 0.8601 0.2521 1.0000 0.8662 0.8662 0.2576 1.0000 0.8722 0.8722 0.2632 1.0000 0.8781 0.8781 0.2688 1.0000 0.8839 0.8839 0.2746 1.0000 0.8896 0.8896 0.2804 1.0000 0.8952 0.8952 0.2863 1.0000 0.9006 0.9006 0.2922 1.0000 0.9060 0.9060 0.2982 1.0000 0.9112 0.9112 0.3043 1.0000 0.9162 0.9162 0.3105 1.0000 0.9212 0.9212 0.3167 1.0000 0.9260 0.9260 0.3231 1.0000 0.9307 0.9307 0.3294 1.0000 0.9352 0.9352 0.3359 1.0000 0.9396 0.9396 0.3424 1.0000 0.9439 0.9439 0.3490 1.0000 0.9480 0.9480 0.3557 1.0000 0.9520 0.9520 0.3624 1.0000 0.9558 0.9558 0.3692 1.0000 0.9595 0.9595 0.3760 1.0000 0.9630 0.9630 0.3829 1.0000 0.9664 0.9664 0.3899 1.0000 0.9696 0.9696 0.3969 1.0000 0.9727 0.9727 0.4040 1.0000 0.9756 0.9756 0.4111 1.0000 0.9784 0.9784 0.4183 1.0000 0.9810 0.9810 0.4256 1.0000 0.9834 0.9834 0.4328 1.0000 0.9857 0.9857 0.4402 1.0000 0.9878 0.9878 0.4476 1.0000 0.9897 0.9897 0.4550 1.0000 0.9915 0.9915 0.4625 1.0000 0.9931 0.9931 0.4700 1.0000 0.9945 0.9945 0.4776 1.0000 0.9958 0.9958 0.4852 1.0000 0.9969 0.9969 0.4929 1.0000 0.9979 0.9979 0.5006 1.0000 0.9986 0.9986 0.5083 1.0000 0.9992 0.9992 0.5160 1.0000 0.9997 0.9997 0.5238 1.0000 0.9999 0.9999 0.5316 1.0000 1.0000 1.0000 0.5394 1.0000 0.9999 0.9999 0.5473 1.0000 0.9997 0.9997 0.5551 1.0000 0.9992 0.9992 0.5630 1.0000 0.9986 0.9986 0.5709 1.0000 0.9979 0.9979 0.5788 1.0000 0.9969 0.9969 0.5867 1.0000 0.9958 0.9958 0.5946 1.0000 0.9945 0.9945 0.6026 1.0000 0.9931 0.9931 0.6105 1.0000 0.9915 0.9915 0.6184 1.0000 0.9897 0.9897 0.6263 1.0000 0.9878 0.9878 0.6343 1.0000 0.9857 0.9857 0.6422 1.0000 0.9834 0.9834 0.6501 1.0000 0.9810 0.9810 0.6579 1.0000 0.9784 0.9784 0.6658 1.0000 0.9756 0.9756 0.6736 1.0000 0.9727 0.9727 0.6815 1.0000 0.9696 0.9696 0.6892 1.0000 0.9664 0.9664 0.6970 1.0000 0.9630 0.9630 0.7047 1.0000 0.9595 0.9595 0.7124 1.0000 0.9558 0.9558 0.7201 1.0000 0.9520 0.9520 0.7277 1.0000 0.9480 0.9480 0.7352 1.0000 0.9439 0.9439 0.7427 1.0000 0.9396 0.9396 0.7502 1.0000 0.9352 0.9352 0.7576 1.0000 0.9307 0.9307 0.7650 1.0000 0.9260 0.9260 0.7722 1.0000 0.9212 0.9212 0.7795 1.0000 0.9162 0.9162 0.7866 1.0000 0.9112 0.9112 0.7937 1.0000 0.9060 0.9060 0.8007 1.0000 0.9006 0.9006 0.8077 1.0000 0.8952 0.8952 0.8145 1.0000 0.8896 0.8896 0.8213 1.0000 0.8839 0.8839 0.8280 1.0000 0.8781 0.8781 0.8346 1.0000 0.8722 0.8722 0.8411 1.0000 0.8662 0.8662 0.8475 1.0000 0.8601 0.8601 0.8539 1.0000 0.8539 0.8539 0.8601 1.0000 0.8475 0.8475 0.8662 1.0000 0.8411 0.8411 0.8722 1.0000 0.8346 0.8346 0.8781 1.0000 0.8280 0.8280 0.8839 1.0000 0.8213 0.8213 0.8896 1.0000 0.8145 0.8145 0.8952 1.0000 0.8077 0.8077 0.9006 1.0000 0.8007 0.8007 0.9060 1.0000 0.7937 0.7937 0.9112 1.0000 0.7866 0.7866 0.9162 1.0000 0.7795 0.7795 0.9212 1.0000 0.7722 0.7722 0.9260 1.0000 0.7650 0.7650 0.9307 1.0000 0.7576 0.7576 0.9352 1.0000 0.7502 0.7502 0.9396 1.0000 0.7427 0.7427 0.9439 1.0000 0.7352 0.7352 0.9480 1.0000 0.7277 0.7277 0.9520 1.0000 0.7201 0.7201 0.9558 1.0000 0.7124 0.7124 0.9595 1.0000 0.7047 0.7047 0.9630 1.0000 0.6970 0.6970 0.9664 1.0000 0.6892 0.6892 0.9696 1.0000 0.6815 0.6815 0.9727 1.0000 0.6736 0.6736 0.9756 1.0000 0.6658 0.6658 0.9784 1.0000 0.6579 0.6579 0.9810 1.0000 0.6501 0.6501 0.9834 1.0000 0.6422 0.6422 0.9857 1.0000 0.6343 0.6343 0.9878 1.0000 0.6263 0.6263 0.9897 1.0000 0.6184 0.6184 0.9915 1.0000 0.6105 0.6105 0.9931 1.0000 0.6026 0.6026 0.9945 1.0000 0.5946 0.5946 0.9958 1.0000 0.5867 0.5867 0.9969 1.0000 0.5788 0.5788 0.9979 1.0000 0.5709 0.5709 0.9986 1.0000 0.5630 0.5630 0.9992 1.0000 0.5551 0.5551 0.9997 1.0000 0.5473 0.5473 0.9999 1.0000 0.5394 0.5394 1.0000 1.0000 0.5316 0.5316 0.9999 1.0000 0.5238 0.5238 0.9997 1.0000 0.5160 0.5160 0.9992 1.0000 0.5083 0.5083 0.9986 1.0000 0.5006 0.5006 0.9979 1.0000 0.4929 0.4929 0.9969 1.0000 0.4852 0.4852 0.9958 1.0000 0.4776 0.4776 0.9945 1.0000 0.4700 0.4700 0.9931 1.0000 0.4625 0.4625 0.9915 1.0000 0.4550 0.4550 0.9897 1.0000 0.4476 0.4476 0.9878 1.0000 0.4402 0.4402 0.9857 1.0000 0.4328 0.4328 0.9834 1.0000 0.4256 0.4256 0.9810 1.0000 0.4183 0.4183 0.9784 1.0000 0.4111 0.4111 0.9756 1.0000 0.4040 0.4040 0.9727 1.0000 0.3969 0.3969 0.9696 1.0000 0.3899 0.3899 0.9664 1.0000 0.3829 0.3829 0.9630 1.0000 0.3760 0.3760 0.9595 1.0000 0.3692 0.3692 0.9558 1.0000 0.3624 0.3624 0.9520 1.0000 0.3557 0.3557 0.9480 1.0000 0.3490 0.3490 0.9439 1.0000 0.3424 0.3424 0.9396 1.0000 0.3359 0.3359 0.9352 1.0000 0.3294 0.3294 0.9307 1.0000 0.3231 0.3231 0.9260 1.0000 0.3167 0.3167 0.9212 1.0000 0.3105 0.3105 0.9162 1.0000 0.3043 0.3043 0.9112 1.0000 0.2982 0.2982 0.9060 1.0000 0.2922 0.2922 0.9006 1.0000 0.2863 0.2863 0.8952 1.0000 0.2804 0.2804 0.8896 1.0000 0.2746 0.2746 0.8839 1.0000 0.2688 0.2688 0.8781 1.0000 0.2632 0.2632 0.8722 1.0000 0.2576 0.2576 0.8662 1.0000 0.2521 0.2521 0.8601 1.0000 0.2466 0.2466 0.8539 1.0000 0.2413 0.2413 0.8475 1.0000 0.2360 0.2360 0.8411 1.0000 0.2308 0.2308 0.8346 1.0000 0.2257 0.2257 0.8280 1.0000 0.2206 0.2206 0.8213 1.0000 0.2156 0.2156 0.8145 1.0000 0.2107 0.2107 0.8077 1.0000 0.2059 0.2059 0.8007 1.0000 0.2012 0.2012 0.7937 1.0000 0.1965 0.1965 0.7866 1.0000 0.1919 0.1919 0.7795 1.0000 0.1874 0.1874 0.7722 1.0000 0.1829 0.1829 0.7650 1.0000 0.1786 0.1786 0.7576 1.0000 0.1743 0.1743 0.7502 1.0000 0.1701 0.1701 0.7427 1.0000 0.1659 0.1659 0.7352 1.0000 0.1618 0.1618 0.7277 1.0000 0.1578 0.1578 0.7201 1.0000 0.1539 0.1539 0.7124 1.0000 0.1500 0.1500 0.7047 1.0000 0.1463 0.1463 0.6970 1.0000 0.1426 0.1426 0.6892 1.0000 0.1389 0.1389 0.6815 1.0000 0.1353 0.1353 0.6736 1.0000 0.1318 0.1318 0.6658 1.0000 0.1284 0.1284 0.6579 1.0000 0.1250 0.1250 0.6501 1.0000 0.1217 0.1217 0.6422 1.0000 0.1185 0.1185 0.6343 1.0000 0.1153 0.1153 0.6263 1.0000 0.1122 0.1122 0.6184 1.0000 0.1092 0.1092 0.6105 1.0000 0.1062 0.1062 0.6026 1.0000 0.1033 0.1033 0.5946 1.0000 0.1005 0.1005 0.5867 1.0000 0.0977 0.0977 0.5788 1.0000 0.0950 0.0950 0.5709 1.0000 0.0923 0.0923 0.5630 1.0000 0.0897 0.0897 0.5551 1.0000 0.0871 0.0871 0.5473 1.0000 0.0847 0.0847 0.5394 1.0000 viper-1.0.0/src/viper/data/gauss_097.lut0000644000000000000000000001604611667652155016104 0ustar 00000000000000LOOKUP_TABLE ./luts/gauss_097.lut 256 0.0847 1.0000 0.5394 1.0000 0.0871 0.9999 0.5473 1.0000 0.0897 0.9997 0.5551 1.0000 0.0923 0.9992 0.5630 1.0000 0.0950 0.9986 0.5709 1.0000 0.0977 0.9979 0.5788 1.0000 0.1005 0.9969 0.5867 1.0000 0.1033 0.9958 0.5946 1.0000 0.1062 0.9945 0.6026 1.0000 0.1092 0.9931 0.6105 1.0000 0.1122 0.9915 0.6184 1.0000 0.1153 0.9897 0.6263 1.0000 0.1185 0.9878 0.6343 1.0000 0.1217 0.9857 0.6422 1.0000 0.1250 0.9834 0.6501 1.0000 0.1284 0.9810 0.6579 1.0000 0.1318 0.9784 0.6658 1.0000 0.1353 0.9756 0.6736 1.0000 0.1389 0.9727 0.6815 1.0000 0.1426 0.9696 0.6892 1.0000 0.1463 0.9664 0.6970 1.0000 0.1500 0.9630 0.7047 1.0000 0.1539 0.9595 0.7124 1.0000 0.1578 0.9558 0.7201 1.0000 0.1618 0.9520 0.7277 1.0000 0.1659 0.9480 0.7352 1.0000 0.1701 0.9439 0.7427 1.0000 0.1743 0.9396 0.7502 1.0000 0.1786 0.9352 0.7576 1.0000 0.1829 0.9307 0.7650 1.0000 0.1874 0.9260 0.7722 1.0000 0.1919 0.9212 0.7795 1.0000 0.1965 0.9162 0.7866 1.0000 0.2012 0.9112 0.7937 1.0000 0.2059 0.9060 0.8007 1.0000 0.2107 0.9006 0.8077 1.0000 0.2156 0.8952 0.8145 1.0000 0.2206 0.8896 0.8213 1.0000 0.2257 0.8839 0.8280 1.0000 0.2308 0.8781 0.8346 1.0000 0.2360 0.8722 0.8411 1.0000 0.2413 0.8662 0.8475 1.0000 0.2466 0.8601 0.8539 1.0000 0.2521 0.8539 0.8601 1.0000 0.2576 0.8475 0.8662 1.0000 0.2632 0.8411 0.8722 1.0000 0.2688 0.8346 0.8781 1.0000 0.2746 0.8280 0.8839 1.0000 0.2804 0.8213 0.8896 1.0000 0.2863 0.8145 0.8952 1.0000 0.2922 0.8077 0.9006 1.0000 0.2982 0.8007 0.9060 1.0000 0.3043 0.7937 0.9112 1.0000 0.3105 0.7866 0.9162 1.0000 0.3167 0.7795 0.9212 1.0000 0.3231 0.7722 0.9260 1.0000 0.3294 0.7650 0.9307 1.0000 0.3359 0.7576 0.9352 1.0000 0.3424 0.7502 0.9396 1.0000 0.3490 0.7427 0.9439 1.0000 0.3557 0.7352 0.9480 1.0000 0.3624 0.7277 0.9520 1.0000 0.3692 0.7201 0.9558 1.0000 0.3760 0.7124 0.9595 1.0000 0.3829 0.7047 0.9630 1.0000 0.3899 0.6970 0.9664 1.0000 0.3969 0.6892 0.9696 1.0000 0.4040 0.6815 0.9727 1.0000 0.4111 0.6736 0.9756 1.0000 0.4183 0.6658 0.9784 1.0000 0.4256 0.6579 0.9810 1.0000 0.4328 0.6501 0.9834 1.0000 0.4402 0.6422 0.9857 1.0000 0.4476 0.6343 0.9878 1.0000 0.4550 0.6263 0.9897 1.0000 0.4625 0.6184 0.9915 1.0000 0.4700 0.6105 0.9931 1.0000 0.4776 0.6026 0.9945 1.0000 0.4852 0.5946 0.9958 1.0000 0.4929 0.5867 0.9969 1.0000 0.5006 0.5788 0.9979 1.0000 0.5083 0.5709 0.9986 1.0000 0.5160 0.5630 0.9992 1.0000 0.5238 0.5551 0.9997 1.0000 0.5316 0.5473 0.9999 1.0000 0.5394 0.5394 1.0000 1.0000 0.5473 0.5316 0.9999 1.0000 0.5551 0.5238 0.9997 1.0000 0.5630 0.5160 0.9992 1.0000 0.5709 0.5083 0.9986 1.0000 0.5788 0.5006 0.9979 1.0000 0.5867 0.4929 0.9969 1.0000 0.5946 0.4852 0.9958 1.0000 0.6026 0.4776 0.9945 1.0000 0.6105 0.4700 0.9931 1.0000 0.6184 0.4625 0.9915 1.0000 0.6263 0.4550 0.9897 1.0000 0.6343 0.4476 0.9878 1.0000 0.6422 0.4402 0.9857 1.0000 0.6501 0.4328 0.9834 1.0000 0.6579 0.4256 0.9810 1.0000 0.6658 0.4183 0.9784 1.0000 0.6736 0.4111 0.9756 1.0000 0.6815 0.4040 0.9727 1.0000 0.6892 0.3969 0.9696 1.0000 0.6970 0.3899 0.9664 1.0000 0.7047 0.3829 0.9630 1.0000 0.7124 0.3760 0.9595 1.0000 0.7201 0.3692 0.9558 1.0000 0.7277 0.3624 0.9520 1.0000 0.7352 0.3557 0.9480 1.0000 0.7427 0.3490 0.9439 1.0000 0.7502 0.3424 0.9396 1.0000 0.7576 0.3359 0.9352 1.0000 0.7650 0.3294 0.9307 1.0000 0.7722 0.3231 0.9260 1.0000 0.7795 0.3167 0.9212 1.0000 0.7866 0.3105 0.9162 1.0000 0.7937 0.3043 0.9112 1.0000 0.8007 0.2982 0.9060 1.0000 0.8077 0.2922 0.9006 1.0000 0.8145 0.2863 0.8952 1.0000 0.8213 0.2804 0.8896 1.0000 0.8280 0.2746 0.8839 1.0000 0.8346 0.2688 0.8781 1.0000 0.8411 0.2632 0.8722 1.0000 0.8475 0.2576 0.8662 1.0000 0.8539 0.2521 0.8601 1.0000 0.8601 0.2466 0.8539 1.0000 0.8662 0.2413 0.8475 1.0000 0.8722 0.2360 0.8411 1.0000 0.8781 0.2308 0.8346 1.0000 0.8839 0.2257 0.8280 1.0000 0.8896 0.2206 0.8213 1.0000 0.8952 0.2156 0.8145 1.0000 0.9006 0.2107 0.8077 1.0000 0.9060 0.2059 0.8007 1.0000 0.9112 0.2012 0.7937 1.0000 0.9162 0.1965 0.7866 1.0000 0.9212 0.1919 0.7795 1.0000 0.9260 0.1874 0.7722 1.0000 0.9307 0.1829 0.7650 1.0000 0.9352 0.1786 0.7576 1.0000 0.9396 0.1743 0.7502 1.0000 0.9439 0.1701 0.7427 1.0000 0.9480 0.1659 0.7352 1.0000 0.9520 0.1618 0.7277 1.0000 0.9558 0.1578 0.7201 1.0000 0.9595 0.1539 0.7124 1.0000 0.9630 0.1500 0.7047 1.0000 0.9664 0.1463 0.6970 1.0000 0.9696 0.1426 0.6892 1.0000 0.9727 0.1389 0.6815 1.0000 0.9756 0.1353 0.6736 1.0000 0.9784 0.1318 0.6658 1.0000 0.9810 0.1284 0.6579 1.0000 0.9834 0.1250 0.6501 1.0000 0.9857 0.1217 0.6422 1.0000 0.9878 0.1185 0.6343 1.0000 0.9897 0.1153 0.6263 1.0000 0.9915 0.1122 0.6184 1.0000 0.9931 0.1092 0.6105 1.0000 0.9945 0.1062 0.6026 1.0000 0.9958 0.1033 0.5946 1.0000 0.9969 0.1005 0.5867 1.0000 0.9979 0.0977 0.5788 1.0000 0.9986 0.0950 0.5709 1.0000 0.9992 0.0923 0.5630 1.0000 0.9997 0.0897 0.5551 1.0000 0.9999 0.0871 0.5473 1.0000 1.0000 0.0847 0.5394 1.0000 0.9999 0.0822 0.5316 1.0000 0.9997 0.0799 0.5238 1.0000 0.9992 0.0775 0.5160 1.0000 0.9986 0.0753 0.5083 1.0000 0.9979 0.0731 0.5006 1.0000 0.9969 0.0709 0.4929 1.0000 0.9958 0.0688 0.4852 1.0000 0.9945 0.0667 0.4776 1.0000 0.9931 0.0647 0.4700 1.0000 0.9915 0.0628 0.4625 1.0000 0.9897 0.0609 0.4550 1.0000 0.9878 0.0590 0.4476 1.0000 0.9857 0.0572 0.4402 1.0000 0.9834 0.0554 0.4328 1.0000 0.9810 0.0537 0.4256 1.0000 0.9784 0.0520 0.4183 1.0000 0.9756 0.0504 0.4111 1.0000 0.9727 0.0488 0.4040 1.0000 0.9696 0.0473 0.3969 1.0000 0.9664 0.0458 0.3899 1.0000 0.9630 0.0443 0.3829 1.0000 0.9595 0.0429 0.3760 1.0000 0.9558 0.0415 0.3692 1.0000 0.9520 0.0401 0.3624 1.0000 0.9480 0.0388 0.3557 1.0000 0.9439 0.0375 0.3490 1.0000 0.9396 0.0363 0.3424 1.0000 0.9352 0.0351 0.3359 1.0000 0.9307 0.0339 0.3294 1.0000 0.9260 0.0328 0.3231 1.0000 0.9212 0.0317 0.3167 1.0000 0.9162 0.0306 0.3105 1.0000 0.9112 0.0296 0.3043 1.0000 0.9060 0.0286 0.2982 1.0000 0.9006 0.0276 0.2922 1.0000 0.8952 0.0266 0.2863 1.0000 0.8896 0.0257 0.2804 1.0000 0.8839 0.0248 0.2746 1.0000 0.8781 0.0239 0.2688 1.0000 0.8722 0.0231 0.2632 1.0000 0.8662 0.0223 0.2576 1.0000 0.8601 0.0215 0.2521 1.0000 0.8539 0.0207 0.2466 1.0000 0.8475 0.0200 0.2413 1.0000 0.8411 0.0193 0.2360 1.0000 0.8346 0.0186 0.2308 1.0000 0.8280 0.0179 0.2257 1.0000 0.8213 0.0172 0.2206 1.0000 0.8145 0.0166 0.2156 1.0000 0.8077 0.0160 0.2107 1.0000 0.8007 0.0154 0.2059 1.0000 0.7937 0.0148 0.2012 1.0000 0.7866 0.0143 0.1965 1.0000 0.7795 0.0137 0.1919 1.0000 0.7722 0.0132 0.1874 1.0000 0.7650 0.0127 0.1829 1.0000 0.7576 0.0122 0.1786 1.0000 0.7502 0.0118 0.1743 1.0000 0.7427 0.0113 0.1701 1.0000 0.7352 0.0109 0.1659 1.0000 0.7277 0.0105 0.1618 1.0000 0.7201 0.0101 0.1578 1.0000 0.7124 0.0097 0.1539 1.0000 0.7047 0.0093 0.1500 1.0000 0.6970 0.0089 0.1463 1.0000 0.6892 0.0086 0.1426 1.0000 0.6815 0.0082 0.1389 1.0000 0.6736 0.0079 0.1353 1.0000 0.6658 0.0076 0.1318 1.0000 0.6579 0.0073 0.1284 1.0000 0.6501 0.0070 0.1250 1.0000 0.6422 0.0067 0.1217 1.0000 0.6343 0.0064 0.1185 1.0000 0.6263 0.0062 0.1153 1.0000 0.6184 0.0059 0.1122 1.0000 0.6105 0.0057 0.1092 1.0000 0.6026 0.0054 0.1062 1.0000 0.5946 0.0052 0.1033 1.0000 0.5867 0.0050 0.1005 1.0000 0.5788 0.0048 0.0977 1.0000 0.5709 0.0046 0.0950 1.0000 0.5630 0.0044 0.0923 1.0000 0.5551 0.0042 0.0897 1.0000 0.5473 0.0040 0.0871 1.0000 0.5394 0.0039 0.0847 1.0000 viper-1.0.0/src/viper/data/gauss_099.lut0000644000000000000000000001604611667652155016106 0ustar 00000000000000LOOKUP_TABLE ./luts/gauss_099.lut 256 0.0847 1.0000 0.0039 1.0000 0.0871 0.9999 0.0040 1.0000 0.0897 0.9997 0.0042 1.0000 0.0923 0.9992 0.0044 1.0000 0.0950 0.9986 0.0046 1.0000 0.0977 0.9979 0.0048 1.0000 0.1005 0.9969 0.0050 1.0000 0.1033 0.9958 0.0052 1.0000 0.1062 0.9945 0.0054 1.0000 0.1092 0.9931 0.0057 1.0000 0.1122 0.9915 0.0059 1.0000 0.1153 0.9897 0.0062 1.0000 0.1185 0.9878 0.0064 1.0000 0.1217 0.9857 0.0067 1.0000 0.1250 0.9834 0.0070 1.0000 0.1284 0.9810 0.0073 1.0000 0.1318 0.9784 0.0076 1.0000 0.1353 0.9756 0.0079 1.0000 0.1389 0.9727 0.0082 1.0000 0.1426 0.9696 0.0086 1.0000 0.1463 0.9664 0.0089 1.0000 0.1500 0.9630 0.0093 1.0000 0.1539 0.9595 0.0097 1.0000 0.1578 0.9558 0.0101 1.0000 0.1618 0.9520 0.0105 1.0000 0.1659 0.9480 0.0109 1.0000 0.1701 0.9439 0.0113 1.0000 0.1743 0.9396 0.0118 1.0000 0.1786 0.9352 0.0122 1.0000 0.1829 0.9307 0.0127 1.0000 0.1874 0.9260 0.0132 1.0000 0.1919 0.9212 0.0137 1.0000 0.1965 0.9162 0.0143 1.0000 0.2012 0.9112 0.0148 1.0000 0.2059 0.9060 0.0154 1.0000 0.2107 0.9006 0.0160 1.0000 0.2156 0.8952 0.0166 1.0000 0.2206 0.8896 0.0172 1.0000 0.2257 0.8839 0.0179 1.0000 0.2308 0.8781 0.0186 1.0000 0.2360 0.8722 0.0193 1.0000 0.2413 0.8662 0.0200 1.0000 0.2466 0.8601 0.0207 1.0000 0.2521 0.8539 0.0215 1.0000 0.2576 0.8475 0.0223 1.0000 0.2632 0.8411 0.0231 1.0000 0.2688 0.8346 0.0239 1.0000 0.2746 0.8280 0.0248 1.0000 0.2804 0.8213 0.0257 1.0000 0.2863 0.8145 0.0266 1.0000 0.2922 0.8077 0.0276 1.0000 0.2982 0.8007 0.0286 1.0000 0.3043 0.7937 0.0296 1.0000 0.3105 0.7866 0.0306 1.0000 0.3167 0.7795 0.0317 1.0000 0.3231 0.7722 0.0328 1.0000 0.3294 0.7650 0.0339 1.0000 0.3359 0.7576 0.0351 1.0000 0.3424 0.7502 0.0363 1.0000 0.3490 0.7427 0.0375 1.0000 0.3557 0.7352 0.0388 1.0000 0.3624 0.7277 0.0401 1.0000 0.3692 0.7201 0.0415 1.0000 0.3760 0.7124 0.0429 1.0000 0.3829 0.7047 0.0443 1.0000 0.3899 0.6970 0.0458 1.0000 0.3969 0.6892 0.0473 1.0000 0.4040 0.6815 0.0488 1.0000 0.4111 0.6736 0.0504 1.0000 0.4183 0.6658 0.0520 1.0000 0.4256 0.6579 0.0537 1.0000 0.4328 0.6501 0.0554 1.0000 0.4402 0.6422 0.0572 1.0000 0.4476 0.6343 0.0590 1.0000 0.4550 0.6263 0.0609 1.0000 0.4625 0.6184 0.0628 1.0000 0.4700 0.6105 0.0647 1.0000 0.4776 0.6026 0.0667 1.0000 0.4852 0.5946 0.0688 1.0000 0.4929 0.5867 0.0709 1.0000 0.5006 0.5788 0.0731 1.0000 0.5083 0.5709 0.0753 1.0000 0.5160 0.5630 0.0775 1.0000 0.5238 0.5551 0.0799 1.0000 0.5316 0.5473 0.0822 1.0000 0.5394 0.5394 0.0847 1.0000 0.5473 0.5316 0.0871 1.0000 0.5551 0.5238 0.0897 1.0000 0.5630 0.5160 0.0923 1.0000 0.5709 0.5083 0.0950 1.0000 0.5788 0.5006 0.0977 1.0000 0.5867 0.4929 0.1005 1.0000 0.5946 0.4852 0.1033 1.0000 0.6026 0.4776 0.1062 1.0000 0.6105 0.4700 0.1092 1.0000 0.6184 0.4625 0.1122 1.0000 0.6263 0.4550 0.1153 1.0000 0.6343 0.4476 0.1185 1.0000 0.6422 0.4402 0.1217 1.0000 0.6501 0.4328 0.1250 1.0000 0.6579 0.4256 0.1284 1.0000 0.6658 0.4183 0.1318 1.0000 0.6736 0.4111 0.1353 1.0000 0.6815 0.4040 0.1389 1.0000 0.6892 0.3969 0.1426 1.0000 0.6970 0.3899 0.1463 1.0000 0.7047 0.3829 0.1500 1.0000 0.7124 0.3760 0.1539 1.0000 0.7201 0.3692 0.1578 1.0000 0.7277 0.3624 0.1618 1.0000 0.7352 0.3557 0.1659 1.0000 0.7427 0.3490 0.1701 1.0000 0.7502 0.3424 0.1743 1.0000 0.7576 0.3359 0.1786 1.0000 0.7650 0.3294 0.1829 1.0000 0.7722 0.3231 0.1874 1.0000 0.7795 0.3167 0.1919 1.0000 0.7866 0.3105 0.1965 1.0000 0.7937 0.3043 0.2012 1.0000 0.8007 0.2982 0.2059 1.0000 0.8077 0.2922 0.2107 1.0000 0.8145 0.2863 0.2156 1.0000 0.8213 0.2804 0.2206 1.0000 0.8280 0.2746 0.2257 1.0000 0.8346 0.2688 0.2308 1.0000 0.8411 0.2632 0.2360 1.0000 0.8475 0.2576 0.2413 1.0000 0.8539 0.2521 0.2466 1.0000 0.8601 0.2466 0.2521 1.0000 0.8662 0.2413 0.2576 1.0000 0.8722 0.2360 0.2632 1.0000 0.8781 0.2308 0.2688 1.0000 0.8839 0.2257 0.2746 1.0000 0.8896 0.2206 0.2804 1.0000 0.8952 0.2156 0.2863 1.0000 0.9006 0.2107 0.2922 1.0000 0.9060 0.2059 0.2982 1.0000 0.9112 0.2012 0.3043 1.0000 0.9162 0.1965 0.3105 1.0000 0.9212 0.1919 0.3167 1.0000 0.9260 0.1874 0.3231 1.0000 0.9307 0.1829 0.3294 1.0000 0.9352 0.1786 0.3359 1.0000 0.9396 0.1743 0.3424 1.0000 0.9439 0.1701 0.3490 1.0000 0.9480 0.1659 0.3557 1.0000 0.9520 0.1618 0.3624 1.0000 0.9558 0.1578 0.3692 1.0000 0.9595 0.1539 0.3760 1.0000 0.9630 0.1500 0.3829 1.0000 0.9664 0.1463 0.3899 1.0000 0.9696 0.1426 0.3969 1.0000 0.9727 0.1389 0.4040 1.0000 0.9756 0.1353 0.4111 1.0000 0.9784 0.1318 0.4183 1.0000 0.9810 0.1284 0.4256 1.0000 0.9834 0.1250 0.4328 1.0000 0.9857 0.1217 0.4402 1.0000 0.9878 0.1185 0.4476 1.0000 0.9897 0.1153 0.4550 1.0000 0.9915 0.1122 0.4625 1.0000 0.9931 0.1092 0.4700 1.0000 0.9945 0.1062 0.4776 1.0000 0.9958 0.1033 0.4852 1.0000 0.9969 0.1005 0.4929 1.0000 0.9979 0.0977 0.5006 1.0000 0.9986 0.0950 0.5083 1.0000 0.9992 0.0923 0.5160 1.0000 0.9997 0.0897 0.5238 1.0000 0.9999 0.0871 0.5316 1.0000 1.0000 0.0847 0.5394 1.0000 0.9999 0.0822 0.5473 1.0000 0.9997 0.0799 0.5551 1.0000 0.9992 0.0775 0.5630 1.0000 0.9986 0.0753 0.5709 1.0000 0.9979 0.0731 0.5788 1.0000 0.9969 0.0709 0.5867 1.0000 0.9958 0.0688 0.5946 1.0000 0.9945 0.0667 0.6026 1.0000 0.9931 0.0647 0.6105 1.0000 0.9915 0.0628 0.6184 1.0000 0.9897 0.0609 0.6263 1.0000 0.9878 0.0590 0.6343 1.0000 0.9857 0.0572 0.6422 1.0000 0.9834 0.0554 0.6501 1.0000 0.9810 0.0537 0.6579 1.0000 0.9784 0.0520 0.6658 1.0000 0.9756 0.0504 0.6736 1.0000 0.9727 0.0488 0.6815 1.0000 0.9696 0.0473 0.6892 1.0000 0.9664 0.0458 0.6970 1.0000 0.9630 0.0443 0.7047 1.0000 0.9595 0.0429 0.7124 1.0000 0.9558 0.0415 0.7201 1.0000 0.9520 0.0401 0.7277 1.0000 0.9480 0.0388 0.7352 1.0000 0.9439 0.0375 0.7427 1.0000 0.9396 0.0363 0.7502 1.0000 0.9352 0.0351 0.7576 1.0000 0.9307 0.0339 0.7650 1.0000 0.9260 0.0328 0.7722 1.0000 0.9212 0.0317 0.7795 1.0000 0.9162 0.0306 0.7866 1.0000 0.9112 0.0296 0.7937 1.0000 0.9060 0.0286 0.8007 1.0000 0.9006 0.0276 0.8077 1.0000 0.8952 0.0266 0.8145 1.0000 0.8896 0.0257 0.8213 1.0000 0.8839 0.0248 0.8280 1.0000 0.8781 0.0239 0.8346 1.0000 0.8722 0.0231 0.8411 1.0000 0.8662 0.0223 0.8475 1.0000 0.8601 0.0215 0.8539 1.0000 0.8539 0.0207 0.8601 1.0000 0.8475 0.0200 0.8662 1.0000 0.8411 0.0193 0.8722 1.0000 0.8346 0.0186 0.8781 1.0000 0.8280 0.0179 0.8839 1.0000 0.8213 0.0172 0.8896 1.0000 0.8145 0.0166 0.8952 1.0000 0.8077 0.0160 0.9006 1.0000 0.8007 0.0154 0.9060 1.0000 0.7937 0.0148 0.9112 1.0000 0.7866 0.0143 0.9162 1.0000 0.7795 0.0137 0.9212 1.0000 0.7722 0.0132 0.9260 1.0000 0.7650 0.0127 0.9307 1.0000 0.7576 0.0122 0.9352 1.0000 0.7502 0.0118 0.9396 1.0000 0.7427 0.0113 0.9439 1.0000 0.7352 0.0109 0.9480 1.0000 0.7277 0.0105 0.9520 1.0000 0.7201 0.0101 0.9558 1.0000 0.7124 0.0097 0.9595 1.0000 0.7047 0.0093 0.9630 1.0000 0.6970 0.0089 0.9664 1.0000 0.6892 0.0086 0.9696 1.0000 0.6815 0.0082 0.9727 1.0000 0.6736 0.0079 0.9756 1.0000 0.6658 0.0076 0.9784 1.0000 0.6579 0.0073 0.9810 1.0000 0.6501 0.0070 0.9834 1.0000 0.6422 0.0067 0.9857 1.0000 0.6343 0.0064 0.9878 1.0000 0.6263 0.0062 0.9897 1.0000 0.6184 0.0059 0.9915 1.0000 0.6105 0.0057 0.9931 1.0000 0.6026 0.0054 0.9945 1.0000 0.5946 0.0052 0.9958 1.0000 0.5867 0.0050 0.9969 1.0000 0.5788 0.0048 0.9979 1.0000 0.5709 0.0046 0.9986 1.0000 0.5630 0.0044 0.9992 1.0000 0.5551 0.0042 0.9997 1.0000 0.5473 0.0040 0.9999 1.0000 0.5394 0.0039 1.0000 1.0000 viper-1.0.0/src/viper/data/gauss_100.lut0000644000000000000000000001604611667652155016065 0ustar 00000000000000LOOKUP_TABLE ./luts/gauss_100.lut 256 0.0847 0.5394 1.0000 1.0000 0.0871 0.5473 0.9999 1.0000 0.0897 0.5551 0.9997 1.0000 0.0923 0.5630 0.9992 1.0000 0.0950 0.5709 0.9986 1.0000 0.0977 0.5788 0.9979 1.0000 0.1005 0.5867 0.9969 1.0000 0.1033 0.5946 0.9958 1.0000 0.1062 0.6026 0.9945 1.0000 0.1092 0.6105 0.9931 1.0000 0.1122 0.6184 0.9915 1.0000 0.1153 0.6263 0.9897 1.0000 0.1185 0.6343 0.9878 1.0000 0.1217 0.6422 0.9857 1.0000 0.1250 0.6501 0.9834 1.0000 0.1284 0.6579 0.9810 1.0000 0.1318 0.6658 0.9784 1.0000 0.1353 0.6736 0.9756 1.0000 0.1389 0.6815 0.9727 1.0000 0.1426 0.6892 0.9696 1.0000 0.1463 0.6970 0.9664 1.0000 0.1500 0.7047 0.9630 1.0000 0.1539 0.7124 0.9595 1.0000 0.1578 0.7201 0.9558 1.0000 0.1618 0.7277 0.9520 1.0000 0.1659 0.7352 0.9480 1.0000 0.1701 0.7427 0.9439 1.0000 0.1743 0.7502 0.9396 1.0000 0.1786 0.7576 0.9352 1.0000 0.1829 0.7650 0.9307 1.0000 0.1874 0.7722 0.9260 1.0000 0.1919 0.7795 0.9212 1.0000 0.1965 0.7866 0.9162 1.0000 0.2012 0.7937 0.9112 1.0000 0.2059 0.8007 0.9060 1.0000 0.2107 0.8077 0.9006 1.0000 0.2156 0.8145 0.8952 1.0000 0.2206 0.8213 0.8896 1.0000 0.2257 0.8280 0.8839 1.0000 0.2308 0.8346 0.8781 1.0000 0.2360 0.8411 0.8722 1.0000 0.2413 0.8475 0.8662 1.0000 0.2466 0.8539 0.8601 1.0000 0.2521 0.8601 0.8539 1.0000 0.2576 0.8662 0.8475 1.0000 0.2632 0.8722 0.8411 1.0000 0.2688 0.8781 0.8346 1.0000 0.2746 0.8839 0.8280 1.0000 0.2804 0.8896 0.8213 1.0000 0.2863 0.8952 0.8145 1.0000 0.2922 0.9006 0.8077 1.0000 0.2982 0.9060 0.8007 1.0000 0.3043 0.9112 0.7937 1.0000 0.3105 0.9162 0.7866 1.0000 0.3167 0.9212 0.7795 1.0000 0.3231 0.9260 0.7722 1.0000 0.3294 0.9307 0.7650 1.0000 0.3359 0.9352 0.7576 1.0000 0.3424 0.9396 0.7502 1.0000 0.3490 0.9439 0.7427 1.0000 0.3557 0.9480 0.7352 1.0000 0.3624 0.9520 0.7277 1.0000 0.3692 0.9558 0.7201 1.0000 0.3760 0.9595 0.7124 1.0000 0.3829 0.9630 0.7047 1.0000 0.3899 0.9664 0.6970 1.0000 0.3969 0.9696 0.6892 1.0000 0.4040 0.9727 0.6815 1.0000 0.4111 0.9756 0.6736 1.0000 0.4183 0.9784 0.6658 1.0000 0.4256 0.9810 0.6579 1.0000 0.4328 0.9834 0.6501 1.0000 0.4402 0.9857 0.6422 1.0000 0.4476 0.9878 0.6343 1.0000 0.4550 0.9897 0.6263 1.0000 0.4625 0.9915 0.6184 1.0000 0.4700 0.9931 0.6105 1.0000 0.4776 0.9945 0.6026 1.0000 0.4852 0.9958 0.5946 1.0000 0.4929 0.9969 0.5867 1.0000 0.5006 0.9979 0.5788 1.0000 0.5083 0.9986 0.5709 1.0000 0.5160 0.9992 0.5630 1.0000 0.5238 0.9997 0.5551 1.0000 0.5316 0.9999 0.5473 1.0000 0.5394 1.0000 0.5394 1.0000 0.5473 0.9999 0.5316 1.0000 0.5551 0.9997 0.5238 1.0000 0.5630 0.9992 0.5160 1.0000 0.5709 0.9986 0.5083 1.0000 0.5788 0.9979 0.5006 1.0000 0.5867 0.9969 0.4929 1.0000 0.5946 0.9958 0.4852 1.0000 0.6026 0.9945 0.4776 1.0000 0.6105 0.9931 0.4700 1.0000 0.6184 0.9915 0.4625 1.0000 0.6263 0.9897 0.4550 1.0000 0.6343 0.9878 0.4476 1.0000 0.6422 0.9857 0.4402 1.0000 0.6501 0.9834 0.4328 1.0000 0.6579 0.9810 0.4256 1.0000 0.6658 0.9784 0.4183 1.0000 0.6736 0.9756 0.4111 1.0000 0.6815 0.9727 0.4040 1.0000 0.6892 0.9696 0.3969 1.0000 0.6970 0.9664 0.3899 1.0000 0.7047 0.9630 0.3829 1.0000 0.7124 0.9595 0.3760 1.0000 0.7201 0.9558 0.3692 1.0000 0.7277 0.9520 0.3624 1.0000 0.7352 0.9480 0.3557 1.0000 0.7427 0.9439 0.3490 1.0000 0.7502 0.9396 0.3424 1.0000 0.7576 0.9352 0.3359 1.0000 0.7650 0.9307 0.3294 1.0000 0.7722 0.9260 0.3231 1.0000 0.7795 0.9212 0.3167 1.0000 0.7866 0.9162 0.3105 1.0000 0.7937 0.9112 0.3043 1.0000 0.8007 0.9060 0.2982 1.0000 0.8077 0.9006 0.2922 1.0000 0.8145 0.8952 0.2863 1.0000 0.8213 0.8896 0.2804 1.0000 0.8280 0.8839 0.2746 1.0000 0.8346 0.8781 0.2688 1.0000 0.8411 0.8722 0.2632 1.0000 0.8475 0.8662 0.2576 1.0000 0.8539 0.8601 0.2521 1.0000 0.8601 0.8539 0.2466 1.0000 0.8662 0.8475 0.2413 1.0000 0.8722 0.8411 0.2360 1.0000 0.8781 0.8346 0.2308 1.0000 0.8839 0.8280 0.2257 1.0000 0.8896 0.8213 0.2206 1.0000 0.8952 0.8145 0.2156 1.0000 0.9006 0.8077 0.2107 1.0000 0.9060 0.8007 0.2059 1.0000 0.9112 0.7937 0.2012 1.0000 0.9162 0.7866 0.1965 1.0000 0.9212 0.7795 0.1919 1.0000 0.9260 0.7722 0.1874 1.0000 0.9307 0.7650 0.1829 1.0000 0.9352 0.7576 0.1786 1.0000 0.9396 0.7502 0.1743 1.0000 0.9439 0.7427 0.1701 1.0000 0.9480 0.7352 0.1659 1.0000 0.9520 0.7277 0.1618 1.0000 0.9558 0.7201 0.1578 1.0000 0.9595 0.7124 0.1539 1.0000 0.9630 0.7047 0.1500 1.0000 0.9664 0.6970 0.1463 1.0000 0.9696 0.6892 0.1426 1.0000 0.9727 0.6815 0.1389 1.0000 0.9756 0.6736 0.1353 1.0000 0.9784 0.6658 0.1318 1.0000 0.9810 0.6579 0.1284 1.0000 0.9834 0.6501 0.1250 1.0000 0.9857 0.6422 0.1217 1.0000 0.9878 0.6343 0.1185 1.0000 0.9897 0.6263 0.1153 1.0000 0.9915 0.6184 0.1122 1.0000 0.9931 0.6105 0.1092 1.0000 0.9945 0.6026 0.1062 1.0000 0.9958 0.5946 0.1033 1.0000 0.9969 0.5867 0.1005 1.0000 0.9979 0.5788 0.0977 1.0000 0.9986 0.5709 0.0950 1.0000 0.9992 0.5630 0.0923 1.0000 0.9997 0.5551 0.0897 1.0000 0.9999 0.5473 0.0871 1.0000 1.0000 0.5394 0.0847 1.0000 0.9999 0.5316 0.0822 1.0000 0.9997 0.5238 0.0799 1.0000 0.9992 0.5160 0.0775 1.0000 0.9986 0.5083 0.0753 1.0000 0.9979 0.5006 0.0731 1.0000 0.9969 0.4929 0.0709 1.0000 0.9958 0.4852 0.0688 1.0000 0.9945 0.4776 0.0667 1.0000 0.9931 0.4700 0.0647 1.0000 0.9915 0.4625 0.0628 1.0000 0.9897 0.4550 0.0609 1.0000 0.9878 0.4476 0.0590 1.0000 0.9857 0.4402 0.0572 1.0000 0.9834 0.4328 0.0554 1.0000 0.9810 0.4256 0.0537 1.0000 0.9784 0.4183 0.0520 1.0000 0.9756 0.4111 0.0504 1.0000 0.9727 0.4040 0.0488 1.0000 0.9696 0.3969 0.0473 1.0000 0.9664 0.3899 0.0458 1.0000 0.9630 0.3829 0.0443 1.0000 0.9595 0.3760 0.0429 1.0000 0.9558 0.3692 0.0415 1.0000 0.9520 0.3624 0.0401 1.0000 0.9480 0.3557 0.0388 1.0000 0.9439 0.3490 0.0375 1.0000 0.9396 0.3424 0.0363 1.0000 0.9352 0.3359 0.0351 1.0000 0.9307 0.3294 0.0339 1.0000 0.9260 0.3231 0.0328 1.0000 0.9212 0.3167 0.0317 1.0000 0.9162 0.3105 0.0306 1.0000 0.9112 0.3043 0.0296 1.0000 0.9060 0.2982 0.0286 1.0000 0.9006 0.2922 0.0276 1.0000 0.8952 0.2863 0.0266 1.0000 0.8896 0.2804 0.0257 1.0000 0.8839 0.2746 0.0248 1.0000 0.8781 0.2688 0.0239 1.0000 0.8722 0.2632 0.0231 1.0000 0.8662 0.2576 0.0223 1.0000 0.8601 0.2521 0.0215 1.0000 0.8539 0.2466 0.0207 1.0000 0.8475 0.2413 0.0200 1.0000 0.8411 0.2360 0.0193 1.0000 0.8346 0.2308 0.0186 1.0000 0.8280 0.2257 0.0179 1.0000 0.8213 0.2206 0.0172 1.0000 0.8145 0.2156 0.0166 1.0000 0.8077 0.2107 0.0160 1.0000 0.8007 0.2059 0.0154 1.0000 0.7937 0.2012 0.0148 1.0000 0.7866 0.1965 0.0143 1.0000 0.7795 0.1919 0.0137 1.0000 0.7722 0.1874 0.0132 1.0000 0.7650 0.1829 0.0127 1.0000 0.7576 0.1786 0.0122 1.0000 0.7502 0.1743 0.0118 1.0000 0.7427 0.1701 0.0113 1.0000 0.7352 0.1659 0.0109 1.0000 0.7277 0.1618 0.0105 1.0000 0.7201 0.1578 0.0101 1.0000 0.7124 0.1539 0.0097 1.0000 0.7047 0.1500 0.0093 1.0000 0.6970 0.1463 0.0089 1.0000 0.6892 0.1426 0.0086 1.0000 0.6815 0.1389 0.0082 1.0000 0.6736 0.1353 0.0079 1.0000 0.6658 0.1318 0.0076 1.0000 0.6579 0.1284 0.0073 1.0000 0.6501 0.1250 0.0070 1.0000 0.6422 0.1217 0.0067 1.0000 0.6343 0.1185 0.0064 1.0000 0.6263 0.1153 0.0062 1.0000 0.6184 0.1122 0.0059 1.0000 0.6105 0.1092 0.0057 1.0000 0.6026 0.1062 0.0054 1.0000 0.5946 0.1033 0.0052 1.0000 0.5867 0.1005 0.0050 1.0000 0.5788 0.0977 0.0048 1.0000 0.5709 0.0950 0.0046 1.0000 0.5630 0.0923 0.0044 1.0000 0.5551 0.0897 0.0042 1.0000 0.5473 0.0871 0.0040 1.0000 0.5394 0.0847 0.0039 1.0000 viper-1.0.0/src/viper/data/gauss_103.lut0000644000000000000000000001604611667652155016070 0ustar 00000000000000LOOKUP_TABLE ./luts/gauss_103.lut 256 0.0847 0.5394 0.0039 1.0000 0.0871 0.5473 0.0040 1.0000 0.0897 0.5551 0.0042 1.0000 0.0923 0.5630 0.0044 1.0000 0.0950 0.5709 0.0046 1.0000 0.0977 0.5788 0.0048 1.0000 0.1005 0.5867 0.0050 1.0000 0.1033 0.5946 0.0052 1.0000 0.1062 0.6026 0.0054 1.0000 0.1092 0.6105 0.0057 1.0000 0.1122 0.6184 0.0059 1.0000 0.1153 0.6263 0.0062 1.0000 0.1185 0.6343 0.0064 1.0000 0.1217 0.6422 0.0067 1.0000 0.1250 0.6501 0.0070 1.0000 0.1284 0.6579 0.0073 1.0000 0.1318 0.6658 0.0076 1.0000 0.1353 0.6736 0.0079 1.0000 0.1389 0.6815 0.0082 1.0000 0.1426 0.6892 0.0086 1.0000 0.1463 0.6970 0.0089 1.0000 0.1500 0.7047 0.0093 1.0000 0.1539 0.7124 0.0097 1.0000 0.1578 0.7201 0.0101 1.0000 0.1618 0.7277 0.0105 1.0000 0.1659 0.7352 0.0109 1.0000 0.1701 0.7427 0.0113 1.0000 0.1743 0.7502 0.0118 1.0000 0.1786 0.7576 0.0122 1.0000 0.1829 0.7650 0.0127 1.0000 0.1874 0.7722 0.0132 1.0000 0.1919 0.7795 0.0137 1.0000 0.1965 0.7866 0.0143 1.0000 0.2012 0.7937 0.0148 1.0000 0.2059 0.8007 0.0154 1.0000 0.2107 0.8077 0.0160 1.0000 0.2156 0.8145 0.0166 1.0000 0.2206 0.8213 0.0172 1.0000 0.2257 0.8280 0.0179 1.0000 0.2308 0.8346 0.0186 1.0000 0.2360 0.8411 0.0193 1.0000 0.2413 0.8475 0.0200 1.0000 0.2466 0.8539 0.0207 1.0000 0.2521 0.8601 0.0215 1.0000 0.2576 0.8662 0.0223 1.0000 0.2632 0.8722 0.0231 1.0000 0.2688 0.8781 0.0239 1.0000 0.2746 0.8839 0.0248 1.0000 0.2804 0.8896 0.0257 1.0000 0.2863 0.8952 0.0266 1.0000 0.2922 0.9006 0.0276 1.0000 0.2982 0.9060 0.0286 1.0000 0.3043 0.9112 0.0296 1.0000 0.3105 0.9162 0.0306 1.0000 0.3167 0.9212 0.0317 1.0000 0.3231 0.9260 0.0328 1.0000 0.3294 0.9307 0.0339 1.0000 0.3359 0.9352 0.0351 1.0000 0.3424 0.9396 0.0363 1.0000 0.3490 0.9439 0.0375 1.0000 0.3557 0.9480 0.0388 1.0000 0.3624 0.9520 0.0401 1.0000 0.3692 0.9558 0.0415 1.0000 0.3760 0.9595 0.0429 1.0000 0.3829 0.9630 0.0443 1.0000 0.3899 0.9664 0.0458 1.0000 0.3969 0.9696 0.0473 1.0000 0.4040 0.9727 0.0488 1.0000 0.4111 0.9756 0.0504 1.0000 0.4183 0.9784 0.0520 1.0000 0.4256 0.9810 0.0537 1.0000 0.4328 0.9834 0.0554 1.0000 0.4402 0.9857 0.0572 1.0000 0.4476 0.9878 0.0590 1.0000 0.4550 0.9897 0.0609 1.0000 0.4625 0.9915 0.0628 1.0000 0.4700 0.9931 0.0647 1.0000 0.4776 0.9945 0.0667 1.0000 0.4852 0.9958 0.0688 1.0000 0.4929 0.9969 0.0709 1.0000 0.5006 0.9979 0.0731 1.0000 0.5083 0.9986 0.0753 1.0000 0.5160 0.9992 0.0775 1.0000 0.5238 0.9997 0.0799 1.0000 0.5316 0.9999 0.0822 1.0000 0.5394 1.0000 0.0847 1.0000 0.5473 0.9999 0.0871 1.0000 0.5551 0.9997 0.0897 1.0000 0.5630 0.9992 0.0923 1.0000 0.5709 0.9986 0.0950 1.0000 0.5788 0.9979 0.0977 1.0000 0.5867 0.9969 0.1005 1.0000 0.5946 0.9958 0.1033 1.0000 0.6026 0.9945 0.1062 1.0000 0.6105 0.9931 0.1092 1.0000 0.6184 0.9915 0.1122 1.0000 0.6263 0.9897 0.1153 1.0000 0.6343 0.9878 0.1185 1.0000 0.6422 0.9857 0.1217 1.0000 0.6501 0.9834 0.1250 1.0000 0.6579 0.9810 0.1284 1.0000 0.6658 0.9784 0.1318 1.0000 0.6736 0.9756 0.1353 1.0000 0.6815 0.9727 0.1389 1.0000 0.6892 0.9696 0.1426 1.0000 0.6970 0.9664 0.1463 1.0000 0.7047 0.9630 0.1500 1.0000 0.7124 0.9595 0.1539 1.0000 0.7201 0.9558 0.1578 1.0000 0.7277 0.9520 0.1618 1.0000 0.7352 0.9480 0.1659 1.0000 0.7427 0.9439 0.1701 1.0000 0.7502 0.9396 0.1743 1.0000 0.7576 0.9352 0.1786 1.0000 0.7650 0.9307 0.1829 1.0000 0.7722 0.9260 0.1874 1.0000 0.7795 0.9212 0.1919 1.0000 0.7866 0.9162 0.1965 1.0000 0.7937 0.9112 0.2012 1.0000 0.8007 0.9060 0.2059 1.0000 0.8077 0.9006 0.2107 1.0000 0.8145 0.8952 0.2156 1.0000 0.8213 0.8896 0.2206 1.0000 0.8280 0.8839 0.2257 1.0000 0.8346 0.8781 0.2308 1.0000 0.8411 0.8722 0.2360 1.0000 0.8475 0.8662 0.2413 1.0000 0.8539 0.8601 0.2466 1.0000 0.8601 0.8539 0.2521 1.0000 0.8662 0.8475 0.2576 1.0000 0.8722 0.8411 0.2632 1.0000 0.8781 0.8346 0.2688 1.0000 0.8839 0.8280 0.2746 1.0000 0.8896 0.8213 0.2804 1.0000 0.8952 0.8145 0.2863 1.0000 0.9006 0.8077 0.2922 1.0000 0.9060 0.8007 0.2982 1.0000 0.9112 0.7937 0.3043 1.0000 0.9162 0.7866 0.3105 1.0000 0.9212 0.7795 0.3167 1.0000 0.9260 0.7722 0.3231 1.0000 0.9307 0.7650 0.3294 1.0000 0.9352 0.7576 0.3359 1.0000 0.9396 0.7502 0.3424 1.0000 0.9439 0.7427 0.3490 1.0000 0.9480 0.7352 0.3557 1.0000 0.9520 0.7277 0.3624 1.0000 0.9558 0.7201 0.3692 1.0000 0.9595 0.7124 0.3760 1.0000 0.9630 0.7047 0.3829 1.0000 0.9664 0.6970 0.3899 1.0000 0.9696 0.6892 0.3969 1.0000 0.9727 0.6815 0.4040 1.0000 0.9756 0.6736 0.4111 1.0000 0.9784 0.6658 0.4183 1.0000 0.9810 0.6579 0.4256 1.0000 0.9834 0.6501 0.4328 1.0000 0.9857 0.6422 0.4402 1.0000 0.9878 0.6343 0.4476 1.0000 0.9897 0.6263 0.4550 1.0000 0.9915 0.6184 0.4625 1.0000 0.9931 0.6105 0.4700 1.0000 0.9945 0.6026 0.4776 1.0000 0.9958 0.5946 0.4852 1.0000 0.9969 0.5867 0.4929 1.0000 0.9979 0.5788 0.5006 1.0000 0.9986 0.5709 0.5083 1.0000 0.9992 0.5630 0.5160 1.0000 0.9997 0.5551 0.5238 1.0000 0.9999 0.5473 0.5316 1.0000 1.0000 0.5394 0.5394 1.0000 0.9999 0.5316 0.5473 1.0000 0.9997 0.5238 0.5551 1.0000 0.9992 0.5160 0.5630 1.0000 0.9986 0.5083 0.5709 1.0000 0.9979 0.5006 0.5788 1.0000 0.9969 0.4929 0.5867 1.0000 0.9958 0.4852 0.5946 1.0000 0.9945 0.4776 0.6026 1.0000 0.9931 0.4700 0.6105 1.0000 0.9915 0.4625 0.6184 1.0000 0.9897 0.4550 0.6263 1.0000 0.9878 0.4476 0.6343 1.0000 0.9857 0.4402 0.6422 1.0000 0.9834 0.4328 0.6501 1.0000 0.9810 0.4256 0.6579 1.0000 0.9784 0.4183 0.6658 1.0000 0.9756 0.4111 0.6736 1.0000 0.9727 0.4040 0.6815 1.0000 0.9696 0.3969 0.6892 1.0000 0.9664 0.3899 0.6970 1.0000 0.9630 0.3829 0.7047 1.0000 0.9595 0.3760 0.7124 1.0000 0.9558 0.3692 0.7201 1.0000 0.9520 0.3624 0.7277 1.0000 0.9480 0.3557 0.7352 1.0000 0.9439 0.3490 0.7427 1.0000 0.9396 0.3424 0.7502 1.0000 0.9352 0.3359 0.7576 1.0000 0.9307 0.3294 0.7650 1.0000 0.9260 0.3231 0.7722 1.0000 0.9212 0.3167 0.7795 1.0000 0.9162 0.3105 0.7866 1.0000 0.9112 0.3043 0.7937 1.0000 0.9060 0.2982 0.8007 1.0000 0.9006 0.2922 0.8077 1.0000 0.8952 0.2863 0.8145 1.0000 0.8896 0.2804 0.8213 1.0000 0.8839 0.2746 0.8280 1.0000 0.8781 0.2688 0.8346 1.0000 0.8722 0.2632 0.8411 1.0000 0.8662 0.2576 0.8475 1.0000 0.8601 0.2521 0.8539 1.0000 0.8539 0.2466 0.8601 1.0000 0.8475 0.2413 0.8662 1.0000 0.8411 0.2360 0.8722 1.0000 0.8346 0.2308 0.8781 1.0000 0.8280 0.2257 0.8839 1.0000 0.8213 0.2206 0.8896 1.0000 0.8145 0.2156 0.8952 1.0000 0.8077 0.2107 0.9006 1.0000 0.8007 0.2059 0.9060 1.0000 0.7937 0.2012 0.9112 1.0000 0.7866 0.1965 0.9162 1.0000 0.7795 0.1919 0.9212 1.0000 0.7722 0.1874 0.9260 1.0000 0.7650 0.1829 0.9307 1.0000 0.7576 0.1786 0.9352 1.0000 0.7502 0.1743 0.9396 1.0000 0.7427 0.1701 0.9439 1.0000 0.7352 0.1659 0.9480 1.0000 0.7277 0.1618 0.9520 1.0000 0.7201 0.1578 0.9558 1.0000 0.7124 0.1539 0.9595 1.0000 0.7047 0.1500 0.9630 1.0000 0.6970 0.1463 0.9664 1.0000 0.6892 0.1426 0.9696 1.0000 0.6815 0.1389 0.9727 1.0000 0.6736 0.1353 0.9756 1.0000 0.6658 0.1318 0.9784 1.0000 0.6579 0.1284 0.9810 1.0000 0.6501 0.1250 0.9834 1.0000 0.6422 0.1217 0.9857 1.0000 0.6343 0.1185 0.9878 1.0000 0.6263 0.1153 0.9897 1.0000 0.6184 0.1122 0.9915 1.0000 0.6105 0.1092 0.9931 1.0000 0.6026 0.1062 0.9945 1.0000 0.5946 0.1033 0.9958 1.0000 0.5867 0.1005 0.9969 1.0000 0.5788 0.0977 0.9979 1.0000 0.5709 0.0950 0.9986 1.0000 0.5630 0.0923 0.9992 1.0000 0.5551 0.0897 0.9997 1.0000 0.5473 0.0871 0.9999 1.0000 0.5394 0.0847 1.0000 1.0000 viper-1.0.0/src/viper/data/gauss_108.lut0000644000000000000000000001604611667652155016075 0ustar 00000000000000LOOKUP_TABLE ./luts/gauss_108.lut 256 0.0847 0.0039 1.0000 1.0000 0.0871 0.0040 0.9999 1.0000 0.0897 0.0042 0.9997 1.0000 0.0923 0.0044 0.9992 1.0000 0.0950 0.0046 0.9986 1.0000 0.0977 0.0048 0.9979 1.0000 0.1005 0.0050 0.9969 1.0000 0.1033 0.0052 0.9958 1.0000 0.1062 0.0054 0.9945 1.0000 0.1092 0.0057 0.9931 1.0000 0.1122 0.0059 0.9915 1.0000 0.1153 0.0062 0.9897 1.0000 0.1185 0.0064 0.9878 1.0000 0.1217 0.0067 0.9857 1.0000 0.1250 0.0070 0.9834 1.0000 0.1284 0.0073 0.9810 1.0000 0.1318 0.0076 0.9784 1.0000 0.1353 0.0079 0.9756 1.0000 0.1389 0.0082 0.9727 1.0000 0.1426 0.0086 0.9696 1.0000 0.1463 0.0089 0.9664 1.0000 0.1500 0.0093 0.9630 1.0000 0.1539 0.0097 0.9595 1.0000 0.1578 0.0101 0.9558 1.0000 0.1618 0.0105 0.9520 1.0000 0.1659 0.0109 0.9480 1.0000 0.1701 0.0113 0.9439 1.0000 0.1743 0.0118 0.9396 1.0000 0.1786 0.0122 0.9352 1.0000 0.1829 0.0127 0.9307 1.0000 0.1874 0.0132 0.9260 1.0000 0.1919 0.0137 0.9212 1.0000 0.1965 0.0143 0.9162 1.0000 0.2012 0.0148 0.9112 1.0000 0.2059 0.0154 0.9060 1.0000 0.2107 0.0160 0.9006 1.0000 0.2156 0.0166 0.8952 1.0000 0.2206 0.0172 0.8896 1.0000 0.2257 0.0179 0.8839 1.0000 0.2308 0.0186 0.8781 1.0000 0.2360 0.0193 0.8722 1.0000 0.2413 0.0200 0.8662 1.0000 0.2466 0.0207 0.8601 1.0000 0.2521 0.0215 0.8539 1.0000 0.2576 0.0223 0.8475 1.0000 0.2632 0.0231 0.8411 1.0000 0.2688 0.0239 0.8346 1.0000 0.2746 0.0248 0.8280 1.0000 0.2804 0.0257 0.8213 1.0000 0.2863 0.0266 0.8145 1.0000 0.2922 0.0276 0.8077 1.0000 0.2982 0.0286 0.8007 1.0000 0.3043 0.0296 0.7937 1.0000 0.3105 0.0306 0.7866 1.0000 0.3167 0.0317 0.7795 1.0000 0.3231 0.0328 0.7722 1.0000 0.3294 0.0339 0.7650 1.0000 0.3359 0.0351 0.7576 1.0000 0.3424 0.0363 0.7502 1.0000 0.3490 0.0375 0.7427 1.0000 0.3557 0.0388 0.7352 1.0000 0.3624 0.0401 0.7277 1.0000 0.3692 0.0415 0.7201 1.0000 0.3760 0.0429 0.7124 1.0000 0.3829 0.0443 0.7047 1.0000 0.3899 0.0458 0.6970 1.0000 0.3969 0.0473 0.6892 1.0000 0.4040 0.0488 0.6815 1.0000 0.4111 0.0504 0.6736 1.0000 0.4183 0.0520 0.6658 1.0000 0.4256 0.0537 0.6579 1.0000 0.4328 0.0554 0.6501 1.0000 0.4402 0.0572 0.6422 1.0000 0.4476 0.0590 0.6343 1.0000 0.4550 0.0609 0.6263 1.0000 0.4625 0.0628 0.6184 1.0000 0.4700 0.0647 0.6105 1.0000 0.4776 0.0667 0.6026 1.0000 0.4852 0.0688 0.5946 1.0000 0.4929 0.0709 0.5867 1.0000 0.5006 0.0731 0.5788 1.0000 0.5083 0.0753 0.5709 1.0000 0.5160 0.0775 0.5630 1.0000 0.5238 0.0799 0.5551 1.0000 0.5316 0.0822 0.5473 1.0000 0.5394 0.0847 0.5394 1.0000 0.5473 0.0871 0.5316 1.0000 0.5551 0.0897 0.5238 1.0000 0.5630 0.0923 0.5160 1.0000 0.5709 0.0950 0.5083 1.0000 0.5788 0.0977 0.5006 1.0000 0.5867 0.1005 0.4929 1.0000 0.5946 0.1033 0.4852 1.0000 0.6026 0.1062 0.4776 1.0000 0.6105 0.1092 0.4700 1.0000 0.6184 0.1122 0.4625 1.0000 0.6263 0.1153 0.4550 1.0000 0.6343 0.1185 0.4476 1.0000 0.6422 0.1217 0.4402 1.0000 0.6501 0.1250 0.4328 1.0000 0.6579 0.1284 0.4256 1.0000 0.6658 0.1318 0.4183 1.0000 0.6736 0.1353 0.4111 1.0000 0.6815 0.1389 0.4040 1.0000 0.6892 0.1426 0.3969 1.0000 0.6970 0.1463 0.3899 1.0000 0.7047 0.1500 0.3829 1.0000 0.7124 0.1539 0.3760 1.0000 0.7201 0.1578 0.3692 1.0000 0.7277 0.1618 0.3624 1.0000 0.7352 0.1659 0.3557 1.0000 0.7427 0.1701 0.3490 1.0000 0.7502 0.1743 0.3424 1.0000 0.7576 0.1786 0.3359 1.0000 0.7650 0.1829 0.3294 1.0000 0.7722 0.1874 0.3231 1.0000 0.7795 0.1919 0.3167 1.0000 0.7866 0.1965 0.3105 1.0000 0.7937 0.2012 0.3043 1.0000 0.8007 0.2059 0.2982 1.0000 0.8077 0.2107 0.2922 1.0000 0.8145 0.2156 0.2863 1.0000 0.8213 0.2206 0.2804 1.0000 0.8280 0.2257 0.2746 1.0000 0.8346 0.2308 0.2688 1.0000 0.8411 0.2360 0.2632 1.0000 0.8475 0.2413 0.2576 1.0000 0.8539 0.2466 0.2521 1.0000 0.8601 0.2521 0.2466 1.0000 0.8662 0.2576 0.2413 1.0000 0.8722 0.2632 0.2360 1.0000 0.8781 0.2688 0.2308 1.0000 0.8839 0.2746 0.2257 1.0000 0.8896 0.2804 0.2206 1.0000 0.8952 0.2863 0.2156 1.0000 0.9006 0.2922 0.2107 1.0000 0.9060 0.2982 0.2059 1.0000 0.9112 0.3043 0.2012 1.0000 0.9162 0.3105 0.1965 1.0000 0.9212 0.3167 0.1919 1.0000 0.9260 0.3231 0.1874 1.0000 0.9307 0.3294 0.1829 1.0000 0.9352 0.3359 0.1786 1.0000 0.9396 0.3424 0.1743 1.0000 0.9439 0.3490 0.1701 1.0000 0.9480 0.3557 0.1659 1.0000 0.9520 0.3624 0.1618 1.0000 0.9558 0.3692 0.1578 1.0000 0.9595 0.3760 0.1539 1.0000 0.9630 0.3829 0.1500 1.0000 0.9664 0.3899 0.1463 1.0000 0.9696 0.3969 0.1426 1.0000 0.9727 0.4040 0.1389 1.0000 0.9756 0.4111 0.1353 1.0000 0.9784 0.4183 0.1318 1.0000 0.9810 0.4256 0.1284 1.0000 0.9834 0.4328 0.1250 1.0000 0.9857 0.4402 0.1217 1.0000 0.9878 0.4476 0.1185 1.0000 0.9897 0.4550 0.1153 1.0000 0.9915 0.4625 0.1122 1.0000 0.9931 0.4700 0.1092 1.0000 0.9945 0.4776 0.1062 1.0000 0.9958 0.4852 0.1033 1.0000 0.9969 0.4929 0.1005 1.0000 0.9979 0.5006 0.0977 1.0000 0.9986 0.5083 0.0950 1.0000 0.9992 0.5160 0.0923 1.0000 0.9997 0.5238 0.0897 1.0000 0.9999 0.5316 0.0871 1.0000 1.0000 0.5394 0.0847 1.0000 0.9999 0.5473 0.0822 1.0000 0.9997 0.5551 0.0799 1.0000 0.9992 0.5630 0.0775 1.0000 0.9986 0.5709 0.0753 1.0000 0.9979 0.5788 0.0731 1.0000 0.9969 0.5867 0.0709 1.0000 0.9958 0.5946 0.0688 1.0000 0.9945 0.6026 0.0667 1.0000 0.9931 0.6105 0.0647 1.0000 0.9915 0.6184 0.0628 1.0000 0.9897 0.6263 0.0609 1.0000 0.9878 0.6343 0.0590 1.0000 0.9857 0.6422 0.0572 1.0000 0.9834 0.6501 0.0554 1.0000 0.9810 0.6579 0.0537 1.0000 0.9784 0.6658 0.0520 1.0000 0.9756 0.6736 0.0504 1.0000 0.9727 0.6815 0.0488 1.0000 0.9696 0.6892 0.0473 1.0000 0.9664 0.6970 0.0458 1.0000 0.9630 0.7047 0.0443 1.0000 0.9595 0.7124 0.0429 1.0000 0.9558 0.7201 0.0415 1.0000 0.9520 0.7277 0.0401 1.0000 0.9480 0.7352 0.0388 1.0000 0.9439 0.7427 0.0375 1.0000 0.9396 0.7502 0.0363 1.0000 0.9352 0.7576 0.0351 1.0000 0.9307 0.7650 0.0339 1.0000 0.9260 0.7722 0.0328 1.0000 0.9212 0.7795 0.0317 1.0000 0.9162 0.7866 0.0306 1.0000 0.9112 0.7937 0.0296 1.0000 0.9060 0.8007 0.0286 1.0000 0.9006 0.8077 0.0276 1.0000 0.8952 0.8145 0.0266 1.0000 0.8896 0.8213 0.0257 1.0000 0.8839 0.8280 0.0248 1.0000 0.8781 0.8346 0.0239 1.0000 0.8722 0.8411 0.0231 1.0000 0.8662 0.8475 0.0223 1.0000 0.8601 0.8539 0.0215 1.0000 0.8539 0.8601 0.0207 1.0000 0.8475 0.8662 0.0200 1.0000 0.8411 0.8722 0.0193 1.0000 0.8346 0.8781 0.0186 1.0000 0.8280 0.8839 0.0179 1.0000 0.8213 0.8896 0.0172 1.0000 0.8145 0.8952 0.0166 1.0000 0.8077 0.9006 0.0160 1.0000 0.8007 0.9060 0.0154 1.0000 0.7937 0.9112 0.0148 1.0000 0.7866 0.9162 0.0143 1.0000 0.7795 0.9212 0.0137 1.0000 0.7722 0.9260 0.0132 1.0000 0.7650 0.9307 0.0127 1.0000 0.7576 0.9352 0.0122 1.0000 0.7502 0.9396 0.0118 1.0000 0.7427 0.9439 0.0113 1.0000 0.7352 0.9480 0.0109 1.0000 0.7277 0.9520 0.0105 1.0000 0.7201 0.9558 0.0101 1.0000 0.7124 0.9595 0.0097 1.0000 0.7047 0.9630 0.0093 1.0000 0.6970 0.9664 0.0089 1.0000 0.6892 0.9696 0.0086 1.0000 0.6815 0.9727 0.0082 1.0000 0.6736 0.9756 0.0079 1.0000 0.6658 0.9784 0.0076 1.0000 0.6579 0.9810 0.0073 1.0000 0.6501 0.9834 0.0070 1.0000 0.6422 0.9857 0.0067 1.0000 0.6343 0.9878 0.0064 1.0000 0.6263 0.9897 0.0062 1.0000 0.6184 0.9915 0.0059 1.0000 0.6105 0.9931 0.0057 1.0000 0.6026 0.9945 0.0054 1.0000 0.5946 0.9958 0.0052 1.0000 0.5867 0.9969 0.0050 1.0000 0.5788 0.9979 0.0048 1.0000 0.5709 0.9986 0.0046 1.0000 0.5630 0.9992 0.0044 1.0000 0.5551 0.9997 0.0042 1.0000 0.5473 0.9999 0.0040 1.0000 0.5394 1.0000 0.0039 1.0000 viper-1.0.0/src/viper/data/gauss_109.lut0000644000000000000000000001604611667652155016076 0ustar 00000000000000LOOKUP_TABLE ./luts/gauss_109.lut 256 0.0847 0.0039 0.5394 1.0000 0.0871 0.0040 0.5473 1.0000 0.0897 0.0042 0.5551 1.0000 0.0923 0.0044 0.5630 1.0000 0.0950 0.0046 0.5709 1.0000 0.0977 0.0048 0.5788 1.0000 0.1005 0.0050 0.5867 1.0000 0.1033 0.0052 0.5946 1.0000 0.1062 0.0054 0.6026 1.0000 0.1092 0.0057 0.6105 1.0000 0.1122 0.0059 0.6184 1.0000 0.1153 0.0062 0.6263 1.0000 0.1185 0.0064 0.6343 1.0000 0.1217 0.0067 0.6422 1.0000 0.1250 0.0070 0.6501 1.0000 0.1284 0.0073 0.6579 1.0000 0.1318 0.0076 0.6658 1.0000 0.1353 0.0079 0.6736 1.0000 0.1389 0.0082 0.6815 1.0000 0.1426 0.0086 0.6892 1.0000 0.1463 0.0089 0.6970 1.0000 0.1500 0.0093 0.7047 1.0000 0.1539 0.0097 0.7124 1.0000 0.1578 0.0101 0.7201 1.0000 0.1618 0.0105 0.7277 1.0000 0.1659 0.0109 0.7352 1.0000 0.1701 0.0113 0.7427 1.0000 0.1743 0.0118 0.7502 1.0000 0.1786 0.0122 0.7576 1.0000 0.1829 0.0127 0.7650 1.0000 0.1874 0.0132 0.7722 1.0000 0.1919 0.0137 0.7795 1.0000 0.1965 0.0143 0.7866 1.0000 0.2012 0.0148 0.7937 1.0000 0.2059 0.0154 0.8007 1.0000 0.2107 0.0160 0.8077 1.0000 0.2156 0.0166 0.8145 1.0000 0.2206 0.0172 0.8213 1.0000 0.2257 0.0179 0.8280 1.0000 0.2308 0.0186 0.8346 1.0000 0.2360 0.0193 0.8411 1.0000 0.2413 0.0200 0.8475 1.0000 0.2466 0.0207 0.8539 1.0000 0.2521 0.0215 0.8601 1.0000 0.2576 0.0223 0.8662 1.0000 0.2632 0.0231 0.8722 1.0000 0.2688 0.0239 0.8781 1.0000 0.2746 0.0248 0.8839 1.0000 0.2804 0.0257 0.8896 1.0000 0.2863 0.0266 0.8952 1.0000 0.2922 0.0276 0.9006 1.0000 0.2982 0.0286 0.9060 1.0000 0.3043 0.0296 0.9112 1.0000 0.3105 0.0306 0.9162 1.0000 0.3167 0.0317 0.9212 1.0000 0.3231 0.0328 0.9260 1.0000 0.3294 0.0339 0.9307 1.0000 0.3359 0.0351 0.9352 1.0000 0.3424 0.0363 0.9396 1.0000 0.3490 0.0375 0.9439 1.0000 0.3557 0.0388 0.9480 1.0000 0.3624 0.0401 0.9520 1.0000 0.3692 0.0415 0.9558 1.0000 0.3760 0.0429 0.9595 1.0000 0.3829 0.0443 0.9630 1.0000 0.3899 0.0458 0.9664 1.0000 0.3969 0.0473 0.9696 1.0000 0.4040 0.0488 0.9727 1.0000 0.4111 0.0504 0.9756 1.0000 0.4183 0.0520 0.9784 1.0000 0.4256 0.0537 0.9810 1.0000 0.4328 0.0554 0.9834 1.0000 0.4402 0.0572 0.9857 1.0000 0.4476 0.0590 0.9878 1.0000 0.4550 0.0609 0.9897 1.0000 0.4625 0.0628 0.9915 1.0000 0.4700 0.0647 0.9931 1.0000 0.4776 0.0667 0.9945 1.0000 0.4852 0.0688 0.9958 1.0000 0.4929 0.0709 0.9969 1.0000 0.5006 0.0731 0.9979 1.0000 0.5083 0.0753 0.9986 1.0000 0.5160 0.0775 0.9992 1.0000 0.5238 0.0799 0.9997 1.0000 0.5316 0.0822 0.9999 1.0000 0.5394 0.0847 1.0000 1.0000 0.5473 0.0871 0.9999 1.0000 0.5551 0.0897 0.9997 1.0000 0.5630 0.0923 0.9992 1.0000 0.5709 0.0950 0.9986 1.0000 0.5788 0.0977 0.9979 1.0000 0.5867 0.1005 0.9969 1.0000 0.5946 0.1033 0.9958 1.0000 0.6026 0.1062 0.9945 1.0000 0.6105 0.1092 0.9931 1.0000 0.6184 0.1122 0.9915 1.0000 0.6263 0.1153 0.9897 1.0000 0.6343 0.1185 0.9878 1.0000 0.6422 0.1217 0.9857 1.0000 0.6501 0.1250 0.9834 1.0000 0.6579 0.1284 0.9810 1.0000 0.6658 0.1318 0.9784 1.0000 0.6736 0.1353 0.9756 1.0000 0.6815 0.1389 0.9727 1.0000 0.6892 0.1426 0.9696 1.0000 0.6970 0.1463 0.9664 1.0000 0.7047 0.1500 0.9630 1.0000 0.7124 0.1539 0.9595 1.0000 0.7201 0.1578 0.9558 1.0000 0.7277 0.1618 0.9520 1.0000 0.7352 0.1659 0.9480 1.0000 0.7427 0.1701 0.9439 1.0000 0.7502 0.1743 0.9396 1.0000 0.7576 0.1786 0.9352 1.0000 0.7650 0.1829 0.9307 1.0000 0.7722 0.1874 0.9260 1.0000 0.7795 0.1919 0.9212 1.0000 0.7866 0.1965 0.9162 1.0000 0.7937 0.2012 0.9112 1.0000 0.8007 0.2059 0.9060 1.0000 0.8077 0.2107 0.9006 1.0000 0.8145 0.2156 0.8952 1.0000 0.8213 0.2206 0.8896 1.0000 0.8280 0.2257 0.8839 1.0000 0.8346 0.2308 0.8781 1.0000 0.8411 0.2360 0.8722 1.0000 0.8475 0.2413 0.8662 1.0000 0.8539 0.2466 0.8601 1.0000 0.8601 0.2521 0.8539 1.0000 0.8662 0.2576 0.8475 1.0000 0.8722 0.2632 0.8411 1.0000 0.8781 0.2688 0.8346 1.0000 0.8839 0.2746 0.8280 1.0000 0.8896 0.2804 0.8213 1.0000 0.8952 0.2863 0.8145 1.0000 0.9006 0.2922 0.8077 1.0000 0.9060 0.2982 0.8007 1.0000 0.9112 0.3043 0.7937 1.0000 0.9162 0.3105 0.7866 1.0000 0.9212 0.3167 0.7795 1.0000 0.9260 0.3231 0.7722 1.0000 0.9307 0.3294 0.7650 1.0000 0.9352 0.3359 0.7576 1.0000 0.9396 0.3424 0.7502 1.0000 0.9439 0.3490 0.7427 1.0000 0.9480 0.3557 0.7352 1.0000 0.9520 0.3624 0.7277 1.0000 0.9558 0.3692 0.7201 1.0000 0.9595 0.3760 0.7124 1.0000 0.9630 0.3829 0.7047 1.0000 0.9664 0.3899 0.6970 1.0000 0.9696 0.3969 0.6892 1.0000 0.9727 0.4040 0.6815 1.0000 0.9756 0.4111 0.6736 1.0000 0.9784 0.4183 0.6658 1.0000 0.9810 0.4256 0.6579 1.0000 0.9834 0.4328 0.6501 1.0000 0.9857 0.4402 0.6422 1.0000 0.9878 0.4476 0.6343 1.0000 0.9897 0.4550 0.6263 1.0000 0.9915 0.4625 0.6184 1.0000 0.9931 0.4700 0.6105 1.0000 0.9945 0.4776 0.6026 1.0000 0.9958 0.4852 0.5946 1.0000 0.9969 0.4929 0.5867 1.0000 0.9979 0.5006 0.5788 1.0000 0.9986 0.5083 0.5709 1.0000 0.9992 0.5160 0.5630 1.0000 0.9997 0.5238 0.5551 1.0000 0.9999 0.5316 0.5473 1.0000 1.0000 0.5394 0.5394 1.0000 0.9999 0.5473 0.5316 1.0000 0.9997 0.5551 0.5238 1.0000 0.9992 0.5630 0.5160 1.0000 0.9986 0.5709 0.5083 1.0000 0.9979 0.5788 0.5006 1.0000 0.9969 0.5867 0.4929 1.0000 0.9958 0.5946 0.4852 1.0000 0.9945 0.6026 0.4776 1.0000 0.9931 0.6105 0.4700 1.0000 0.9915 0.6184 0.4625 1.0000 0.9897 0.6263 0.4550 1.0000 0.9878 0.6343 0.4476 1.0000 0.9857 0.6422 0.4402 1.0000 0.9834 0.6501 0.4328 1.0000 0.9810 0.6579 0.4256 1.0000 0.9784 0.6658 0.4183 1.0000 0.9756 0.6736 0.4111 1.0000 0.9727 0.6815 0.4040 1.0000 0.9696 0.6892 0.3969 1.0000 0.9664 0.6970 0.3899 1.0000 0.9630 0.7047 0.3829 1.0000 0.9595 0.7124 0.3760 1.0000 0.9558 0.7201 0.3692 1.0000 0.9520 0.7277 0.3624 1.0000 0.9480 0.7352 0.3557 1.0000 0.9439 0.7427 0.3490 1.0000 0.9396 0.7502 0.3424 1.0000 0.9352 0.7576 0.3359 1.0000 0.9307 0.7650 0.3294 1.0000 0.9260 0.7722 0.3231 1.0000 0.9212 0.7795 0.3167 1.0000 0.9162 0.7866 0.3105 1.0000 0.9112 0.7937 0.3043 1.0000 0.9060 0.8007 0.2982 1.0000 0.9006 0.8077 0.2922 1.0000 0.8952 0.8145 0.2863 1.0000 0.8896 0.8213 0.2804 1.0000 0.8839 0.8280 0.2746 1.0000 0.8781 0.8346 0.2688 1.0000 0.8722 0.8411 0.2632 1.0000 0.8662 0.8475 0.2576 1.0000 0.8601 0.8539 0.2521 1.0000 0.8539 0.8601 0.2466 1.0000 0.8475 0.8662 0.2413 1.0000 0.8411 0.8722 0.2360 1.0000 0.8346 0.8781 0.2308 1.0000 0.8280 0.8839 0.2257 1.0000 0.8213 0.8896 0.2206 1.0000 0.8145 0.8952 0.2156 1.0000 0.8077 0.9006 0.2107 1.0000 0.8007 0.9060 0.2059 1.0000 0.7937 0.9112 0.2012 1.0000 0.7866 0.9162 0.1965 1.0000 0.7795 0.9212 0.1919 1.0000 0.7722 0.9260 0.1874 1.0000 0.7650 0.9307 0.1829 1.0000 0.7576 0.9352 0.1786 1.0000 0.7502 0.9396 0.1743 1.0000 0.7427 0.9439 0.1701 1.0000 0.7352 0.9480 0.1659 1.0000 0.7277 0.9520 0.1618 1.0000 0.7201 0.9558 0.1578 1.0000 0.7124 0.9595 0.1539 1.0000 0.7047 0.9630 0.1500 1.0000 0.6970 0.9664 0.1463 1.0000 0.6892 0.9696 0.1426 1.0000 0.6815 0.9727 0.1389 1.0000 0.6736 0.9756 0.1353 1.0000 0.6658 0.9784 0.1318 1.0000 0.6579 0.9810 0.1284 1.0000 0.6501 0.9834 0.1250 1.0000 0.6422 0.9857 0.1217 1.0000 0.6343 0.9878 0.1185 1.0000 0.6263 0.9897 0.1153 1.0000 0.6184 0.9915 0.1122 1.0000 0.6105 0.9931 0.1092 1.0000 0.6026 0.9945 0.1062 1.0000 0.5946 0.9958 0.1033 1.0000 0.5867 0.9969 0.1005 1.0000 0.5788 0.9979 0.0977 1.0000 0.5709 0.9986 0.0950 1.0000 0.5630 0.9992 0.0923 1.0000 0.5551 0.9997 0.0897 1.0000 0.5473 0.9999 0.0871 1.0000 0.5394 1.0000 0.0847 1.0000 viper-1.0.0/src/viper/data/gauss_113.lut0000644000000000000000000001604611667652155016071 0ustar 00000000000000LOOKUP_TABLE ./luts/gauss_113.lut 256 0.0039 1.0000 0.5394 1.0000 0.0040 0.9999 0.5473 1.0000 0.0042 0.9997 0.5551 1.0000 0.0044 0.9992 0.5630 1.0000 0.0046 0.9986 0.5709 1.0000 0.0048 0.9979 0.5788 1.0000 0.0050 0.9969 0.5867 1.0000 0.0052 0.9958 0.5946 1.0000 0.0054 0.9945 0.6026 1.0000 0.0057 0.9931 0.6105 1.0000 0.0059 0.9915 0.6184 1.0000 0.0062 0.9897 0.6263 1.0000 0.0064 0.9878 0.6343 1.0000 0.0067 0.9857 0.6422 1.0000 0.0070 0.9834 0.6501 1.0000 0.0073 0.9810 0.6579 1.0000 0.0076 0.9784 0.6658 1.0000 0.0079 0.9756 0.6736 1.0000 0.0082 0.9727 0.6815 1.0000 0.0086 0.9696 0.6892 1.0000 0.0089 0.9664 0.6970 1.0000 0.0093 0.9630 0.7047 1.0000 0.0097 0.9595 0.7124 1.0000 0.0101 0.9558 0.7201 1.0000 0.0105 0.9520 0.7277 1.0000 0.0109 0.9480 0.7352 1.0000 0.0113 0.9439 0.7427 1.0000 0.0118 0.9396 0.7502 1.0000 0.0122 0.9352 0.7576 1.0000 0.0127 0.9307 0.7650 1.0000 0.0132 0.9260 0.7722 1.0000 0.0137 0.9212 0.7795 1.0000 0.0143 0.9162 0.7866 1.0000 0.0148 0.9112 0.7937 1.0000 0.0154 0.9060 0.8007 1.0000 0.0160 0.9006 0.8077 1.0000 0.0166 0.8952 0.8145 1.0000 0.0172 0.8896 0.8213 1.0000 0.0179 0.8839 0.8280 1.0000 0.0186 0.8781 0.8346 1.0000 0.0193 0.8722 0.8411 1.0000 0.0200 0.8662 0.8475 1.0000 0.0207 0.8601 0.8539 1.0000 0.0215 0.8539 0.8601 1.0000 0.0223 0.8475 0.8662 1.0000 0.0231 0.8411 0.8722 1.0000 0.0239 0.8346 0.8781 1.0000 0.0248 0.8280 0.8839 1.0000 0.0257 0.8213 0.8896 1.0000 0.0266 0.8145 0.8952 1.0000 0.0276 0.8077 0.9006 1.0000 0.0286 0.8007 0.9060 1.0000 0.0296 0.7937 0.9112 1.0000 0.0306 0.7866 0.9162 1.0000 0.0317 0.7795 0.9212 1.0000 0.0328 0.7722 0.9260 1.0000 0.0339 0.7650 0.9307 1.0000 0.0351 0.7576 0.9352 1.0000 0.0363 0.7502 0.9396 1.0000 0.0375 0.7427 0.9439 1.0000 0.0388 0.7352 0.9480 1.0000 0.0401 0.7277 0.9520 1.0000 0.0415 0.7201 0.9558 1.0000 0.0429 0.7124 0.9595 1.0000 0.0443 0.7047 0.9630 1.0000 0.0458 0.6970 0.9664 1.0000 0.0473 0.6892 0.9696 1.0000 0.0488 0.6815 0.9727 1.0000 0.0504 0.6736 0.9756 1.0000 0.0520 0.6658 0.9784 1.0000 0.0537 0.6579 0.9810 1.0000 0.0554 0.6501 0.9834 1.0000 0.0572 0.6422 0.9857 1.0000 0.0590 0.6343 0.9878 1.0000 0.0609 0.6263 0.9897 1.0000 0.0628 0.6184 0.9915 1.0000 0.0647 0.6105 0.9931 1.0000 0.0667 0.6026 0.9945 1.0000 0.0688 0.5946 0.9958 1.0000 0.0709 0.5867 0.9969 1.0000 0.0731 0.5788 0.9979 1.0000 0.0753 0.5709 0.9986 1.0000 0.0775 0.5630 0.9992 1.0000 0.0799 0.5551 0.9997 1.0000 0.0822 0.5473 0.9999 1.0000 0.0847 0.5394 1.0000 1.0000 0.0871 0.5316 0.9999 1.0000 0.0897 0.5238 0.9997 1.0000 0.0923 0.5160 0.9992 1.0000 0.0950 0.5083 0.9986 1.0000 0.0977 0.5006 0.9979 1.0000 0.1005 0.4929 0.9969 1.0000 0.1033 0.4852 0.9958 1.0000 0.1062 0.4776 0.9945 1.0000 0.1092 0.4700 0.9931 1.0000 0.1122 0.4625 0.9915 1.0000 0.1153 0.4550 0.9897 1.0000 0.1185 0.4476 0.9878 1.0000 0.1217 0.4402 0.9857 1.0000 0.1250 0.4328 0.9834 1.0000 0.1284 0.4256 0.9810 1.0000 0.1318 0.4183 0.9784 1.0000 0.1353 0.4111 0.9756 1.0000 0.1389 0.4040 0.9727 1.0000 0.1426 0.3969 0.9696 1.0000 0.1463 0.3899 0.9664 1.0000 0.1500 0.3829 0.9630 1.0000 0.1539 0.3760 0.9595 1.0000 0.1578 0.3692 0.9558 1.0000 0.1618 0.3624 0.9520 1.0000 0.1659 0.3557 0.9480 1.0000 0.1701 0.3490 0.9439 1.0000 0.1743 0.3424 0.9396 1.0000 0.1786 0.3359 0.9352 1.0000 0.1829 0.3294 0.9307 1.0000 0.1874 0.3231 0.9260 1.0000 0.1919 0.3167 0.9212 1.0000 0.1965 0.3105 0.9162 1.0000 0.2012 0.3043 0.9112 1.0000 0.2059 0.2982 0.9060 1.0000 0.2107 0.2922 0.9006 1.0000 0.2156 0.2863 0.8952 1.0000 0.2206 0.2804 0.8896 1.0000 0.2257 0.2746 0.8839 1.0000 0.2308 0.2688 0.8781 1.0000 0.2360 0.2632 0.8722 1.0000 0.2413 0.2576 0.8662 1.0000 0.2466 0.2521 0.8601 1.0000 0.2521 0.2466 0.8539 1.0000 0.2576 0.2413 0.8475 1.0000 0.2632 0.2360 0.8411 1.0000 0.2688 0.2308 0.8346 1.0000 0.2746 0.2257 0.8280 1.0000 0.2804 0.2206 0.8213 1.0000 0.2863 0.2156 0.8145 1.0000 0.2922 0.2107 0.8077 1.0000 0.2982 0.2059 0.8007 1.0000 0.3043 0.2012 0.7937 1.0000 0.3105 0.1965 0.7866 1.0000 0.3167 0.1919 0.7795 1.0000 0.3231 0.1874 0.7722 1.0000 0.3294 0.1829 0.7650 1.0000 0.3359 0.1786 0.7576 1.0000 0.3424 0.1743 0.7502 1.0000 0.3490 0.1701 0.7427 1.0000 0.3557 0.1659 0.7352 1.0000 0.3624 0.1618 0.7277 1.0000 0.3692 0.1578 0.7201 1.0000 0.3760 0.1539 0.7124 1.0000 0.3829 0.1500 0.7047 1.0000 0.3899 0.1463 0.6970 1.0000 0.3969 0.1426 0.6892 1.0000 0.4040 0.1389 0.6815 1.0000 0.4111 0.1353 0.6736 1.0000 0.4183 0.1318 0.6658 1.0000 0.4256 0.1284 0.6579 1.0000 0.4328 0.1250 0.6501 1.0000 0.4402 0.1217 0.6422 1.0000 0.4476 0.1185 0.6343 1.0000 0.4550 0.1153 0.6263 1.0000 0.4625 0.1122 0.6184 1.0000 0.4700 0.1092 0.6105 1.0000 0.4776 0.1062 0.6026 1.0000 0.4852 0.1033 0.5946 1.0000 0.4929 0.1005 0.5867 1.0000 0.5006 0.0977 0.5788 1.0000 0.5083 0.0950 0.5709 1.0000 0.5160 0.0923 0.5630 1.0000 0.5238 0.0897 0.5551 1.0000 0.5316 0.0871 0.5473 1.0000 0.5394 0.0847 0.5394 1.0000 0.5473 0.0822 0.5316 1.0000 0.5551 0.0799 0.5238 1.0000 0.5630 0.0775 0.5160 1.0000 0.5709 0.0753 0.5083 1.0000 0.5788 0.0731 0.5006 1.0000 0.5867 0.0709 0.4929 1.0000 0.5946 0.0688 0.4852 1.0000 0.6026 0.0667 0.4776 1.0000 0.6105 0.0647 0.4700 1.0000 0.6184 0.0628 0.4625 1.0000 0.6263 0.0609 0.4550 1.0000 0.6343 0.0590 0.4476 1.0000 0.6422 0.0572 0.4402 1.0000 0.6501 0.0554 0.4328 1.0000 0.6579 0.0537 0.4256 1.0000 0.6658 0.0520 0.4183 1.0000 0.6736 0.0504 0.4111 1.0000 0.6815 0.0488 0.4040 1.0000 0.6892 0.0473 0.3969 1.0000 0.6970 0.0458 0.3899 1.0000 0.7047 0.0443 0.3829 1.0000 0.7124 0.0429 0.3760 1.0000 0.7201 0.0415 0.3692 1.0000 0.7277 0.0401 0.3624 1.0000 0.7352 0.0388 0.3557 1.0000 0.7427 0.0375 0.3490 1.0000 0.7502 0.0363 0.3424 1.0000 0.7576 0.0351 0.3359 1.0000 0.7650 0.0339 0.3294 1.0000 0.7722 0.0328 0.3231 1.0000 0.7795 0.0317 0.3167 1.0000 0.7866 0.0306 0.3105 1.0000 0.7937 0.0296 0.3043 1.0000 0.8007 0.0286 0.2982 1.0000 0.8077 0.0276 0.2922 1.0000 0.8145 0.0266 0.2863 1.0000 0.8213 0.0257 0.2804 1.0000 0.8280 0.0248 0.2746 1.0000 0.8346 0.0239 0.2688 1.0000 0.8411 0.0231 0.2632 1.0000 0.8475 0.0223 0.2576 1.0000 0.8539 0.0215 0.2521 1.0000 0.8601 0.0207 0.2466 1.0000 0.8662 0.0200 0.2413 1.0000 0.8722 0.0193 0.2360 1.0000 0.8781 0.0186 0.2308 1.0000 0.8839 0.0179 0.2257 1.0000 0.8896 0.0172 0.2206 1.0000 0.8952 0.0166 0.2156 1.0000 0.9006 0.0160 0.2107 1.0000 0.9060 0.0154 0.2059 1.0000 0.9112 0.0148 0.2012 1.0000 0.9162 0.0143 0.1965 1.0000 0.9212 0.0137 0.1919 1.0000 0.9260 0.0132 0.1874 1.0000 0.9307 0.0127 0.1829 1.0000 0.9352 0.0122 0.1786 1.0000 0.9396 0.0118 0.1743 1.0000 0.9439 0.0113 0.1701 1.0000 0.9480 0.0109 0.1659 1.0000 0.9520 0.0105 0.1618 1.0000 0.9558 0.0101 0.1578 1.0000 0.9595 0.0097 0.1539 1.0000 0.9630 0.0093 0.1500 1.0000 0.9664 0.0089 0.1463 1.0000 0.9696 0.0086 0.1426 1.0000 0.9727 0.0082 0.1389 1.0000 0.9756 0.0079 0.1353 1.0000 0.9784 0.0076 0.1318 1.0000 0.9810 0.0073 0.1284 1.0000 0.9834 0.0070 0.1250 1.0000 0.9857 0.0067 0.1217 1.0000 0.9878 0.0064 0.1185 1.0000 0.9897 0.0062 0.1153 1.0000 0.9915 0.0059 0.1122 1.0000 0.9931 0.0057 0.1092 1.0000 0.9945 0.0054 0.1062 1.0000 0.9958 0.0052 0.1033 1.0000 0.9969 0.0050 0.1005 1.0000 0.9979 0.0048 0.0977 1.0000 0.9986 0.0046 0.0950 1.0000 0.9992 0.0044 0.0923 1.0000 0.9997 0.0042 0.0897 1.0000 0.9999 0.0040 0.0871 1.0000 1.0000 0.0039 0.0847 1.0000 viper-1.0.0/src/viper/data/gauss_114.lut0000644000000000000000000001604611667652155016072 0ustar 00000000000000LOOKUP_TABLE ./luts/gauss_114.lut 256 0.0039 1.0000 0.0847 1.0000 0.0040 0.9999 0.0871 1.0000 0.0042 0.9997 0.0897 1.0000 0.0044 0.9992 0.0923 1.0000 0.0046 0.9986 0.0950 1.0000 0.0048 0.9979 0.0977 1.0000 0.0050 0.9969 0.1005 1.0000 0.0052 0.9958 0.1033 1.0000 0.0054 0.9945 0.1062 1.0000 0.0057 0.9931 0.1092 1.0000 0.0059 0.9915 0.1122 1.0000 0.0062 0.9897 0.1153 1.0000 0.0064 0.9878 0.1185 1.0000 0.0067 0.9857 0.1217 1.0000 0.0070 0.9834 0.1250 1.0000 0.0073 0.9810 0.1284 1.0000 0.0076 0.9784 0.1318 1.0000 0.0079 0.9756 0.1353 1.0000 0.0082 0.9727 0.1389 1.0000 0.0086 0.9696 0.1426 1.0000 0.0089 0.9664 0.1463 1.0000 0.0093 0.9630 0.1500 1.0000 0.0097 0.9595 0.1539 1.0000 0.0101 0.9558 0.1578 1.0000 0.0105 0.9520 0.1618 1.0000 0.0109 0.9480 0.1659 1.0000 0.0113 0.9439 0.1701 1.0000 0.0118 0.9396 0.1743 1.0000 0.0122 0.9352 0.1786 1.0000 0.0127 0.9307 0.1829 1.0000 0.0132 0.9260 0.1874 1.0000 0.0137 0.9212 0.1919 1.0000 0.0143 0.9162 0.1965 1.0000 0.0148 0.9112 0.2012 1.0000 0.0154 0.9060 0.2059 1.0000 0.0160 0.9006 0.2107 1.0000 0.0166 0.8952 0.2156 1.0000 0.0172 0.8896 0.2206 1.0000 0.0179 0.8839 0.2257 1.0000 0.0186 0.8781 0.2308 1.0000 0.0193 0.8722 0.2360 1.0000 0.0200 0.8662 0.2413 1.0000 0.0207 0.8601 0.2466 1.0000 0.0215 0.8539 0.2521 1.0000 0.0223 0.8475 0.2576 1.0000 0.0231 0.8411 0.2632 1.0000 0.0239 0.8346 0.2688 1.0000 0.0248 0.8280 0.2746 1.0000 0.0257 0.8213 0.2804 1.0000 0.0266 0.8145 0.2863 1.0000 0.0276 0.8077 0.2922 1.0000 0.0286 0.8007 0.2982 1.0000 0.0296 0.7937 0.3043 1.0000 0.0306 0.7866 0.3105 1.0000 0.0317 0.7795 0.3167 1.0000 0.0328 0.7722 0.3231 1.0000 0.0339 0.7650 0.3294 1.0000 0.0351 0.7576 0.3359 1.0000 0.0363 0.7502 0.3424 1.0000 0.0375 0.7427 0.3490 1.0000 0.0388 0.7352 0.3557 1.0000 0.0401 0.7277 0.3624 1.0000 0.0415 0.7201 0.3692 1.0000 0.0429 0.7124 0.3760 1.0000 0.0443 0.7047 0.3829 1.0000 0.0458 0.6970 0.3899 1.0000 0.0473 0.6892 0.3969 1.0000 0.0488 0.6815 0.4040 1.0000 0.0504 0.6736 0.4111 1.0000 0.0520 0.6658 0.4183 1.0000 0.0537 0.6579 0.4256 1.0000 0.0554 0.6501 0.4328 1.0000 0.0572 0.6422 0.4402 1.0000 0.0590 0.6343 0.4476 1.0000 0.0609 0.6263 0.4550 1.0000 0.0628 0.6184 0.4625 1.0000 0.0647 0.6105 0.4700 1.0000 0.0667 0.6026 0.4776 1.0000 0.0688 0.5946 0.4852 1.0000 0.0709 0.5867 0.4929 1.0000 0.0731 0.5788 0.5006 1.0000 0.0753 0.5709 0.5083 1.0000 0.0775 0.5630 0.5160 1.0000 0.0799 0.5551 0.5238 1.0000 0.0822 0.5473 0.5316 1.0000 0.0847 0.5394 0.5394 1.0000 0.0871 0.5316 0.5473 1.0000 0.0897 0.5238 0.5551 1.0000 0.0923 0.5160 0.5630 1.0000 0.0950 0.5083 0.5709 1.0000 0.0977 0.5006 0.5788 1.0000 0.1005 0.4929 0.5867 1.0000 0.1033 0.4852 0.5946 1.0000 0.1062 0.4776 0.6026 1.0000 0.1092 0.4700 0.6105 1.0000 0.1122 0.4625 0.6184 1.0000 0.1153 0.4550 0.6263 1.0000 0.1185 0.4476 0.6343 1.0000 0.1217 0.4402 0.6422 1.0000 0.1250 0.4328 0.6501 1.0000 0.1284 0.4256 0.6579 1.0000 0.1318 0.4183 0.6658 1.0000 0.1353 0.4111 0.6736 1.0000 0.1389 0.4040 0.6815 1.0000 0.1426 0.3969 0.6892 1.0000 0.1463 0.3899 0.6970 1.0000 0.1500 0.3829 0.7047 1.0000 0.1539 0.3760 0.7124 1.0000 0.1578 0.3692 0.7201 1.0000 0.1618 0.3624 0.7277 1.0000 0.1659 0.3557 0.7352 1.0000 0.1701 0.3490 0.7427 1.0000 0.1743 0.3424 0.7502 1.0000 0.1786 0.3359 0.7576 1.0000 0.1829 0.3294 0.7650 1.0000 0.1874 0.3231 0.7722 1.0000 0.1919 0.3167 0.7795 1.0000 0.1965 0.3105 0.7866 1.0000 0.2012 0.3043 0.7937 1.0000 0.2059 0.2982 0.8007 1.0000 0.2107 0.2922 0.8077 1.0000 0.2156 0.2863 0.8145 1.0000 0.2206 0.2804 0.8213 1.0000 0.2257 0.2746 0.8280 1.0000 0.2308 0.2688 0.8346 1.0000 0.2360 0.2632 0.8411 1.0000 0.2413 0.2576 0.8475 1.0000 0.2466 0.2521 0.8539 1.0000 0.2521 0.2466 0.8601 1.0000 0.2576 0.2413 0.8662 1.0000 0.2632 0.2360 0.8722 1.0000 0.2688 0.2308 0.8781 1.0000 0.2746 0.2257 0.8839 1.0000 0.2804 0.2206 0.8896 1.0000 0.2863 0.2156 0.8952 1.0000 0.2922 0.2107 0.9006 1.0000 0.2982 0.2059 0.9060 1.0000 0.3043 0.2012 0.9112 1.0000 0.3105 0.1965 0.9162 1.0000 0.3167 0.1919 0.9212 1.0000 0.3231 0.1874 0.9260 1.0000 0.3294 0.1829 0.9307 1.0000 0.3359 0.1786 0.9352 1.0000 0.3424 0.1743 0.9396 1.0000 0.3490 0.1701 0.9439 1.0000 0.3557 0.1659 0.9480 1.0000 0.3624 0.1618 0.9520 1.0000 0.3692 0.1578 0.9558 1.0000 0.3760 0.1539 0.9595 1.0000 0.3829 0.1500 0.9630 1.0000 0.3899 0.1463 0.9664 1.0000 0.3969 0.1426 0.9696 1.0000 0.4040 0.1389 0.9727 1.0000 0.4111 0.1353 0.9756 1.0000 0.4183 0.1318 0.9784 1.0000 0.4256 0.1284 0.9810 1.0000 0.4328 0.1250 0.9834 1.0000 0.4402 0.1217 0.9857 1.0000 0.4476 0.1185 0.9878 1.0000 0.4550 0.1153 0.9897 1.0000 0.4625 0.1122 0.9915 1.0000 0.4700 0.1092 0.9931 1.0000 0.4776 0.1062 0.9945 1.0000 0.4852 0.1033 0.9958 1.0000 0.4929 0.1005 0.9969 1.0000 0.5006 0.0977 0.9979 1.0000 0.5083 0.0950 0.9986 1.0000 0.5160 0.0923 0.9992 1.0000 0.5238 0.0897 0.9997 1.0000 0.5316 0.0871 0.9999 1.0000 0.5394 0.0847 1.0000 1.0000 0.5473 0.0822 0.9999 1.0000 0.5551 0.0799 0.9997 1.0000 0.5630 0.0775 0.9992 1.0000 0.5709 0.0753 0.9986 1.0000 0.5788 0.0731 0.9979 1.0000 0.5867 0.0709 0.9969 1.0000 0.5946 0.0688 0.9958 1.0000 0.6026 0.0667 0.9945 1.0000 0.6105 0.0647 0.9931 1.0000 0.6184 0.0628 0.9915 1.0000 0.6263 0.0609 0.9897 1.0000 0.6343 0.0590 0.9878 1.0000 0.6422 0.0572 0.9857 1.0000 0.6501 0.0554 0.9834 1.0000 0.6579 0.0537 0.9810 1.0000 0.6658 0.0520 0.9784 1.0000 0.6736 0.0504 0.9756 1.0000 0.6815 0.0488 0.9727 1.0000 0.6892 0.0473 0.9696 1.0000 0.6970 0.0458 0.9664 1.0000 0.7047 0.0443 0.9630 1.0000 0.7124 0.0429 0.9595 1.0000 0.7201 0.0415 0.9558 1.0000 0.7277 0.0401 0.9520 1.0000 0.7352 0.0388 0.9480 1.0000 0.7427 0.0375 0.9439 1.0000 0.7502 0.0363 0.9396 1.0000 0.7576 0.0351 0.9352 1.0000 0.7650 0.0339 0.9307 1.0000 0.7722 0.0328 0.9260 1.0000 0.7795 0.0317 0.9212 1.0000 0.7866 0.0306 0.9162 1.0000 0.7937 0.0296 0.9112 1.0000 0.8007 0.0286 0.9060 1.0000 0.8077 0.0276 0.9006 1.0000 0.8145 0.0266 0.8952 1.0000 0.8213 0.0257 0.8896 1.0000 0.8280 0.0248 0.8839 1.0000 0.8346 0.0239 0.8781 1.0000 0.8411 0.0231 0.8722 1.0000 0.8475 0.0223 0.8662 1.0000 0.8539 0.0215 0.8601 1.0000 0.8601 0.0207 0.8539 1.0000 0.8662 0.0200 0.8475 1.0000 0.8722 0.0193 0.8411 1.0000 0.8781 0.0186 0.8346 1.0000 0.8839 0.0179 0.8280 1.0000 0.8896 0.0172 0.8213 1.0000 0.8952 0.0166 0.8145 1.0000 0.9006 0.0160 0.8077 1.0000 0.9060 0.0154 0.8007 1.0000 0.9112 0.0148 0.7937 1.0000 0.9162 0.0143 0.7866 1.0000 0.9212 0.0137 0.7795 1.0000 0.9260 0.0132 0.7722 1.0000 0.9307 0.0127 0.7650 1.0000 0.9352 0.0122 0.7576 1.0000 0.9396 0.0118 0.7502 1.0000 0.9439 0.0113 0.7427 1.0000 0.9480 0.0109 0.7352 1.0000 0.9520 0.0105 0.7277 1.0000 0.9558 0.0101 0.7201 1.0000 0.9595 0.0097 0.7124 1.0000 0.9630 0.0093 0.7047 1.0000 0.9664 0.0089 0.6970 1.0000 0.9696 0.0086 0.6892 1.0000 0.9727 0.0082 0.6815 1.0000 0.9756 0.0079 0.6736 1.0000 0.9784 0.0076 0.6658 1.0000 0.9810 0.0073 0.6579 1.0000 0.9834 0.0070 0.6501 1.0000 0.9857 0.0067 0.6422 1.0000 0.9878 0.0064 0.6343 1.0000 0.9897 0.0062 0.6263 1.0000 0.9915 0.0059 0.6184 1.0000 0.9931 0.0057 0.6105 1.0000 0.9945 0.0054 0.6026 1.0000 0.9958 0.0052 0.5946 1.0000 0.9969 0.0050 0.5867 1.0000 0.9979 0.0048 0.5788 1.0000 0.9986 0.0046 0.5709 1.0000 0.9992 0.0044 0.5630 1.0000 0.9997 0.0042 0.5551 1.0000 0.9999 0.0040 0.5473 1.0000 1.0000 0.0039 0.5394 1.0000 viper-1.0.0/src/viper/data/gauss_118.lut0000644000000000000000000001604611667652155016076 0ustar 00000000000000LOOKUP_TABLE ./luts/gauss_118.lut 256 0.0039 0.5394 0.0847 1.0000 0.0040 0.5473 0.0871 1.0000 0.0042 0.5551 0.0897 1.0000 0.0044 0.5630 0.0923 1.0000 0.0046 0.5709 0.0950 1.0000 0.0048 0.5788 0.0977 1.0000 0.0050 0.5867 0.1005 1.0000 0.0052 0.5946 0.1033 1.0000 0.0054 0.6026 0.1062 1.0000 0.0057 0.6105 0.1092 1.0000 0.0059 0.6184 0.1122 1.0000 0.0062 0.6263 0.1153 1.0000 0.0064 0.6343 0.1185 1.0000 0.0067 0.6422 0.1217 1.0000 0.0070 0.6501 0.1250 1.0000 0.0073 0.6579 0.1284 1.0000 0.0076 0.6658 0.1318 1.0000 0.0079 0.6736 0.1353 1.0000 0.0082 0.6815 0.1389 1.0000 0.0086 0.6892 0.1426 1.0000 0.0089 0.6970 0.1463 1.0000 0.0093 0.7047 0.1500 1.0000 0.0097 0.7124 0.1539 1.0000 0.0101 0.7201 0.1578 1.0000 0.0105 0.7277 0.1618 1.0000 0.0109 0.7352 0.1659 1.0000 0.0113 0.7427 0.1701 1.0000 0.0118 0.7502 0.1743 1.0000 0.0122 0.7576 0.1786 1.0000 0.0127 0.7650 0.1829 1.0000 0.0132 0.7722 0.1874 1.0000 0.0137 0.7795 0.1919 1.0000 0.0143 0.7866 0.1965 1.0000 0.0148 0.7937 0.2012 1.0000 0.0154 0.8007 0.2059 1.0000 0.0160 0.8077 0.2107 1.0000 0.0166 0.8145 0.2156 1.0000 0.0172 0.8213 0.2206 1.0000 0.0179 0.8280 0.2257 1.0000 0.0186 0.8346 0.2308 1.0000 0.0193 0.8411 0.2360 1.0000 0.0200 0.8475 0.2413 1.0000 0.0207 0.8539 0.2466 1.0000 0.0215 0.8601 0.2521 1.0000 0.0223 0.8662 0.2576 1.0000 0.0231 0.8722 0.2632 1.0000 0.0239 0.8781 0.2688 1.0000 0.0248 0.8839 0.2746 1.0000 0.0257 0.8896 0.2804 1.0000 0.0266 0.8952 0.2863 1.0000 0.0276 0.9006 0.2922 1.0000 0.0286 0.9060 0.2982 1.0000 0.0296 0.9112 0.3043 1.0000 0.0306 0.9162 0.3105 1.0000 0.0317 0.9212 0.3167 1.0000 0.0328 0.9260 0.3231 1.0000 0.0339 0.9307 0.3294 1.0000 0.0351 0.9352 0.3359 1.0000 0.0363 0.9396 0.3424 1.0000 0.0375 0.9439 0.3490 1.0000 0.0388 0.9480 0.3557 1.0000 0.0401 0.9520 0.3624 1.0000 0.0415 0.9558 0.3692 1.0000 0.0429 0.9595 0.3760 1.0000 0.0443 0.9630 0.3829 1.0000 0.0458 0.9664 0.3899 1.0000 0.0473 0.9696 0.3969 1.0000 0.0488 0.9727 0.4040 1.0000 0.0504 0.9756 0.4111 1.0000 0.0520 0.9784 0.4183 1.0000 0.0537 0.9810 0.4256 1.0000 0.0554 0.9834 0.4328 1.0000 0.0572 0.9857 0.4402 1.0000 0.0590 0.9878 0.4476 1.0000 0.0609 0.9897 0.4550 1.0000 0.0628 0.9915 0.4625 1.0000 0.0647 0.9931 0.4700 1.0000 0.0667 0.9945 0.4776 1.0000 0.0688 0.9958 0.4852 1.0000 0.0709 0.9969 0.4929 1.0000 0.0731 0.9979 0.5006 1.0000 0.0753 0.9986 0.5083 1.0000 0.0775 0.9992 0.5160 1.0000 0.0799 0.9997 0.5238 1.0000 0.0822 0.9999 0.5316 1.0000 0.0847 1.0000 0.5394 1.0000 0.0871 0.9999 0.5473 1.0000 0.0897 0.9997 0.5551 1.0000 0.0923 0.9992 0.5630 1.0000 0.0950 0.9986 0.5709 1.0000 0.0977 0.9979 0.5788 1.0000 0.1005 0.9969 0.5867 1.0000 0.1033 0.9958 0.5946 1.0000 0.1062 0.9945 0.6026 1.0000 0.1092 0.9931 0.6105 1.0000 0.1122 0.9915 0.6184 1.0000 0.1153 0.9897 0.6263 1.0000 0.1185 0.9878 0.6343 1.0000 0.1217 0.9857 0.6422 1.0000 0.1250 0.9834 0.6501 1.0000 0.1284 0.9810 0.6579 1.0000 0.1318 0.9784 0.6658 1.0000 0.1353 0.9756 0.6736 1.0000 0.1389 0.9727 0.6815 1.0000 0.1426 0.9696 0.6892 1.0000 0.1463 0.9664 0.6970 1.0000 0.1500 0.9630 0.7047 1.0000 0.1539 0.9595 0.7124 1.0000 0.1578 0.9558 0.7201 1.0000 0.1618 0.9520 0.7277 1.0000 0.1659 0.9480 0.7352 1.0000 0.1701 0.9439 0.7427 1.0000 0.1743 0.9396 0.7502 1.0000 0.1786 0.9352 0.7576 1.0000 0.1829 0.9307 0.7650 1.0000 0.1874 0.9260 0.7722 1.0000 0.1919 0.9212 0.7795 1.0000 0.1965 0.9162 0.7866 1.0000 0.2012 0.9112 0.7937 1.0000 0.2059 0.9060 0.8007 1.0000 0.2107 0.9006 0.8077 1.0000 0.2156 0.8952 0.8145 1.0000 0.2206 0.8896 0.8213 1.0000 0.2257 0.8839 0.8280 1.0000 0.2308 0.8781 0.8346 1.0000 0.2360 0.8722 0.8411 1.0000 0.2413 0.8662 0.8475 1.0000 0.2466 0.8601 0.8539 1.0000 0.2521 0.8539 0.8601 1.0000 0.2576 0.8475 0.8662 1.0000 0.2632 0.8411 0.8722 1.0000 0.2688 0.8346 0.8781 1.0000 0.2746 0.8280 0.8839 1.0000 0.2804 0.8213 0.8896 1.0000 0.2863 0.8145 0.8952 1.0000 0.2922 0.8077 0.9006 1.0000 0.2982 0.8007 0.9060 1.0000 0.3043 0.7937 0.9112 1.0000 0.3105 0.7866 0.9162 1.0000 0.3167 0.7795 0.9212 1.0000 0.3231 0.7722 0.9260 1.0000 0.3294 0.7650 0.9307 1.0000 0.3359 0.7576 0.9352 1.0000 0.3424 0.7502 0.9396 1.0000 0.3490 0.7427 0.9439 1.0000 0.3557 0.7352 0.9480 1.0000 0.3624 0.7277 0.9520 1.0000 0.3692 0.7201 0.9558 1.0000 0.3760 0.7124 0.9595 1.0000 0.3829 0.7047 0.9630 1.0000 0.3899 0.6970 0.9664 1.0000 0.3969 0.6892 0.9696 1.0000 0.4040 0.6815 0.9727 1.0000 0.4111 0.6736 0.9756 1.0000 0.4183 0.6658 0.9784 1.0000 0.4256 0.6579 0.9810 1.0000 0.4328 0.6501 0.9834 1.0000 0.4402 0.6422 0.9857 1.0000 0.4476 0.6343 0.9878 1.0000 0.4550 0.6263 0.9897 1.0000 0.4625 0.6184 0.9915 1.0000 0.4700 0.6105 0.9931 1.0000 0.4776 0.6026 0.9945 1.0000 0.4852 0.5946 0.9958 1.0000 0.4929 0.5867 0.9969 1.0000 0.5006 0.5788 0.9979 1.0000 0.5083 0.5709 0.9986 1.0000 0.5160 0.5630 0.9992 1.0000 0.5238 0.5551 0.9997 1.0000 0.5316 0.5473 0.9999 1.0000 0.5394 0.5394 1.0000 1.0000 0.5473 0.5316 0.9999 1.0000 0.5551 0.5238 0.9997 1.0000 0.5630 0.5160 0.9992 1.0000 0.5709 0.5083 0.9986 1.0000 0.5788 0.5006 0.9979 1.0000 0.5867 0.4929 0.9969 1.0000 0.5946 0.4852 0.9958 1.0000 0.6026 0.4776 0.9945 1.0000 0.6105 0.4700 0.9931 1.0000 0.6184 0.4625 0.9915 1.0000 0.6263 0.4550 0.9897 1.0000 0.6343 0.4476 0.9878 1.0000 0.6422 0.4402 0.9857 1.0000 0.6501 0.4328 0.9834 1.0000 0.6579 0.4256 0.9810 1.0000 0.6658 0.4183 0.9784 1.0000 0.6736 0.4111 0.9756 1.0000 0.6815 0.4040 0.9727 1.0000 0.6892 0.3969 0.9696 1.0000 0.6970 0.3899 0.9664 1.0000 0.7047 0.3829 0.9630 1.0000 0.7124 0.3760 0.9595 1.0000 0.7201 0.3692 0.9558 1.0000 0.7277 0.3624 0.9520 1.0000 0.7352 0.3557 0.9480 1.0000 0.7427 0.3490 0.9439 1.0000 0.7502 0.3424 0.9396 1.0000 0.7576 0.3359 0.9352 1.0000 0.7650 0.3294 0.9307 1.0000 0.7722 0.3231 0.9260 1.0000 0.7795 0.3167 0.9212 1.0000 0.7866 0.3105 0.9162 1.0000 0.7937 0.3043 0.9112 1.0000 0.8007 0.2982 0.9060 1.0000 0.8077 0.2922 0.9006 1.0000 0.8145 0.2863 0.8952 1.0000 0.8213 0.2804 0.8896 1.0000 0.8280 0.2746 0.8839 1.0000 0.8346 0.2688 0.8781 1.0000 0.8411 0.2632 0.8722 1.0000 0.8475 0.2576 0.8662 1.0000 0.8539 0.2521 0.8601 1.0000 0.8601 0.2466 0.8539 1.0000 0.8662 0.2413 0.8475 1.0000 0.8722 0.2360 0.8411 1.0000 0.8781 0.2308 0.8346 1.0000 0.8839 0.2257 0.8280 1.0000 0.8896 0.2206 0.8213 1.0000 0.8952 0.2156 0.8145 1.0000 0.9006 0.2107 0.8077 1.0000 0.9060 0.2059 0.8007 1.0000 0.9112 0.2012 0.7937 1.0000 0.9162 0.1965 0.7866 1.0000 0.9212 0.1919 0.7795 1.0000 0.9260 0.1874 0.7722 1.0000 0.9307 0.1829 0.7650 1.0000 0.9352 0.1786 0.7576 1.0000 0.9396 0.1743 0.7502 1.0000 0.9439 0.1701 0.7427 1.0000 0.9480 0.1659 0.7352 1.0000 0.9520 0.1618 0.7277 1.0000 0.9558 0.1578 0.7201 1.0000 0.9595 0.1539 0.7124 1.0000 0.9630 0.1500 0.7047 1.0000 0.9664 0.1463 0.6970 1.0000 0.9696 0.1426 0.6892 1.0000 0.9727 0.1389 0.6815 1.0000 0.9756 0.1353 0.6736 1.0000 0.9784 0.1318 0.6658 1.0000 0.9810 0.1284 0.6579 1.0000 0.9834 0.1250 0.6501 1.0000 0.9857 0.1217 0.6422 1.0000 0.9878 0.1185 0.6343 1.0000 0.9897 0.1153 0.6263 1.0000 0.9915 0.1122 0.6184 1.0000 0.9931 0.1092 0.6105 1.0000 0.9945 0.1062 0.6026 1.0000 0.9958 0.1033 0.5946 1.0000 0.9969 0.1005 0.5867 1.0000 0.9979 0.0977 0.5788 1.0000 0.9986 0.0950 0.5709 1.0000 0.9992 0.0923 0.5630 1.0000 0.9997 0.0897 0.5551 1.0000 0.9999 0.0871 0.5473 1.0000 1.0000 0.0847 0.5394 1.0000 viper-1.0.0/src/viper/data/gauss_120.lut0000644000000000000000000001604611667652155016067 0ustar 00000000000000LOOKUP_TABLE ./luts/gauss_120.lut 256 0.0039 0.0847 1.0000 1.0000 0.0040 0.0871 0.9999 1.0000 0.0042 0.0897 0.9997 1.0000 0.0044 0.0923 0.9992 1.0000 0.0046 0.0950 0.9986 1.0000 0.0048 0.0977 0.9979 1.0000 0.0050 0.1005 0.9969 1.0000 0.0052 0.1033 0.9958 1.0000 0.0054 0.1062 0.9945 1.0000 0.0057 0.1092 0.9931 1.0000 0.0059 0.1122 0.9915 1.0000 0.0062 0.1153 0.9897 1.0000 0.0064 0.1185 0.9878 1.0000 0.0067 0.1217 0.9857 1.0000 0.0070 0.1250 0.9834 1.0000 0.0073 0.1284 0.9810 1.0000 0.0076 0.1318 0.9784 1.0000 0.0079 0.1353 0.9756 1.0000 0.0082 0.1389 0.9727 1.0000 0.0086 0.1426 0.9696 1.0000 0.0089 0.1463 0.9664 1.0000 0.0093 0.1500 0.9630 1.0000 0.0097 0.1539 0.9595 1.0000 0.0101 0.1578 0.9558 1.0000 0.0105 0.1618 0.9520 1.0000 0.0109 0.1659 0.9480 1.0000 0.0113 0.1701 0.9439 1.0000 0.0118 0.1743 0.9396 1.0000 0.0122 0.1786 0.9352 1.0000 0.0127 0.1829 0.9307 1.0000 0.0132 0.1874 0.9260 1.0000 0.0137 0.1919 0.9212 1.0000 0.0143 0.1965 0.9162 1.0000 0.0148 0.2012 0.9112 1.0000 0.0154 0.2059 0.9060 1.0000 0.0160 0.2107 0.9006 1.0000 0.0166 0.2156 0.8952 1.0000 0.0172 0.2206 0.8896 1.0000 0.0179 0.2257 0.8839 1.0000 0.0186 0.2308 0.8781 1.0000 0.0193 0.2360 0.8722 1.0000 0.0200 0.2413 0.8662 1.0000 0.0207 0.2466 0.8601 1.0000 0.0215 0.2521 0.8539 1.0000 0.0223 0.2576 0.8475 1.0000 0.0231 0.2632 0.8411 1.0000 0.0239 0.2688 0.8346 1.0000 0.0248 0.2746 0.8280 1.0000 0.0257 0.2804 0.8213 1.0000 0.0266 0.2863 0.8145 1.0000 0.0276 0.2922 0.8077 1.0000 0.0286 0.2982 0.8007 1.0000 0.0296 0.3043 0.7937 1.0000 0.0306 0.3105 0.7866 1.0000 0.0317 0.3167 0.7795 1.0000 0.0328 0.3231 0.7722 1.0000 0.0339 0.3294 0.7650 1.0000 0.0351 0.3359 0.7576 1.0000 0.0363 0.3424 0.7502 1.0000 0.0375 0.3490 0.7427 1.0000 0.0388 0.3557 0.7352 1.0000 0.0401 0.3624 0.7277 1.0000 0.0415 0.3692 0.7201 1.0000 0.0429 0.3760 0.7124 1.0000 0.0443 0.3829 0.7047 1.0000 0.0458 0.3899 0.6970 1.0000 0.0473 0.3969 0.6892 1.0000 0.0488 0.4040 0.6815 1.0000 0.0504 0.4111 0.6736 1.0000 0.0520 0.4183 0.6658 1.0000 0.0537 0.4256 0.6579 1.0000 0.0554 0.4328 0.6501 1.0000 0.0572 0.4402 0.6422 1.0000 0.0590 0.4476 0.6343 1.0000 0.0609 0.4550 0.6263 1.0000 0.0628 0.4625 0.6184 1.0000 0.0647 0.4700 0.6105 1.0000 0.0667 0.4776 0.6026 1.0000 0.0688 0.4852 0.5946 1.0000 0.0709 0.4929 0.5867 1.0000 0.0731 0.5006 0.5788 1.0000 0.0753 0.5083 0.5709 1.0000 0.0775 0.5160 0.5630 1.0000 0.0799 0.5238 0.5551 1.0000 0.0822 0.5316 0.5473 1.0000 0.0847 0.5394 0.5394 1.0000 0.0871 0.5473 0.5316 1.0000 0.0897 0.5551 0.5238 1.0000 0.0923 0.5630 0.5160 1.0000 0.0950 0.5709 0.5083 1.0000 0.0977 0.5788 0.5006 1.0000 0.1005 0.5867 0.4929 1.0000 0.1033 0.5946 0.4852 1.0000 0.1062 0.6026 0.4776 1.0000 0.1092 0.6105 0.4700 1.0000 0.1122 0.6184 0.4625 1.0000 0.1153 0.6263 0.4550 1.0000 0.1185 0.6343 0.4476 1.0000 0.1217 0.6422 0.4402 1.0000 0.1250 0.6501 0.4328 1.0000 0.1284 0.6579 0.4256 1.0000 0.1318 0.6658 0.4183 1.0000 0.1353 0.6736 0.4111 1.0000 0.1389 0.6815 0.4040 1.0000 0.1426 0.6892 0.3969 1.0000 0.1463 0.6970 0.3899 1.0000 0.1500 0.7047 0.3829 1.0000 0.1539 0.7124 0.3760 1.0000 0.1578 0.7201 0.3692 1.0000 0.1618 0.7277 0.3624 1.0000 0.1659 0.7352 0.3557 1.0000 0.1701 0.7427 0.3490 1.0000 0.1743 0.7502 0.3424 1.0000 0.1786 0.7576 0.3359 1.0000 0.1829 0.7650 0.3294 1.0000 0.1874 0.7722 0.3231 1.0000 0.1919 0.7795 0.3167 1.0000 0.1965 0.7866 0.3105 1.0000 0.2012 0.7937 0.3043 1.0000 0.2059 0.8007 0.2982 1.0000 0.2107 0.8077 0.2922 1.0000 0.2156 0.8145 0.2863 1.0000 0.2206 0.8213 0.2804 1.0000 0.2257 0.8280 0.2746 1.0000 0.2308 0.8346 0.2688 1.0000 0.2360 0.8411 0.2632 1.0000 0.2413 0.8475 0.2576 1.0000 0.2466 0.8539 0.2521 1.0000 0.2521 0.8601 0.2466 1.0000 0.2576 0.8662 0.2413 1.0000 0.2632 0.8722 0.2360 1.0000 0.2688 0.8781 0.2308 1.0000 0.2746 0.8839 0.2257 1.0000 0.2804 0.8896 0.2206 1.0000 0.2863 0.8952 0.2156 1.0000 0.2922 0.9006 0.2107 1.0000 0.2982 0.9060 0.2059 1.0000 0.3043 0.9112 0.2012 1.0000 0.3105 0.9162 0.1965 1.0000 0.3167 0.9212 0.1919 1.0000 0.3231 0.9260 0.1874 1.0000 0.3294 0.9307 0.1829 1.0000 0.3359 0.9352 0.1786 1.0000 0.3424 0.9396 0.1743 1.0000 0.3490 0.9439 0.1701 1.0000 0.3557 0.9480 0.1659 1.0000 0.3624 0.9520 0.1618 1.0000 0.3692 0.9558 0.1578 1.0000 0.3760 0.9595 0.1539 1.0000 0.3829 0.9630 0.1500 1.0000 0.3899 0.9664 0.1463 1.0000 0.3969 0.9696 0.1426 1.0000 0.4040 0.9727 0.1389 1.0000 0.4111 0.9756 0.1353 1.0000 0.4183 0.9784 0.1318 1.0000 0.4256 0.9810 0.1284 1.0000 0.4328 0.9834 0.1250 1.0000 0.4402 0.9857 0.1217 1.0000 0.4476 0.9878 0.1185 1.0000 0.4550 0.9897 0.1153 1.0000 0.4625 0.9915 0.1122 1.0000 0.4700 0.9931 0.1092 1.0000 0.4776 0.9945 0.1062 1.0000 0.4852 0.9958 0.1033 1.0000 0.4929 0.9969 0.1005 1.0000 0.5006 0.9979 0.0977 1.0000 0.5083 0.9986 0.0950 1.0000 0.5160 0.9992 0.0923 1.0000 0.5238 0.9997 0.0897 1.0000 0.5316 0.9999 0.0871 1.0000 0.5394 1.0000 0.0847 1.0000 0.5473 0.9999 0.0822 1.0000 0.5551 0.9997 0.0799 1.0000 0.5630 0.9992 0.0775 1.0000 0.5709 0.9986 0.0753 1.0000 0.5788 0.9979 0.0731 1.0000 0.5867 0.9969 0.0709 1.0000 0.5946 0.9958 0.0688 1.0000 0.6026 0.9945 0.0667 1.0000 0.6105 0.9931 0.0647 1.0000 0.6184 0.9915 0.0628 1.0000 0.6263 0.9897 0.0609 1.0000 0.6343 0.9878 0.0590 1.0000 0.6422 0.9857 0.0572 1.0000 0.6501 0.9834 0.0554 1.0000 0.6579 0.9810 0.0537 1.0000 0.6658 0.9784 0.0520 1.0000 0.6736 0.9756 0.0504 1.0000 0.6815 0.9727 0.0488 1.0000 0.6892 0.9696 0.0473 1.0000 0.6970 0.9664 0.0458 1.0000 0.7047 0.9630 0.0443 1.0000 0.7124 0.9595 0.0429 1.0000 0.7201 0.9558 0.0415 1.0000 0.7277 0.9520 0.0401 1.0000 0.7352 0.9480 0.0388 1.0000 0.7427 0.9439 0.0375 1.0000 0.7502 0.9396 0.0363 1.0000 0.7576 0.9352 0.0351 1.0000 0.7650 0.9307 0.0339 1.0000 0.7722 0.9260 0.0328 1.0000 0.7795 0.9212 0.0317 1.0000 0.7866 0.9162 0.0306 1.0000 0.7937 0.9112 0.0296 1.0000 0.8007 0.9060 0.0286 1.0000 0.8077 0.9006 0.0276 1.0000 0.8145 0.8952 0.0266 1.0000 0.8213 0.8896 0.0257 1.0000 0.8280 0.8839 0.0248 1.0000 0.8346 0.8781 0.0239 1.0000 0.8411 0.8722 0.0231 1.0000 0.8475 0.8662 0.0223 1.0000 0.8539 0.8601 0.0215 1.0000 0.8601 0.8539 0.0207 1.0000 0.8662 0.8475 0.0200 1.0000 0.8722 0.8411 0.0193 1.0000 0.8781 0.8346 0.0186 1.0000 0.8839 0.8280 0.0179 1.0000 0.8896 0.8213 0.0172 1.0000 0.8952 0.8145 0.0166 1.0000 0.9006 0.8077 0.0160 1.0000 0.9060 0.8007 0.0154 1.0000 0.9112 0.7937 0.0148 1.0000 0.9162 0.7866 0.0143 1.0000 0.9212 0.7795 0.0137 1.0000 0.9260 0.7722 0.0132 1.0000 0.9307 0.7650 0.0127 1.0000 0.9352 0.7576 0.0122 1.0000 0.9396 0.7502 0.0118 1.0000 0.9439 0.7427 0.0113 1.0000 0.9480 0.7352 0.0109 1.0000 0.9520 0.7277 0.0105 1.0000 0.9558 0.7201 0.0101 1.0000 0.9595 0.7124 0.0097 1.0000 0.9630 0.7047 0.0093 1.0000 0.9664 0.6970 0.0089 1.0000 0.9696 0.6892 0.0086 1.0000 0.9727 0.6815 0.0082 1.0000 0.9756 0.6736 0.0079 1.0000 0.9784 0.6658 0.0076 1.0000 0.9810 0.6579 0.0073 1.0000 0.9834 0.6501 0.0070 1.0000 0.9857 0.6422 0.0067 1.0000 0.9878 0.6343 0.0064 1.0000 0.9897 0.6263 0.0062 1.0000 0.9915 0.6184 0.0059 1.0000 0.9931 0.6105 0.0057 1.0000 0.9945 0.6026 0.0054 1.0000 0.9958 0.5946 0.0052 1.0000 0.9969 0.5867 0.0050 1.0000 0.9979 0.5788 0.0048 1.0000 0.9986 0.5709 0.0046 1.0000 0.9992 0.5630 0.0044 1.0000 0.9997 0.5551 0.0042 1.0000 0.9999 0.5473 0.0040 1.0000 1.0000 0.5394 0.0039 1.0000 viper-1.0.0/src/viper/data/gauss_121.lut0000644000000000000000000001604611667652155016070 0ustar 00000000000000LOOKUP_TABLE ./luts/gauss_121.lut 256 0.0039 0.0847 0.5394 1.0000 0.0040 0.0871 0.5473 1.0000 0.0042 0.0897 0.5551 1.0000 0.0044 0.0923 0.5630 1.0000 0.0046 0.0950 0.5709 1.0000 0.0048 0.0977 0.5788 1.0000 0.0050 0.1005 0.5867 1.0000 0.0052 0.1033 0.5946 1.0000 0.0054 0.1062 0.6026 1.0000 0.0057 0.1092 0.6105 1.0000 0.0059 0.1122 0.6184 1.0000 0.0062 0.1153 0.6263 1.0000 0.0064 0.1185 0.6343 1.0000 0.0067 0.1217 0.6422 1.0000 0.0070 0.1250 0.6501 1.0000 0.0073 0.1284 0.6579 1.0000 0.0076 0.1318 0.6658 1.0000 0.0079 0.1353 0.6736 1.0000 0.0082 0.1389 0.6815 1.0000 0.0086 0.1426 0.6892 1.0000 0.0089 0.1463 0.6970 1.0000 0.0093 0.1500 0.7047 1.0000 0.0097 0.1539 0.7124 1.0000 0.0101 0.1578 0.7201 1.0000 0.0105 0.1618 0.7277 1.0000 0.0109 0.1659 0.7352 1.0000 0.0113 0.1701 0.7427 1.0000 0.0118 0.1743 0.7502 1.0000 0.0122 0.1786 0.7576 1.0000 0.0127 0.1829 0.7650 1.0000 0.0132 0.1874 0.7722 1.0000 0.0137 0.1919 0.7795 1.0000 0.0143 0.1965 0.7866 1.0000 0.0148 0.2012 0.7937 1.0000 0.0154 0.2059 0.8007 1.0000 0.0160 0.2107 0.8077 1.0000 0.0166 0.2156 0.8145 1.0000 0.0172 0.2206 0.8213 1.0000 0.0179 0.2257 0.8280 1.0000 0.0186 0.2308 0.8346 1.0000 0.0193 0.2360 0.8411 1.0000 0.0200 0.2413 0.8475 1.0000 0.0207 0.2466 0.8539 1.0000 0.0215 0.2521 0.8601 1.0000 0.0223 0.2576 0.8662 1.0000 0.0231 0.2632 0.8722 1.0000 0.0239 0.2688 0.8781 1.0000 0.0248 0.2746 0.8839 1.0000 0.0257 0.2804 0.8896 1.0000 0.0266 0.2863 0.8952 1.0000 0.0276 0.2922 0.9006 1.0000 0.0286 0.2982 0.9060 1.0000 0.0296 0.3043 0.9112 1.0000 0.0306 0.3105 0.9162 1.0000 0.0317 0.3167 0.9212 1.0000 0.0328 0.3231 0.9260 1.0000 0.0339 0.3294 0.9307 1.0000 0.0351 0.3359 0.9352 1.0000 0.0363 0.3424 0.9396 1.0000 0.0375 0.3490 0.9439 1.0000 0.0388 0.3557 0.9480 1.0000 0.0401 0.3624 0.9520 1.0000 0.0415 0.3692 0.9558 1.0000 0.0429 0.3760 0.9595 1.0000 0.0443 0.3829 0.9630 1.0000 0.0458 0.3899 0.9664 1.0000 0.0473 0.3969 0.9696 1.0000 0.0488 0.4040 0.9727 1.0000 0.0504 0.4111 0.9756 1.0000 0.0520 0.4183 0.9784 1.0000 0.0537 0.4256 0.9810 1.0000 0.0554 0.4328 0.9834 1.0000 0.0572 0.4402 0.9857 1.0000 0.0590 0.4476 0.9878 1.0000 0.0609 0.4550 0.9897 1.0000 0.0628 0.4625 0.9915 1.0000 0.0647 0.4700 0.9931 1.0000 0.0667 0.4776 0.9945 1.0000 0.0688 0.4852 0.9958 1.0000 0.0709 0.4929 0.9969 1.0000 0.0731 0.5006 0.9979 1.0000 0.0753 0.5083 0.9986 1.0000 0.0775 0.5160 0.9992 1.0000 0.0799 0.5238 0.9997 1.0000 0.0822 0.5316 0.9999 1.0000 0.0847 0.5394 1.0000 1.0000 0.0871 0.5473 0.9999 1.0000 0.0897 0.5551 0.9997 1.0000 0.0923 0.5630 0.9992 1.0000 0.0950 0.5709 0.9986 1.0000 0.0977 0.5788 0.9979 1.0000 0.1005 0.5867 0.9969 1.0000 0.1033 0.5946 0.9958 1.0000 0.1062 0.6026 0.9945 1.0000 0.1092 0.6105 0.9931 1.0000 0.1122 0.6184 0.9915 1.0000 0.1153 0.6263 0.9897 1.0000 0.1185 0.6343 0.9878 1.0000 0.1217 0.6422 0.9857 1.0000 0.1250 0.6501 0.9834 1.0000 0.1284 0.6579 0.9810 1.0000 0.1318 0.6658 0.9784 1.0000 0.1353 0.6736 0.9756 1.0000 0.1389 0.6815 0.9727 1.0000 0.1426 0.6892 0.9696 1.0000 0.1463 0.6970 0.9664 1.0000 0.1500 0.7047 0.9630 1.0000 0.1539 0.7124 0.9595 1.0000 0.1578 0.7201 0.9558 1.0000 0.1618 0.7277 0.9520 1.0000 0.1659 0.7352 0.9480 1.0000 0.1701 0.7427 0.9439 1.0000 0.1743 0.7502 0.9396 1.0000 0.1786 0.7576 0.9352 1.0000 0.1829 0.7650 0.9307 1.0000 0.1874 0.7722 0.9260 1.0000 0.1919 0.7795 0.9212 1.0000 0.1965 0.7866 0.9162 1.0000 0.2012 0.7937 0.9112 1.0000 0.2059 0.8007 0.9060 1.0000 0.2107 0.8077 0.9006 1.0000 0.2156 0.8145 0.8952 1.0000 0.2206 0.8213 0.8896 1.0000 0.2257 0.8280 0.8839 1.0000 0.2308 0.8346 0.8781 1.0000 0.2360 0.8411 0.8722 1.0000 0.2413 0.8475 0.8662 1.0000 0.2466 0.8539 0.8601 1.0000 0.2521 0.8601 0.8539 1.0000 0.2576 0.8662 0.8475 1.0000 0.2632 0.8722 0.8411 1.0000 0.2688 0.8781 0.8346 1.0000 0.2746 0.8839 0.8280 1.0000 0.2804 0.8896 0.8213 1.0000 0.2863 0.8952 0.8145 1.0000 0.2922 0.9006 0.8077 1.0000 0.2982 0.9060 0.8007 1.0000 0.3043 0.9112 0.7937 1.0000 0.3105 0.9162 0.7866 1.0000 0.3167 0.9212 0.7795 1.0000 0.3231 0.9260 0.7722 1.0000 0.3294 0.9307 0.7650 1.0000 0.3359 0.9352 0.7576 1.0000 0.3424 0.9396 0.7502 1.0000 0.3490 0.9439 0.7427 1.0000 0.3557 0.9480 0.7352 1.0000 0.3624 0.9520 0.7277 1.0000 0.3692 0.9558 0.7201 1.0000 0.3760 0.9595 0.7124 1.0000 0.3829 0.9630 0.7047 1.0000 0.3899 0.9664 0.6970 1.0000 0.3969 0.9696 0.6892 1.0000 0.4040 0.9727 0.6815 1.0000 0.4111 0.9756 0.6736 1.0000 0.4183 0.9784 0.6658 1.0000 0.4256 0.9810 0.6579 1.0000 0.4328 0.9834 0.6501 1.0000 0.4402 0.9857 0.6422 1.0000 0.4476 0.9878 0.6343 1.0000 0.4550 0.9897 0.6263 1.0000 0.4625 0.9915 0.6184 1.0000 0.4700 0.9931 0.6105 1.0000 0.4776 0.9945 0.6026 1.0000 0.4852 0.9958 0.5946 1.0000 0.4929 0.9969 0.5867 1.0000 0.5006 0.9979 0.5788 1.0000 0.5083 0.9986 0.5709 1.0000 0.5160 0.9992 0.5630 1.0000 0.5238 0.9997 0.5551 1.0000 0.5316 0.9999 0.5473 1.0000 0.5394 1.0000 0.5394 1.0000 0.5473 0.9999 0.5316 1.0000 0.5551 0.9997 0.5238 1.0000 0.5630 0.9992 0.5160 1.0000 0.5709 0.9986 0.5083 1.0000 0.5788 0.9979 0.5006 1.0000 0.5867 0.9969 0.4929 1.0000 0.5946 0.9958 0.4852 1.0000 0.6026 0.9945 0.4776 1.0000 0.6105 0.9931 0.4700 1.0000 0.6184 0.9915 0.4625 1.0000 0.6263 0.9897 0.4550 1.0000 0.6343 0.9878 0.4476 1.0000 0.6422 0.9857 0.4402 1.0000 0.6501 0.9834 0.4328 1.0000 0.6579 0.9810 0.4256 1.0000 0.6658 0.9784 0.4183 1.0000 0.6736 0.9756 0.4111 1.0000 0.6815 0.9727 0.4040 1.0000 0.6892 0.9696 0.3969 1.0000 0.6970 0.9664 0.3899 1.0000 0.7047 0.9630 0.3829 1.0000 0.7124 0.9595 0.3760 1.0000 0.7201 0.9558 0.3692 1.0000 0.7277 0.9520 0.3624 1.0000 0.7352 0.9480 0.3557 1.0000 0.7427 0.9439 0.3490 1.0000 0.7502 0.9396 0.3424 1.0000 0.7576 0.9352 0.3359 1.0000 0.7650 0.9307 0.3294 1.0000 0.7722 0.9260 0.3231 1.0000 0.7795 0.9212 0.3167 1.0000 0.7866 0.9162 0.3105 1.0000 0.7937 0.9112 0.3043 1.0000 0.8007 0.9060 0.2982 1.0000 0.8077 0.9006 0.2922 1.0000 0.8145 0.8952 0.2863 1.0000 0.8213 0.8896 0.2804 1.0000 0.8280 0.8839 0.2746 1.0000 0.8346 0.8781 0.2688 1.0000 0.8411 0.8722 0.2632 1.0000 0.8475 0.8662 0.2576 1.0000 0.8539 0.8601 0.2521 1.0000 0.8601 0.8539 0.2466 1.0000 0.8662 0.8475 0.2413 1.0000 0.8722 0.8411 0.2360 1.0000 0.8781 0.8346 0.2308 1.0000 0.8839 0.8280 0.2257 1.0000 0.8896 0.8213 0.2206 1.0000 0.8952 0.8145 0.2156 1.0000 0.9006 0.8077 0.2107 1.0000 0.9060 0.8007 0.2059 1.0000 0.9112 0.7937 0.2012 1.0000 0.9162 0.7866 0.1965 1.0000 0.9212 0.7795 0.1919 1.0000 0.9260 0.7722 0.1874 1.0000 0.9307 0.7650 0.1829 1.0000 0.9352 0.7576 0.1786 1.0000 0.9396 0.7502 0.1743 1.0000 0.9439 0.7427 0.1701 1.0000 0.9480 0.7352 0.1659 1.0000 0.9520 0.7277 0.1618 1.0000 0.9558 0.7201 0.1578 1.0000 0.9595 0.7124 0.1539 1.0000 0.9630 0.7047 0.1500 1.0000 0.9664 0.6970 0.1463 1.0000 0.9696 0.6892 0.1426 1.0000 0.9727 0.6815 0.1389 1.0000 0.9756 0.6736 0.1353 1.0000 0.9784 0.6658 0.1318 1.0000 0.9810 0.6579 0.1284 1.0000 0.9834 0.6501 0.1250 1.0000 0.9857 0.6422 0.1217 1.0000 0.9878 0.6343 0.1185 1.0000 0.9897 0.6263 0.1153 1.0000 0.9915 0.6184 0.1122 1.0000 0.9931 0.6105 0.1092 1.0000 0.9945 0.6026 0.1062 1.0000 0.9958 0.5946 0.1033 1.0000 0.9969 0.5867 0.1005 1.0000 0.9979 0.5788 0.0977 1.0000 0.9986 0.5709 0.0950 1.0000 0.9992 0.5630 0.0923 1.0000 0.9997 0.5551 0.0897 1.0000 0.9999 0.5473 0.0871 1.0000 1.0000 0.5394 0.0847 1.0000 viper-1.0.0/src/viper/data/gauss_129.lut0000644000000000000000000001604611667652155016100 0ustar 00000000000000LOOKUP_TABLE ./luts/gauss_129.lut 256 1.0000 1.0000 0.8007 1.0000 1.0000 1.0000 0.8049 1.0000 0.9999 0.9999 0.8091 1.0000 0.9997 0.9997 0.8132 1.0000 0.9995 0.9995 0.8173 1.0000 0.9992 0.9992 0.8213 1.0000 0.9989 0.9989 0.8253 1.0000 0.9985 0.9985 0.8293 1.0000 0.9980 0.9980 0.8333 1.0000 0.9975 0.9975 0.8372 1.0000 0.9969 0.9969 0.8411 1.0000 0.9963 0.9963 0.8450 1.0000 0.9956 0.9956 0.8488 1.0000 0.9948 0.9948 0.8526 1.0000 0.9940 0.9940 0.8564 1.0000 0.9931 0.9931 0.8601 1.0000 0.9922 0.9922 0.8638 1.0000 0.9912 0.9912 0.8674 1.0000 0.9901 0.9901 0.8710 1.0000 0.9890 0.9890 0.8746 1.0000 0.9878 0.9878 0.8781 1.0000 0.9865 0.9865 0.8816 1.0000 0.9852 0.9852 0.8851 1.0000 0.9839 0.9839 0.8885 1.0000 0.9824 0.9824 0.8919 1.0000 0.9810 0.9810 0.8952 1.0000 0.9794 0.9794 0.8985 1.0000 0.9778 0.9778 0.9017 1.0000 0.9762 0.9762 0.9049 1.0000 0.9745 0.9745 0.9081 1.0000 0.9727 0.9727 0.9112 1.0000 0.9709 0.9709 0.9142 1.0000 0.9690 0.9690 0.9172 1.0000 0.9671 0.9671 0.9202 1.0000 0.9651 0.9651 0.9231 1.0000 0.9630 0.9630 0.9260 1.0000 0.9609 0.9609 0.9288 1.0000 0.9588 0.9588 0.9316 1.0000 0.9566 0.9566 0.9343 1.0000 0.9543 0.9543 0.9370 1.0000 0.9520 0.9520 0.9396 1.0000 0.9496 0.9496 0.9422 1.0000 0.9472 0.9472 0.9447 1.0000 0.9447 0.9447 0.9472 1.0000 0.9422 0.9422 0.9496 1.0000 0.9396 0.9396 0.9520 1.0000 0.9370 0.9370 0.9543 1.0000 0.9343 0.9343 0.9566 1.0000 0.9316 0.9316 0.9588 1.0000 0.9288 0.9288 0.9609 1.0000 0.9260 0.9260 0.9630 1.0000 0.9231 0.9231 0.9651 1.0000 0.9202 0.9202 0.9671 1.0000 0.9172 0.9172 0.9690 1.0000 0.9142 0.9142 0.9709 1.0000 0.9112 0.9112 0.9727 1.0000 0.9081 0.9081 0.9745 1.0000 0.9049 0.9049 0.9762 1.0000 0.9017 0.9017 0.9778 1.0000 0.8985 0.8985 0.9794 1.0000 0.8952 0.8952 0.9810 1.0000 0.8919 0.8919 0.9824 1.0000 0.8885 0.8885 0.9839 1.0000 0.8851 0.8851 0.9852 1.0000 0.8816 0.8816 0.9865 1.0000 0.8781 0.8781 0.9878 1.0000 0.8746 0.8746 0.9890 1.0000 0.8710 0.8710 0.9901 1.0000 0.8674 0.8674 0.9912 1.0000 0.8638 0.8638 0.9922 1.0000 0.8601 0.8601 0.9931 1.0000 0.8564 0.8564 0.9940 1.0000 0.8526 0.8526 0.9948 1.0000 0.8488 0.8488 0.9956 1.0000 0.8450 0.8450 0.9963 1.0000 0.8411 0.8411 0.9969 1.0000 0.8372 0.8372 0.9975 1.0000 0.8333 0.8333 0.9980 1.0000 0.8293 0.8293 0.9985 1.0000 0.8253 0.8253 0.9989 1.0000 0.8213 0.8213 0.9992 1.0000 0.8173 0.8173 0.9995 1.0000 0.8132 0.8132 0.9997 1.0000 0.8091 0.8091 0.9999 1.0000 0.8049 0.8049 1.0000 1.0000 0.8007 0.8007 1.0000 1.0000 0.7965 0.7965 1.0000 1.0000 0.7923 0.7923 0.9999 1.0000 0.7881 0.7881 0.9997 1.0000 0.7838 0.7838 0.9995 1.0000 0.7795 0.7795 0.9992 1.0000 0.7751 0.7751 0.9989 1.0000 0.7708 0.7708 0.9985 1.0000 0.7664 0.7664 0.9980 1.0000 0.7620 0.7620 0.9975 1.0000 0.7576 0.7576 0.9969 1.0000 0.7532 0.7532 0.9963 1.0000 0.7487 0.7487 0.9956 1.0000 0.7442 0.7442 0.9948 1.0000 0.7397 0.7397 0.9940 1.0000 0.7352 0.7352 0.9931 1.0000 0.7307 0.7307 0.9922 1.0000 0.7261 0.7261 0.9912 1.0000 0.7216 0.7216 0.9901 1.0000 0.7170 0.7170 0.9890 1.0000 0.7124 0.7124 0.9878 1.0000 0.7078 0.7078 0.9865 1.0000 0.7032 0.7032 0.9852 1.0000 0.6985 0.6985 0.9839 1.0000 0.6939 0.6939 0.9824 1.0000 0.6892 0.6892 0.9810 1.0000 0.6846 0.6846 0.9794 1.0000 0.6799 0.6799 0.9778 1.0000 0.6752 0.6752 0.9762 1.0000 0.6705 0.6705 0.9745 1.0000 0.6658 0.6658 0.9727 1.0000 0.6611 0.6611 0.9709 1.0000 0.6564 0.6564 0.9690 1.0000 0.6516 0.6516 0.9671 1.0000 0.6469 0.6469 0.9651 1.0000 0.6422 0.6422 0.9630 1.0000 0.6374 0.6374 0.9609 1.0000 0.6327 0.6327 0.9588 1.0000 0.6279 0.6279 0.9566 1.0000 0.6232 0.6232 0.9543 1.0000 0.6184 0.6184 0.9520 1.0000 0.6137 0.6137 0.9496 1.0000 0.6089 0.6089 0.9472 1.0000 0.6042 0.6042 0.9447 1.0000 0.5994 0.5994 0.9422 1.0000 0.5946 0.5946 0.9396 1.0000 0.5899 0.5899 0.9370 1.0000 0.5851 0.5851 0.9343 1.0000 0.5804 0.5804 0.9316 1.0000 0.5756 0.5756 0.9288 1.0000 0.5709 0.5709 0.9260 1.0000 0.5662 0.5662 0.9231 1.0000 0.5614 0.5614 0.9202 1.0000 0.5567 0.5567 0.9172 1.0000 0.5520 0.5520 0.9142 1.0000 0.5473 0.5473 0.9112 1.0000 0.5425 0.5425 0.9081 1.0000 0.5378 0.5378 0.9049 1.0000 0.5331 0.5331 0.9017 1.0000 0.5285 0.5285 0.8985 1.0000 0.5238 0.5238 0.8952 1.0000 0.5191 0.5191 0.8919 1.0000 0.5145 0.5145 0.8885 1.0000 0.5098 0.5098 0.8851 1.0000 0.5052 0.5052 0.8816 1.0000 0.5006 0.5006 0.8781 1.0000 0.4959 0.4959 0.8746 1.0000 0.4913 0.4913 0.8710 1.0000 0.4868 0.4868 0.8674 1.0000 0.4822 0.4822 0.8638 1.0000 0.4776 0.4776 0.8601 1.0000 0.4731 0.4731 0.8564 1.0000 0.4685 0.4685 0.8526 1.0000 0.4640 0.4640 0.8488 1.0000 0.4595 0.4595 0.8450 1.0000 0.4550 0.4550 0.8411 1.0000 0.4506 0.4506 0.8372 1.0000 0.4461 0.4461 0.8333 1.0000 0.4417 0.4417 0.8293 1.0000 0.4372 0.4372 0.8253 1.0000 0.4328 0.4328 0.8213 1.0000 0.4285 0.4285 0.8173 1.0000 0.4241 0.4241 0.8132 1.0000 0.4197 0.4197 0.8091 1.0000 0.4154 0.4154 0.8049 1.0000 0.4111 0.4111 0.8007 1.0000 0.4068 0.4068 0.7965 1.0000 0.4026 0.4026 0.7923 1.0000 0.3983 0.3983 0.7881 1.0000 0.3941 0.3941 0.7838 1.0000 0.3899 0.3899 0.7795 1.0000 0.3857 0.3857 0.7751 1.0000 0.3815 0.3815 0.7708 1.0000 0.3774 0.3774 0.7664 1.0000 0.3733 0.3733 0.7620 1.0000 0.3692 0.3692 0.7576 1.0000 0.3651 0.3651 0.7532 1.0000 0.3610 0.3610 0.7487 1.0000 0.3570 0.3570 0.7442 1.0000 0.3530 0.3530 0.7397 1.0000 0.3490 0.3490 0.7352 1.0000 0.3450 0.3450 0.7307 1.0000 0.3411 0.3411 0.7261 1.0000 0.3372 0.3372 0.7216 1.0000 0.3333 0.3333 0.7170 1.0000 0.3294 0.3294 0.7124 1.0000 0.3256 0.3256 0.7078 1.0000 0.3218 0.3218 0.7032 1.0000 0.3180 0.3180 0.6985 1.0000 0.3142 0.3142 0.6939 1.0000 0.3105 0.3105 0.6892 1.0000 0.3068 0.3068 0.6846 1.0000 0.3031 0.3031 0.6799 1.0000 0.2994 0.2994 0.6752 1.0000 0.2958 0.2958 0.6705 1.0000 0.2922 0.2922 0.6658 1.0000 0.2886 0.2886 0.6611 1.0000 0.2851 0.2851 0.6564 1.0000 0.2815 0.2815 0.6516 1.0000 0.2780 0.2780 0.6469 1.0000 0.2746 0.2746 0.6422 1.0000 0.2711 0.2711 0.6374 1.0000 0.2677 0.2677 0.6327 1.0000 0.2643 0.2643 0.6279 1.0000 0.2609 0.2609 0.6232 1.0000 0.2576 0.2576 0.6184 1.0000 0.2543 0.2543 0.6137 1.0000 0.2510 0.2510 0.6089 1.0000 0.2477 0.2477 0.6042 1.0000 0.2445 0.2445 0.5994 1.0000 0.2413 0.2413 0.5946 1.0000 0.2381 0.2381 0.5899 1.0000 0.2350 0.2350 0.5851 1.0000 0.2318 0.2318 0.5804 1.0000 0.2287 0.2287 0.5756 1.0000 0.2257 0.2257 0.5709 1.0000 0.2226 0.2226 0.5662 1.0000 0.2196 0.2196 0.5614 1.0000 0.2166 0.2166 0.5567 1.0000 0.2137 0.2137 0.5520 1.0000 0.2107 0.2107 0.5473 1.0000 0.2078 0.2078 0.5425 1.0000 0.2050 0.2050 0.5378 1.0000 0.2021 0.2021 0.5331 1.0000 0.1993 0.1993 0.5285 1.0000 0.1965 0.1965 0.5238 1.0000 0.1937 0.1937 0.5191 1.0000 0.1910 0.1910 0.5145 1.0000 0.1883 0.1883 0.5098 1.0000 0.1856 0.1856 0.5052 1.0000 0.1829 0.1829 0.5006 1.0000 0.1803 0.1803 0.4959 1.0000 0.1777 0.1777 0.4913 1.0000 0.1751 0.1751 0.4868 1.0000 0.1726 0.1726 0.4822 1.0000 0.1701 0.1701 0.4776 1.0000 0.1676 0.1676 0.4731 1.0000 0.1651 0.1651 0.4685 1.0000 0.1626 0.1626 0.4640 1.0000 0.1602 0.1602 0.4595 1.0000 0.1578 0.1578 0.4550 1.0000 0.1555 0.1555 0.4506 1.0000 0.1531 0.1531 0.4461 1.0000 0.1508 0.1508 0.4417 1.0000 0.1485 0.1485 0.4372 1.0000 0.1463 0.1463 0.4328 1.0000 0.1440 0.1440 0.4285 1.0000 0.1418 0.1418 0.4241 1.0000 0.1396 0.1396 0.4197 1.0000 0.1375 0.1375 0.4154 1.0000 0.1353 0.1353 0.4111 1.0000 viper-1.0.0/src/viper/data/gauss_147.lut0000644000000000000000000001604611667652155016100 0ustar 00000000000000LOOKUP_TABLE ./luts/gauss_147.lut 256 0.8007 1.0000 0.1353 1.0000 0.8049 1.0000 0.1375 1.0000 0.8091 0.9999 0.1396 1.0000 0.8132 0.9997 0.1418 1.0000 0.8173 0.9995 0.1440 1.0000 0.8213 0.9992 0.1463 1.0000 0.8253 0.9989 0.1485 1.0000 0.8293 0.9985 0.1508 1.0000 0.8333 0.9980 0.1531 1.0000 0.8372 0.9975 0.1555 1.0000 0.8411 0.9969 0.1578 1.0000 0.8450 0.9963 0.1602 1.0000 0.8488 0.9956 0.1626 1.0000 0.8526 0.9948 0.1651 1.0000 0.8564 0.9940 0.1676 1.0000 0.8601 0.9931 0.1701 1.0000 0.8638 0.9922 0.1726 1.0000 0.8674 0.9912 0.1751 1.0000 0.8710 0.9901 0.1777 1.0000 0.8746 0.9890 0.1803 1.0000 0.8781 0.9878 0.1829 1.0000 0.8816 0.9865 0.1856 1.0000 0.8851 0.9852 0.1883 1.0000 0.8885 0.9839 0.1910 1.0000 0.8919 0.9824 0.1937 1.0000 0.8952 0.9810 0.1965 1.0000 0.8985 0.9794 0.1993 1.0000 0.9017 0.9778 0.2021 1.0000 0.9049 0.9762 0.2050 1.0000 0.9081 0.9745 0.2078 1.0000 0.9112 0.9727 0.2107 1.0000 0.9142 0.9709 0.2137 1.0000 0.9172 0.9690 0.2166 1.0000 0.9202 0.9671 0.2196 1.0000 0.9231 0.9651 0.2226 1.0000 0.9260 0.9630 0.2257 1.0000 0.9288 0.9609 0.2287 1.0000 0.9316 0.9588 0.2318 1.0000 0.9343 0.9566 0.2350 1.0000 0.9370 0.9543 0.2381 1.0000 0.9396 0.9520 0.2413 1.0000 0.9422 0.9496 0.2445 1.0000 0.9447 0.9472 0.2477 1.0000 0.9472 0.9447 0.2510 1.0000 0.9496 0.9422 0.2543 1.0000 0.9520 0.9396 0.2576 1.0000 0.9543 0.9370 0.2609 1.0000 0.9566 0.9343 0.2643 1.0000 0.9588 0.9316 0.2677 1.0000 0.9609 0.9288 0.2711 1.0000 0.9630 0.9260 0.2746 1.0000 0.9651 0.9231 0.2780 1.0000 0.9671 0.9202 0.2815 1.0000 0.9690 0.9172 0.2851 1.0000 0.9709 0.9142 0.2886 1.0000 0.9727 0.9112 0.2922 1.0000 0.9745 0.9081 0.2958 1.0000 0.9762 0.9049 0.2994 1.0000 0.9778 0.9017 0.3031 1.0000 0.9794 0.8985 0.3068 1.0000 0.9810 0.8952 0.3105 1.0000 0.9824 0.8919 0.3142 1.0000 0.9839 0.8885 0.3180 1.0000 0.9852 0.8851 0.3218 1.0000 0.9865 0.8816 0.3256 1.0000 0.9878 0.8781 0.3294 1.0000 0.9890 0.8746 0.3333 1.0000 0.9901 0.8710 0.3372 1.0000 0.9912 0.8674 0.3411 1.0000 0.9922 0.8638 0.3450 1.0000 0.9931 0.8601 0.3490 1.0000 0.9940 0.8564 0.3530 1.0000 0.9948 0.8526 0.3570 1.0000 0.9956 0.8488 0.3610 1.0000 0.9963 0.8450 0.3651 1.0000 0.9969 0.8411 0.3692 1.0000 0.9975 0.8372 0.3733 1.0000 0.9980 0.8333 0.3774 1.0000 0.9985 0.8293 0.3815 1.0000 0.9989 0.8253 0.3857 1.0000 0.9992 0.8213 0.3899 1.0000 0.9995 0.8173 0.3941 1.0000 0.9997 0.8132 0.3983 1.0000 0.9999 0.8091 0.4026 1.0000 1.0000 0.8049 0.4068 1.0000 1.0000 0.8007 0.4111 1.0000 1.0000 0.7965 0.4154 1.0000 0.9999 0.7923 0.4197 1.0000 0.9997 0.7881 0.4241 1.0000 0.9995 0.7838 0.4285 1.0000 0.9992 0.7795 0.4328 1.0000 0.9989 0.7751 0.4372 1.0000 0.9985 0.7708 0.4417 1.0000 0.9980 0.7664 0.4461 1.0000 0.9975 0.7620 0.4506 1.0000 0.9969 0.7576 0.4550 1.0000 0.9963 0.7532 0.4595 1.0000 0.9956 0.7487 0.4640 1.0000 0.9948 0.7442 0.4685 1.0000 0.9940 0.7397 0.4731 1.0000 0.9931 0.7352 0.4776 1.0000 0.9922 0.7307 0.4822 1.0000 0.9912 0.7261 0.4868 1.0000 0.9901 0.7216 0.4913 1.0000 0.9890 0.7170 0.4959 1.0000 0.9878 0.7124 0.5006 1.0000 0.9865 0.7078 0.5052 1.0000 0.9852 0.7032 0.5098 1.0000 0.9839 0.6985 0.5145 1.0000 0.9824 0.6939 0.5191 1.0000 0.9810 0.6892 0.5238 1.0000 0.9794 0.6846 0.5285 1.0000 0.9778 0.6799 0.5331 1.0000 0.9762 0.6752 0.5378 1.0000 0.9745 0.6705 0.5425 1.0000 0.9727 0.6658 0.5473 1.0000 0.9709 0.6611 0.5520 1.0000 0.9690 0.6564 0.5567 1.0000 0.9671 0.6516 0.5614 1.0000 0.9651 0.6469 0.5662 1.0000 0.9630 0.6422 0.5709 1.0000 0.9609 0.6374 0.5756 1.0000 0.9588 0.6327 0.5804 1.0000 0.9566 0.6279 0.5851 1.0000 0.9543 0.6232 0.5899 1.0000 0.9520 0.6184 0.5946 1.0000 0.9496 0.6137 0.5994 1.0000 0.9472 0.6089 0.6042 1.0000 0.9447 0.6042 0.6089 1.0000 0.9422 0.5994 0.6137 1.0000 0.9396 0.5946 0.6184 1.0000 0.9370 0.5899 0.6232 1.0000 0.9343 0.5851 0.6279 1.0000 0.9316 0.5804 0.6327 1.0000 0.9288 0.5756 0.6374 1.0000 0.9260 0.5709 0.6422 1.0000 0.9231 0.5662 0.6469 1.0000 0.9202 0.5614 0.6516 1.0000 0.9172 0.5567 0.6564 1.0000 0.9142 0.5520 0.6611 1.0000 0.9112 0.5473 0.6658 1.0000 0.9081 0.5425 0.6705 1.0000 0.9049 0.5378 0.6752 1.0000 0.9017 0.5331 0.6799 1.0000 0.8985 0.5285 0.6846 1.0000 0.8952 0.5238 0.6892 1.0000 0.8919 0.5191 0.6939 1.0000 0.8885 0.5145 0.6985 1.0000 0.8851 0.5098 0.7032 1.0000 0.8816 0.5052 0.7078 1.0000 0.8781 0.5006 0.7124 1.0000 0.8746 0.4959 0.7170 1.0000 0.8710 0.4913 0.7216 1.0000 0.8674 0.4868 0.7261 1.0000 0.8638 0.4822 0.7307 1.0000 0.8601 0.4776 0.7352 1.0000 0.8564 0.4731 0.7397 1.0000 0.8526 0.4685 0.7442 1.0000 0.8488 0.4640 0.7487 1.0000 0.8450 0.4595 0.7532 1.0000 0.8411 0.4550 0.7576 1.0000 0.8372 0.4506 0.7620 1.0000 0.8333 0.4461 0.7664 1.0000 0.8293 0.4417 0.7708 1.0000 0.8253 0.4372 0.7751 1.0000 0.8213 0.4328 0.7795 1.0000 0.8173 0.4285 0.7838 1.0000 0.8132 0.4241 0.7881 1.0000 0.8091 0.4197 0.7923 1.0000 0.8049 0.4154 0.7965 1.0000 0.8007 0.4111 0.8007 1.0000 0.7965 0.4068 0.8049 1.0000 0.7923 0.4026 0.8091 1.0000 0.7881 0.3983 0.8132 1.0000 0.7838 0.3941 0.8173 1.0000 0.7795 0.3899 0.8213 1.0000 0.7751 0.3857 0.8253 1.0000 0.7708 0.3815 0.8293 1.0000 0.7664 0.3774 0.8333 1.0000 0.7620 0.3733 0.8372 1.0000 0.7576 0.3692 0.8411 1.0000 0.7532 0.3651 0.8450 1.0000 0.7487 0.3610 0.8488 1.0000 0.7442 0.3570 0.8526 1.0000 0.7397 0.3530 0.8564 1.0000 0.7352 0.3490 0.8601 1.0000 0.7307 0.3450 0.8638 1.0000 0.7261 0.3411 0.8674 1.0000 0.7216 0.3372 0.8710 1.0000 0.7170 0.3333 0.8746 1.0000 0.7124 0.3294 0.8781 1.0000 0.7078 0.3256 0.8816 1.0000 0.7032 0.3218 0.8851 1.0000 0.6985 0.3180 0.8885 1.0000 0.6939 0.3142 0.8919 1.0000 0.6892 0.3105 0.8952 1.0000 0.6846 0.3068 0.8985 1.0000 0.6799 0.3031 0.9017 1.0000 0.6752 0.2994 0.9049 1.0000 0.6705 0.2958 0.9081 1.0000 0.6658 0.2922 0.9112 1.0000 0.6611 0.2886 0.9142 1.0000 0.6564 0.2851 0.9172 1.0000 0.6516 0.2815 0.9202 1.0000 0.6469 0.2780 0.9231 1.0000 0.6422 0.2746 0.9260 1.0000 0.6374 0.2711 0.9288 1.0000 0.6327 0.2677 0.9316 1.0000 0.6279 0.2643 0.9343 1.0000 0.6232 0.2609 0.9370 1.0000 0.6184 0.2576 0.9396 1.0000 0.6137 0.2543 0.9422 1.0000 0.6089 0.2510 0.9447 1.0000 0.6042 0.2477 0.9472 1.0000 0.5994 0.2445 0.9496 1.0000 0.5946 0.2413 0.9520 1.0000 0.5899 0.2381 0.9543 1.0000 0.5851 0.2350 0.9566 1.0000 0.5804 0.2318 0.9588 1.0000 0.5756 0.2287 0.9609 1.0000 0.5709 0.2257 0.9630 1.0000 0.5662 0.2226 0.9651 1.0000 0.5614 0.2196 0.9671 1.0000 0.5567 0.2166 0.9690 1.0000 0.5520 0.2137 0.9709 1.0000 0.5473 0.2107 0.9727 1.0000 0.5425 0.2078 0.9745 1.0000 0.5378 0.2050 0.9762 1.0000 0.5331 0.2021 0.9778 1.0000 0.5285 0.1993 0.9794 1.0000 0.5238 0.1965 0.9810 1.0000 0.5191 0.1937 0.9824 1.0000 0.5145 0.1910 0.9839 1.0000 0.5098 0.1883 0.9852 1.0000 0.5052 0.1856 0.9865 1.0000 0.5006 0.1829 0.9878 1.0000 0.4959 0.1803 0.9890 1.0000 0.4913 0.1777 0.9901 1.0000 0.4868 0.1751 0.9912 1.0000 0.4822 0.1726 0.9922 1.0000 0.4776 0.1701 0.9931 1.0000 0.4731 0.1676 0.9940 1.0000 0.4685 0.1651 0.9948 1.0000 0.4640 0.1626 0.9956 1.0000 0.4595 0.1602 0.9963 1.0000 0.4550 0.1578 0.9969 1.0000 0.4506 0.1555 0.9975 1.0000 0.4461 0.1531 0.9980 1.0000 0.4417 0.1508 0.9985 1.0000 0.4372 0.1485 0.9989 1.0000 0.4328 0.1463 0.9992 1.0000 0.4285 0.1440 0.9995 1.0000 0.4241 0.1418 0.9997 1.0000 0.4197 0.1396 0.9999 1.0000 0.4154 0.1375 1.0000 1.0000 0.4111 0.1353 1.0000 1.0000 viper-1.0.0/src/viper/data/gauss_148.lut0000644000000000000000000001604611667652155016101 0ustar 00000000000000LOOKUP_TABLE ./luts/gauss_148.lut 256 0.8007 0.8007 1.0000 1.0000 0.8049 0.8049 1.0000 1.0000 0.8091 0.8091 0.9999 1.0000 0.8132 0.8132 0.9997 1.0000 0.8173 0.8173 0.9995 1.0000 0.8213 0.8213 0.9992 1.0000 0.8253 0.8253 0.9989 1.0000 0.8293 0.8293 0.9985 1.0000 0.8333 0.8333 0.9980 1.0000 0.8372 0.8372 0.9975 1.0000 0.8411 0.8411 0.9969 1.0000 0.8450 0.8450 0.9963 1.0000 0.8488 0.8488 0.9956 1.0000 0.8526 0.8526 0.9948 1.0000 0.8564 0.8564 0.9940 1.0000 0.8601 0.8601 0.9931 1.0000 0.8638 0.8638 0.9922 1.0000 0.8674 0.8674 0.9912 1.0000 0.8710 0.8710 0.9901 1.0000 0.8746 0.8746 0.9890 1.0000 0.8781 0.8781 0.9878 1.0000 0.8816 0.8816 0.9865 1.0000 0.8851 0.8851 0.9852 1.0000 0.8885 0.8885 0.9839 1.0000 0.8919 0.8919 0.9824 1.0000 0.8952 0.8952 0.9810 1.0000 0.8985 0.8985 0.9794 1.0000 0.9017 0.9017 0.9778 1.0000 0.9049 0.9049 0.9762 1.0000 0.9081 0.9081 0.9745 1.0000 0.9112 0.9112 0.9727 1.0000 0.9142 0.9142 0.9709 1.0000 0.9172 0.9172 0.9690 1.0000 0.9202 0.9202 0.9671 1.0000 0.9231 0.9231 0.9651 1.0000 0.9260 0.9260 0.9630 1.0000 0.9288 0.9288 0.9609 1.0000 0.9316 0.9316 0.9588 1.0000 0.9343 0.9343 0.9566 1.0000 0.9370 0.9370 0.9543 1.0000 0.9396 0.9396 0.9520 1.0000 0.9422 0.9422 0.9496 1.0000 0.9447 0.9447 0.9472 1.0000 0.9472 0.9472 0.9447 1.0000 0.9496 0.9496 0.9422 1.0000 0.9520 0.9520 0.9396 1.0000 0.9543 0.9543 0.9370 1.0000 0.9566 0.9566 0.9343 1.0000 0.9588 0.9588 0.9316 1.0000 0.9609 0.9609 0.9288 1.0000 0.9630 0.9630 0.9260 1.0000 0.9651 0.9651 0.9231 1.0000 0.9671 0.9671 0.9202 1.0000 0.9690 0.9690 0.9172 1.0000 0.9709 0.9709 0.9142 1.0000 0.9727 0.9727 0.9112 1.0000 0.9745 0.9745 0.9081 1.0000 0.9762 0.9762 0.9049 1.0000 0.9778 0.9778 0.9017 1.0000 0.9794 0.9794 0.8985 1.0000 0.9810 0.9810 0.8952 1.0000 0.9824 0.9824 0.8919 1.0000 0.9839 0.9839 0.8885 1.0000 0.9852 0.9852 0.8851 1.0000 0.9865 0.9865 0.8816 1.0000 0.9878 0.9878 0.8781 1.0000 0.9890 0.9890 0.8746 1.0000 0.9901 0.9901 0.8710 1.0000 0.9912 0.9912 0.8674 1.0000 0.9922 0.9922 0.8638 1.0000 0.9931 0.9931 0.8601 1.0000 0.9940 0.9940 0.8564 1.0000 0.9948 0.9948 0.8526 1.0000 0.9956 0.9956 0.8488 1.0000 0.9963 0.9963 0.8450 1.0000 0.9969 0.9969 0.8411 1.0000 0.9975 0.9975 0.8372 1.0000 0.9980 0.9980 0.8333 1.0000 0.9985 0.9985 0.8293 1.0000 0.9989 0.9989 0.8253 1.0000 0.9992 0.9992 0.8213 1.0000 0.9995 0.9995 0.8173 1.0000 0.9997 0.9997 0.8132 1.0000 0.9999 0.9999 0.8091 1.0000 1.0000 1.0000 0.8049 1.0000 1.0000 1.0000 0.8007 1.0000 1.0000 1.0000 0.7965 1.0000 0.9999 0.9999 0.7923 1.0000 0.9997 0.9997 0.7881 1.0000 0.9995 0.9995 0.7838 1.0000 0.9992 0.9992 0.7795 1.0000 0.9989 0.9989 0.7751 1.0000 0.9985 0.9985 0.7708 1.0000 0.9980 0.9980 0.7664 1.0000 0.9975 0.9975 0.7620 1.0000 0.9969 0.9969 0.7576 1.0000 0.9963 0.9963 0.7532 1.0000 0.9956 0.9956 0.7487 1.0000 0.9948 0.9948 0.7442 1.0000 0.9940 0.9940 0.7397 1.0000 0.9931 0.9931 0.7352 1.0000 0.9922 0.9922 0.7307 1.0000 0.9912 0.9912 0.7261 1.0000 0.9901 0.9901 0.7216 1.0000 0.9890 0.9890 0.7170 1.0000 0.9878 0.9878 0.7124 1.0000 0.9865 0.9865 0.7078 1.0000 0.9852 0.9852 0.7032 1.0000 0.9839 0.9839 0.6985 1.0000 0.9824 0.9824 0.6939 1.0000 0.9810 0.9810 0.6892 1.0000 0.9794 0.9794 0.6846 1.0000 0.9778 0.9778 0.6799 1.0000 0.9762 0.9762 0.6752 1.0000 0.9745 0.9745 0.6705 1.0000 0.9727 0.9727 0.6658 1.0000 0.9709 0.9709 0.6611 1.0000 0.9690 0.9690 0.6564 1.0000 0.9671 0.9671 0.6516 1.0000 0.9651 0.9651 0.6469 1.0000 0.9630 0.9630 0.6422 1.0000 0.9609 0.9609 0.6374 1.0000 0.9588 0.9588 0.6327 1.0000 0.9566 0.9566 0.6279 1.0000 0.9543 0.9543 0.6232 1.0000 0.9520 0.9520 0.6184 1.0000 0.9496 0.9496 0.6137 1.0000 0.9472 0.9472 0.6089 1.0000 0.9447 0.9447 0.6042 1.0000 0.9422 0.9422 0.5994 1.0000 0.9396 0.9396 0.5946 1.0000 0.9370 0.9370 0.5899 1.0000 0.9343 0.9343 0.5851 1.0000 0.9316 0.9316 0.5804 1.0000 0.9288 0.9288 0.5756 1.0000 0.9260 0.9260 0.5709 1.0000 0.9231 0.9231 0.5662 1.0000 0.9202 0.9202 0.5614 1.0000 0.9172 0.9172 0.5567 1.0000 0.9142 0.9142 0.5520 1.0000 0.9112 0.9112 0.5473 1.0000 0.9081 0.9081 0.5425 1.0000 0.9049 0.9049 0.5378 1.0000 0.9017 0.9017 0.5331 1.0000 0.8985 0.8985 0.5285 1.0000 0.8952 0.8952 0.5238 1.0000 0.8919 0.8919 0.5191 1.0000 0.8885 0.8885 0.5145 1.0000 0.8851 0.8851 0.5098 1.0000 0.8816 0.8816 0.5052 1.0000 0.8781 0.8781 0.5006 1.0000 0.8746 0.8746 0.4959 1.0000 0.8710 0.8710 0.4913 1.0000 0.8674 0.8674 0.4868 1.0000 0.8638 0.8638 0.4822 1.0000 0.8601 0.8601 0.4776 1.0000 0.8564 0.8564 0.4731 1.0000 0.8526 0.8526 0.4685 1.0000 0.8488 0.8488 0.4640 1.0000 0.8450 0.8450 0.4595 1.0000 0.8411 0.8411 0.4550 1.0000 0.8372 0.8372 0.4506 1.0000 0.8333 0.8333 0.4461 1.0000 0.8293 0.8293 0.4417 1.0000 0.8253 0.8253 0.4372 1.0000 0.8213 0.8213 0.4328 1.0000 0.8173 0.8173 0.4285 1.0000 0.8132 0.8132 0.4241 1.0000 0.8091 0.8091 0.4197 1.0000 0.8049 0.8049 0.4154 1.0000 0.8007 0.8007 0.4111 1.0000 0.7965 0.7965 0.4068 1.0000 0.7923 0.7923 0.4026 1.0000 0.7881 0.7881 0.3983 1.0000 0.7838 0.7838 0.3941 1.0000 0.7795 0.7795 0.3899 1.0000 0.7751 0.7751 0.3857 1.0000 0.7708 0.7708 0.3815 1.0000 0.7664 0.7664 0.3774 1.0000 0.7620 0.7620 0.3733 1.0000 0.7576 0.7576 0.3692 1.0000 0.7532 0.7532 0.3651 1.0000 0.7487 0.7487 0.3610 1.0000 0.7442 0.7442 0.3570 1.0000 0.7397 0.7397 0.3530 1.0000 0.7352 0.7352 0.3490 1.0000 0.7307 0.7307 0.3450 1.0000 0.7261 0.7261 0.3411 1.0000 0.7216 0.7216 0.3372 1.0000 0.7170 0.7170 0.3333 1.0000 0.7124 0.7124 0.3294 1.0000 0.7078 0.7078 0.3256 1.0000 0.7032 0.7032 0.3218 1.0000 0.6985 0.6985 0.3180 1.0000 0.6939 0.6939 0.3142 1.0000 0.6892 0.6892 0.3105 1.0000 0.6846 0.6846 0.3068 1.0000 0.6799 0.6799 0.3031 1.0000 0.6752 0.6752 0.2994 1.0000 0.6705 0.6705 0.2958 1.0000 0.6658 0.6658 0.2922 1.0000 0.6611 0.6611 0.2886 1.0000 0.6564 0.6564 0.2851 1.0000 0.6516 0.6516 0.2815 1.0000 0.6469 0.6469 0.2780 1.0000 0.6422 0.6422 0.2746 1.0000 0.6374 0.6374 0.2711 1.0000 0.6327 0.6327 0.2677 1.0000 0.6279 0.6279 0.2643 1.0000 0.6232 0.6232 0.2609 1.0000 0.6184 0.6184 0.2576 1.0000 0.6137 0.6137 0.2543 1.0000 0.6089 0.6089 0.2510 1.0000 0.6042 0.6042 0.2477 1.0000 0.5994 0.5994 0.2445 1.0000 0.5946 0.5946 0.2413 1.0000 0.5899 0.5899 0.2381 1.0000 0.5851 0.5851 0.2350 1.0000 0.5804 0.5804 0.2318 1.0000 0.5756 0.5756 0.2287 1.0000 0.5709 0.5709 0.2257 1.0000 0.5662 0.5662 0.2226 1.0000 0.5614 0.5614 0.2196 1.0000 0.5567 0.5567 0.2166 1.0000 0.5520 0.5520 0.2137 1.0000 0.5473 0.5473 0.2107 1.0000 0.5425 0.5425 0.2078 1.0000 0.5378 0.5378 0.2050 1.0000 0.5331 0.5331 0.2021 1.0000 0.5285 0.5285 0.1993 1.0000 0.5238 0.5238 0.1965 1.0000 0.5191 0.5191 0.1937 1.0000 0.5145 0.5145 0.1910 1.0000 0.5098 0.5098 0.1883 1.0000 0.5052 0.5052 0.1856 1.0000 0.5006 0.5006 0.1829 1.0000 0.4959 0.4959 0.1803 1.0000 0.4913 0.4913 0.1777 1.0000 0.4868 0.4868 0.1751 1.0000 0.4822 0.4822 0.1726 1.0000 0.4776 0.4776 0.1701 1.0000 0.4731 0.4731 0.1676 1.0000 0.4685 0.4685 0.1651 1.0000 0.4640 0.4640 0.1626 1.0000 0.4595 0.4595 0.1602 1.0000 0.4550 0.4550 0.1578 1.0000 0.4506 0.4506 0.1555 1.0000 0.4461 0.4461 0.1531 1.0000 0.4417 0.4417 0.1508 1.0000 0.4372 0.4372 0.1485 1.0000 0.4328 0.4328 0.1463 1.0000 0.4285 0.4285 0.1440 1.0000 0.4241 0.4241 0.1418 1.0000 0.4197 0.4197 0.1396 1.0000 0.4154 0.4154 0.1375 1.0000 0.4111 0.4111 0.1353 1.0000 viper-1.0.0/src/viper/data/gauss_164.lut0000644000000000000000000001604611667652155016077 0ustar 00000000000000LOOKUP_TABLE ./luts/gauss_164.lut 256 0.4111 0.8007 1.0000 1.0000 0.4154 0.8049 1.0000 1.0000 0.4197 0.8091 0.9999 1.0000 0.4241 0.8132 0.9997 1.0000 0.4285 0.8173 0.9995 1.0000 0.4328 0.8213 0.9992 1.0000 0.4372 0.8253 0.9989 1.0000 0.4417 0.8293 0.9985 1.0000 0.4461 0.8333 0.9980 1.0000 0.4506 0.8372 0.9975 1.0000 0.4550 0.8411 0.9969 1.0000 0.4595 0.8450 0.9963 1.0000 0.4640 0.8488 0.9956 1.0000 0.4685 0.8526 0.9948 1.0000 0.4731 0.8564 0.9940 1.0000 0.4776 0.8601 0.9931 1.0000 0.4822 0.8638 0.9922 1.0000 0.4868 0.8674 0.9912 1.0000 0.4913 0.8710 0.9901 1.0000 0.4959 0.8746 0.9890 1.0000 0.5006 0.8781 0.9878 1.0000 0.5052 0.8816 0.9865 1.0000 0.5098 0.8851 0.9852 1.0000 0.5145 0.8885 0.9839 1.0000 0.5191 0.8919 0.9824 1.0000 0.5238 0.8952 0.9810 1.0000 0.5285 0.8985 0.9794 1.0000 0.5331 0.9017 0.9778 1.0000 0.5378 0.9049 0.9762 1.0000 0.5425 0.9081 0.9745 1.0000 0.5473 0.9112 0.9727 1.0000 0.5520 0.9142 0.9709 1.0000 0.5567 0.9172 0.9690 1.0000 0.5614 0.9202 0.9671 1.0000 0.5662 0.9231 0.9651 1.0000 0.5709 0.9260 0.9630 1.0000 0.5756 0.9288 0.9609 1.0000 0.5804 0.9316 0.9588 1.0000 0.5851 0.9343 0.9566 1.0000 0.5899 0.9370 0.9543 1.0000 0.5946 0.9396 0.9520 1.0000 0.5994 0.9422 0.9496 1.0000 0.6042 0.9447 0.9472 1.0000 0.6089 0.9472 0.9447 1.0000 0.6137 0.9496 0.9422 1.0000 0.6184 0.9520 0.9396 1.0000 0.6232 0.9543 0.9370 1.0000 0.6279 0.9566 0.9343 1.0000 0.6327 0.9588 0.9316 1.0000 0.6374 0.9609 0.9288 1.0000 0.6422 0.9630 0.9260 1.0000 0.6469 0.9651 0.9231 1.0000 0.6516 0.9671 0.9202 1.0000 0.6564 0.9690 0.9172 1.0000 0.6611 0.9709 0.9142 1.0000 0.6658 0.9727 0.9112 1.0000 0.6705 0.9745 0.9081 1.0000 0.6752 0.9762 0.9049 1.0000 0.6799 0.9778 0.9017 1.0000 0.6846 0.9794 0.8985 1.0000 0.6892 0.9810 0.8952 1.0000 0.6939 0.9824 0.8919 1.0000 0.6985 0.9839 0.8885 1.0000 0.7032 0.9852 0.8851 1.0000 0.7078 0.9865 0.8816 1.0000 0.7124 0.9878 0.8781 1.0000 0.7170 0.9890 0.8746 1.0000 0.7216 0.9901 0.8710 1.0000 0.7261 0.9912 0.8674 1.0000 0.7307 0.9922 0.8638 1.0000 0.7352 0.9931 0.8601 1.0000 0.7397 0.9940 0.8564 1.0000 0.7442 0.9948 0.8526 1.0000 0.7487 0.9956 0.8488 1.0000 0.7532 0.9963 0.8450 1.0000 0.7576 0.9969 0.8411 1.0000 0.7620 0.9975 0.8372 1.0000 0.7664 0.9980 0.8333 1.0000 0.7708 0.9985 0.8293 1.0000 0.7751 0.9989 0.8253 1.0000 0.7795 0.9992 0.8213 1.0000 0.7838 0.9995 0.8173 1.0000 0.7881 0.9997 0.8132 1.0000 0.7923 0.9999 0.8091 1.0000 0.7965 1.0000 0.8049 1.0000 0.8007 1.0000 0.8007 1.0000 0.8049 1.0000 0.7965 1.0000 0.8091 0.9999 0.7923 1.0000 0.8132 0.9997 0.7881 1.0000 0.8173 0.9995 0.7838 1.0000 0.8213 0.9992 0.7795 1.0000 0.8253 0.9989 0.7751 1.0000 0.8293 0.9985 0.7708 1.0000 0.8333 0.9980 0.7664 1.0000 0.8372 0.9975 0.7620 1.0000 0.8411 0.9969 0.7576 1.0000 0.8450 0.9963 0.7532 1.0000 0.8488 0.9956 0.7487 1.0000 0.8526 0.9948 0.7442 1.0000 0.8564 0.9940 0.7397 1.0000 0.8601 0.9931 0.7352 1.0000 0.8638 0.9922 0.7307 1.0000 0.8674 0.9912 0.7261 1.0000 0.8710 0.9901 0.7216 1.0000 0.8746 0.9890 0.7170 1.0000 0.8781 0.9878 0.7124 1.0000 0.8816 0.9865 0.7078 1.0000 0.8851 0.9852 0.7032 1.0000 0.8885 0.9839 0.6985 1.0000 0.8919 0.9824 0.6939 1.0000 0.8952 0.9810 0.6892 1.0000 0.8985 0.9794 0.6846 1.0000 0.9017 0.9778 0.6799 1.0000 0.9049 0.9762 0.6752 1.0000 0.9081 0.9745 0.6705 1.0000 0.9112 0.9727 0.6658 1.0000 0.9142 0.9709 0.6611 1.0000 0.9172 0.9690 0.6564 1.0000 0.9202 0.9671 0.6516 1.0000 0.9231 0.9651 0.6469 1.0000 0.9260 0.9630 0.6422 1.0000 0.9288 0.9609 0.6374 1.0000 0.9316 0.9588 0.6327 1.0000 0.9343 0.9566 0.6279 1.0000 0.9370 0.9543 0.6232 1.0000 0.9396 0.9520 0.6184 1.0000 0.9422 0.9496 0.6137 1.0000 0.9447 0.9472 0.6089 1.0000 0.9472 0.9447 0.6042 1.0000 0.9496 0.9422 0.5994 1.0000 0.9520 0.9396 0.5946 1.0000 0.9543 0.9370 0.5899 1.0000 0.9566 0.9343 0.5851 1.0000 0.9588 0.9316 0.5804 1.0000 0.9609 0.9288 0.5756 1.0000 0.9630 0.9260 0.5709 1.0000 0.9651 0.9231 0.5662 1.0000 0.9671 0.9202 0.5614 1.0000 0.9690 0.9172 0.5567 1.0000 0.9709 0.9142 0.5520 1.0000 0.9727 0.9112 0.5473 1.0000 0.9745 0.9081 0.5425 1.0000 0.9762 0.9049 0.5378 1.0000 0.9778 0.9017 0.5331 1.0000 0.9794 0.8985 0.5285 1.0000 0.9810 0.8952 0.5238 1.0000 0.9824 0.8919 0.5191 1.0000 0.9839 0.8885 0.5145 1.0000 0.9852 0.8851 0.5098 1.0000 0.9865 0.8816 0.5052 1.0000 0.9878 0.8781 0.5006 1.0000 0.9890 0.8746 0.4959 1.0000 0.9901 0.8710 0.4913 1.0000 0.9912 0.8674 0.4868 1.0000 0.9922 0.8638 0.4822 1.0000 0.9931 0.8601 0.4776 1.0000 0.9940 0.8564 0.4731 1.0000 0.9948 0.8526 0.4685 1.0000 0.9956 0.8488 0.4640 1.0000 0.9963 0.8450 0.4595 1.0000 0.9969 0.8411 0.4550 1.0000 0.9975 0.8372 0.4506 1.0000 0.9980 0.8333 0.4461 1.0000 0.9985 0.8293 0.4417 1.0000 0.9989 0.8253 0.4372 1.0000 0.9992 0.8213 0.4328 1.0000 0.9995 0.8173 0.4285 1.0000 0.9997 0.8132 0.4241 1.0000 0.9999 0.8091 0.4197 1.0000 1.0000 0.8049 0.4154 1.0000 1.0000 0.8007 0.4111 1.0000 1.0000 0.7965 0.4068 1.0000 0.9999 0.7923 0.4026 1.0000 0.9997 0.7881 0.3983 1.0000 0.9995 0.7838 0.3941 1.0000 0.9992 0.7795 0.3899 1.0000 0.9989 0.7751 0.3857 1.0000 0.9985 0.7708 0.3815 1.0000 0.9980 0.7664 0.3774 1.0000 0.9975 0.7620 0.3733 1.0000 0.9969 0.7576 0.3692 1.0000 0.9963 0.7532 0.3651 1.0000 0.9956 0.7487 0.3610 1.0000 0.9948 0.7442 0.3570 1.0000 0.9940 0.7397 0.3530 1.0000 0.9931 0.7352 0.3490 1.0000 0.9922 0.7307 0.3450 1.0000 0.9912 0.7261 0.3411 1.0000 0.9901 0.7216 0.3372 1.0000 0.9890 0.7170 0.3333 1.0000 0.9878 0.7124 0.3294 1.0000 0.9865 0.7078 0.3256 1.0000 0.9852 0.7032 0.3218 1.0000 0.9839 0.6985 0.3180 1.0000 0.9824 0.6939 0.3142 1.0000 0.9810 0.6892 0.3105 1.0000 0.9794 0.6846 0.3068 1.0000 0.9778 0.6799 0.3031 1.0000 0.9762 0.6752 0.2994 1.0000 0.9745 0.6705 0.2958 1.0000 0.9727 0.6658 0.2922 1.0000 0.9709 0.6611 0.2886 1.0000 0.9690 0.6564 0.2851 1.0000 0.9671 0.6516 0.2815 1.0000 0.9651 0.6469 0.2780 1.0000 0.9630 0.6422 0.2746 1.0000 0.9609 0.6374 0.2711 1.0000 0.9588 0.6327 0.2677 1.0000 0.9566 0.6279 0.2643 1.0000 0.9543 0.6232 0.2609 1.0000 0.9520 0.6184 0.2576 1.0000 0.9496 0.6137 0.2543 1.0000 0.9472 0.6089 0.2510 1.0000 0.9447 0.6042 0.2477 1.0000 0.9422 0.5994 0.2445 1.0000 0.9396 0.5946 0.2413 1.0000 0.9370 0.5899 0.2381 1.0000 0.9343 0.5851 0.2350 1.0000 0.9316 0.5804 0.2318 1.0000 0.9288 0.5756 0.2287 1.0000 0.9260 0.5709 0.2257 1.0000 0.9231 0.5662 0.2226 1.0000 0.9202 0.5614 0.2196 1.0000 0.9172 0.5567 0.2166 1.0000 0.9142 0.5520 0.2137 1.0000 0.9112 0.5473 0.2107 1.0000 0.9081 0.5425 0.2078 1.0000 0.9049 0.5378 0.2050 1.0000 0.9017 0.5331 0.2021 1.0000 0.8985 0.5285 0.1993 1.0000 0.8952 0.5238 0.1965 1.0000 0.8919 0.5191 0.1937 1.0000 0.8885 0.5145 0.1910 1.0000 0.8851 0.5098 0.1883 1.0000 0.8816 0.5052 0.1856 1.0000 0.8781 0.5006 0.1829 1.0000 0.8746 0.4959 0.1803 1.0000 0.8710 0.4913 0.1777 1.0000 0.8674 0.4868 0.1751 1.0000 0.8638 0.4822 0.1726 1.0000 0.8601 0.4776 0.1701 1.0000 0.8564 0.4731 0.1676 1.0000 0.8526 0.4685 0.1651 1.0000 0.8488 0.4640 0.1626 1.0000 0.8450 0.4595 0.1602 1.0000 0.8411 0.4550 0.1578 1.0000 0.8372 0.4506 0.1555 1.0000 0.8333 0.4461 0.1531 1.0000 0.8293 0.4417 0.1508 1.0000 0.8253 0.4372 0.1485 1.0000 0.8213 0.4328 0.1463 1.0000 0.8173 0.4285 0.1440 1.0000 0.8132 0.4241 0.1418 1.0000 0.8091 0.4197 0.1396 1.0000 0.8049 0.4154 0.1375 1.0000 0.8007 0.4111 0.1353 1.0000 viper-1.0.0/src/viper/data/pm3d_01.lut0000644000000000000000000001604411667652155015524 0ustar 00000000000000LOOKUP_TABLE ./luts/pm3d_01.lut 256 0.0000 0.0000 0.0000 1.0000 0.0062 0.0000 0.0246 1.0000 0.0123 0.0000 0.0493 1.0000 0.0185 0.0000 0.0739 1.0000 0.0246 0.0000 0.0984 1.0000 0.0308 0.0000 0.1229 1.0000 0.0370 0.0000 0.1473 1.0000 0.0431 0.0000 0.1716 1.0000 0.0493 0.0000 0.1958 1.0000 0.0554 0.0000 0.2199 1.0000 0.0616 0.0001 0.2439 1.0000 0.0677 0.0001 0.2677 1.0000 0.0739 0.0001 0.2914 1.0000 0.0800 0.0001 0.3149 1.0000 0.0861 0.0002 0.3382 1.0000 0.0923 0.0002 0.3612 1.0000 0.0984 0.0002 0.3841 1.0000 0.1045 0.0003 0.4067 1.0000 0.1107 0.0004 0.4291 1.0000 0.1168 0.0004 0.4512 1.0000 0.1229 0.0005 0.4731 1.0000 0.1290 0.0006 0.4947 1.0000 0.1351 0.0006 0.5159 1.0000 0.1412 0.0007 0.5369 1.0000 0.1473 0.0008 0.5575 1.0000 0.1534 0.0009 0.5778 1.0000 0.1595 0.0011 0.5977 1.0000 0.1656 0.0012 0.6173 1.0000 0.1716 0.0013 0.6365 1.0000 0.1777 0.0015 0.6553 1.0000 0.1837 0.0016 0.6737 1.0000 0.1898 0.0018 0.6917 1.0000 0.1958 0.0020 0.7093 1.0000 0.2019 0.0022 0.7264 1.0000 0.2079 0.0024 0.7431 1.0000 0.2139 0.0026 0.7594 1.0000 0.2199 0.0028 0.7752 1.0000 0.2260 0.0031 0.7905 1.0000 0.2319 0.0033 0.8054 1.0000 0.2379 0.0036 0.8197 1.0000 0.2439 0.0039 0.8336 1.0000 0.2499 0.0042 0.8470 1.0000 0.2558 0.0045 0.8598 1.0000 0.2618 0.0048 0.8721 1.0000 0.2677 0.0051 0.8839 1.0000 0.2737 0.0055 0.8952 1.0000 0.2796 0.0059 0.9059 1.0000 0.2855 0.0063 0.9160 1.0000 0.2914 0.0067 0.9256 1.0000 0.2973 0.0071 0.9347 1.0000 0.3032 0.0075 0.9432 1.0000 0.3090 0.0080 0.9511 1.0000 0.3149 0.0085 0.9584 1.0000 0.3207 0.0090 0.9651 1.0000 0.3265 0.0095 0.9713 1.0000 0.3324 0.0100 0.9768 1.0000 0.3382 0.0106 0.9818 1.0000 0.3439 0.0112 0.9862 1.0000 0.3497 0.0118 0.9900 1.0000 0.3555 0.0124 0.9932 1.0000 0.3612 0.0130 0.9957 1.0000 0.3670 0.0137 0.9977 1.0000 0.3727 0.0144 0.9991 1.0000 0.3784 0.0151 0.9998 1.0000 0.3841 0.0158 1.0000 1.0000 0.3898 0.0166 0.9995 1.0000 0.3955 0.0173 0.9985 1.0000 0.4011 0.0181 0.9968 1.0000 0.4067 0.0190 0.9945 1.0000 0.4124 0.0198 0.9916 1.0000 0.4180 0.0207 0.9882 1.0000 0.4235 0.0216 0.9841 1.0000 0.4291 0.0225 0.9794 1.0000 0.4347 0.0235 0.9741 1.0000 0.4402 0.0244 0.9683 1.0000 0.4457 0.0254 0.9618 1.0000 0.4512 0.0265 0.9548 1.0000 0.4567 0.0275 0.9472 1.0000 0.4622 0.0286 0.9390 1.0000 0.4677 0.0297 0.9302 1.0000 0.4731 0.0309 0.9209 1.0000 0.4785 0.0321 0.9110 1.0000 0.4839 0.0333 0.9006 1.0000 0.4893 0.0345 0.8896 1.0000 0.4947 0.0357 0.8781 1.0000 0.5000 0.0370 0.8660 1.0000 0.5053 0.0384 0.8534 1.0000 0.5106 0.0397 0.8403 1.0000 0.5159 0.0411 0.8267 1.0000 0.5212 0.0425 0.8126 1.0000 0.5264 0.0440 0.7980 1.0000 0.5317 0.0454 0.7829 1.0000 0.5369 0.0470 0.7674 1.0000 0.5421 0.0485 0.7513 1.0000 0.5472 0.0501 0.7348 1.0000 0.5524 0.0517 0.7179 1.0000 0.5575 0.0534 0.7005 1.0000 0.5626 0.0550 0.6827 1.0000 0.5677 0.0568 0.6645 1.0000 0.5727 0.0585 0.6459 1.0000 0.5778 0.0603 0.6269 1.0000 0.5828 0.0621 0.6075 1.0000 0.5878 0.0640 0.5878 1.0000 0.5928 0.0659 0.5677 1.0000 0.5977 0.0678 0.5472 1.0000 0.6026 0.0698 0.5264 1.0000 0.6075 0.0718 0.5053 1.0000 0.6124 0.0739 0.4839 1.0000 0.6173 0.0760 0.4622 1.0000 0.6221 0.0781 0.4402 1.0000 0.6269 0.0803 0.4180 1.0000 0.6317 0.0825 0.3955 1.0000 0.6365 0.0847 0.3727 1.0000 0.6412 0.0870 0.3497 1.0000 0.6459 0.0893 0.3265 1.0000 0.6506 0.0917 0.3032 1.0000 0.6553 0.0941 0.2796 1.0000 0.6599 0.0966 0.2558 1.0000 0.6645 0.0991 0.2319 1.0000 0.6691 0.1016 0.2079 1.0000 0.6737 0.1042 0.1837 1.0000 0.6782 0.1068 0.1595 1.0000 0.6827 0.1095 0.1351 1.0000 0.6872 0.1122 0.1107 1.0000 0.6917 0.1150 0.0861 1.0000 0.6961 0.1178 0.0616 1.0000 0.7005 0.1206 0.0370 1.0000 0.7049 0.1235 0.0123 1.0000 0.7093 0.1265 0.0000 1.0000 0.7136 0.1295 0.0000 1.0000 0.7179 0.1325 0.0000 1.0000 0.7222 0.1356 0.0000 1.0000 0.7264 0.1387 0.0000 1.0000 0.7307 0.1419 0.0000 1.0000 0.7348 0.1451 0.0000 1.0000 0.7390 0.1484 0.0000 1.0000 0.7431 0.1517 0.0000 1.0000 0.7473 0.1551 0.0000 1.0000 0.7513 0.1585 0.0000 1.0000 0.7554 0.1620 0.0000 1.0000 0.7594 0.1655 0.0000 1.0000 0.7634 0.1691 0.0000 1.0000 0.7674 0.1727 0.0000 1.0000 0.7713 0.1764 0.0000 1.0000 0.7752 0.1801 0.0000 1.0000 0.7791 0.1839 0.0000 1.0000 0.7829 0.1877 0.0000 1.0000 0.7867 0.1916 0.0000 1.0000 0.7905 0.1955 0.0000 1.0000 0.7943 0.1995 0.0000 1.0000 0.7980 0.2035 0.0000 1.0000 0.8017 0.2076 0.0000 1.0000 0.8054 0.2118 0.0000 1.0000 0.8090 0.2160 0.0000 1.0000 0.8126 0.2203 0.0000 1.0000 0.8162 0.2246 0.0000 1.0000 0.8197 0.2290 0.0000 1.0000 0.8233 0.2334 0.0000 1.0000 0.8267 0.2379 0.0000 1.0000 0.8302 0.2424 0.0000 1.0000 0.8336 0.2470 0.0000 1.0000 0.8370 0.2517 0.0000 1.0000 0.8403 0.2564 0.0000 1.0000 0.8437 0.2612 0.0000 1.0000 0.8470 0.2660 0.0000 1.0000 0.8502 0.2709 0.0000 1.0000 0.8534 0.2759 0.0000 1.0000 0.8566 0.2809 0.0000 1.0000 0.8598 0.2860 0.0000 1.0000 0.8629 0.2911 0.0000 1.0000 0.8660 0.2963 0.0000 1.0000 0.8691 0.3016 0.0000 1.0000 0.8721 0.3069 0.0000 1.0000 0.8751 0.3123 0.0000 1.0000 0.8781 0.3177 0.0000 1.0000 0.8810 0.3232 0.0000 1.0000 0.8839 0.3288 0.0000 1.0000 0.8868 0.3344 0.0000 1.0000 0.8896 0.3401 0.0000 1.0000 0.8924 0.3459 0.0000 1.0000 0.8952 0.3517 0.0000 1.0000 0.8979 0.3576 0.0000 1.0000 0.9006 0.3636 0.0000 1.0000 0.9032 0.3696 0.0000 1.0000 0.9059 0.3757 0.0000 1.0000 0.9085 0.3819 0.0000 1.0000 0.9110 0.3881 0.0000 1.0000 0.9135 0.3944 0.0000 1.0000 0.9160 0.4007 0.0000 1.0000 0.9185 0.4072 0.0000 1.0000 0.9209 0.4137 0.0000 1.0000 0.9233 0.4202 0.0000 1.0000 0.9256 0.4269 0.0000 1.0000 0.9280 0.4336 0.0000 1.0000 0.9302 0.4403 0.0000 1.0000 0.9325 0.4472 0.0000 1.0000 0.9347 0.4541 0.0000 1.0000 0.9369 0.4611 0.0000 1.0000 0.9390 0.4681 0.0000 1.0000 0.9411 0.4753 0.0000 1.0000 0.9432 0.4825 0.0000 1.0000 0.9452 0.4897 0.0000 1.0000 0.9472 0.4971 0.0000 1.0000 0.9491 0.5045 0.0000 1.0000 0.9511 0.5120 0.0000 1.0000 0.9529 0.5196 0.0000 1.0000 0.9548 0.5272 0.0000 1.0000 0.9566 0.5349 0.0000 1.0000 0.9584 0.5427 0.0000 1.0000 0.9601 0.5506 0.0000 1.0000 0.9618 0.5585 0.0000 1.0000 0.9635 0.5665 0.0000 1.0000 0.9651 0.5746 0.0000 1.0000 0.9667 0.5828 0.0000 1.0000 0.9683 0.5910 0.0000 1.0000 0.9698 0.5994 0.0000 1.0000 0.9713 0.6078 0.0000 1.0000 0.9727 0.6163 0.0000 1.0000 0.9741 0.6248 0.0000 1.0000 0.9755 0.6334 0.0000 1.0000 0.9768 0.6422 0.0000 1.0000 0.9781 0.6510 0.0000 1.0000 0.9794 0.6598 0.0000 1.0000 0.9806 0.6688 0.0000 1.0000 0.9818 0.6778 0.0000 1.0000 0.9830 0.6870 0.0000 1.0000 0.9841 0.6962 0.0000 1.0000 0.9852 0.7054 0.0000 1.0000 0.9862 0.7148 0.0000 1.0000 0.9872 0.7242 0.0000 1.0000 0.9882 0.7338 0.0000 1.0000 0.9891 0.7434 0.0000 1.0000 0.9900 0.7531 0.0000 1.0000 0.9908 0.7629 0.0000 1.0000 0.9916 0.7727 0.0000 1.0000 0.9924 0.7827 0.0000 1.0000 0.9932 0.7927 0.0000 1.0000 0.9939 0.8028 0.0000 1.0000 0.9945 0.8130 0.0000 1.0000 0.9951 0.8233 0.0000 1.0000 0.9957 0.8337 0.0000 1.0000 0.9963 0.8442 0.0000 1.0000 0.9968 0.8547 0.0000 1.0000 0.9973 0.8654 0.0000 1.0000 0.9977 0.8761 0.0000 1.0000 0.9981 0.8869 0.0000 1.0000 0.9985 0.8978 0.0000 1.0000 0.9988 0.9088 0.0000 1.0000 0.9991 0.9199 0.0000 1.0000 0.9993 0.9311 0.0000 1.0000 0.9995 0.9423 0.0000 1.0000 0.9997 0.9537 0.0000 1.0000 0.9998 0.9651 0.0000 1.0000 0.9999 0.9767 0.0000 1.0000 1.0000 0.9883 0.0000 1.0000 1.0000 1.0000 0.0000 1.0000 viper-1.0.0/src/viper/data/pm3d_03.lut0000644000000000000000000001604411667652155015526 0ustar 00000000000000LOOKUP_TABLE ./luts/pm3d_03.lut 256 0.0000 0.0000 0.0000 1.0000 0.0123 0.0000 0.0246 1.0000 0.0246 0.0000 0.0493 1.0000 0.0370 0.0000 0.0739 1.0000 0.0493 0.0000 0.0984 1.0000 0.0616 0.0000 0.1229 1.0000 0.0739 0.0000 0.1473 1.0000 0.0861 0.0000 0.1716 1.0000 0.0984 0.0000 0.1958 1.0000 0.1107 0.0000 0.2199 1.0000 0.1229 0.0001 0.2439 1.0000 0.1351 0.0001 0.2677 1.0000 0.1473 0.0001 0.2914 1.0000 0.1595 0.0001 0.3149 1.0000 0.1716 0.0002 0.3382 1.0000 0.1837 0.0002 0.3612 1.0000 0.1958 0.0002 0.3841 1.0000 0.2079 0.0003 0.4067 1.0000 0.2199 0.0004 0.4291 1.0000 0.2319 0.0004 0.4512 1.0000 0.2439 0.0005 0.4731 1.0000 0.2558 0.0006 0.4947 1.0000 0.2677 0.0006 0.5159 1.0000 0.2796 0.0007 0.5369 1.0000 0.2914 0.0008 0.5575 1.0000 0.3032 0.0009 0.5778 1.0000 0.3149 0.0011 0.5977 1.0000 0.3265 0.0012 0.6173 1.0000 0.3382 0.0013 0.6365 1.0000 0.3497 0.0015 0.6553 1.0000 0.3612 0.0016 0.6737 1.0000 0.3727 0.0018 0.6917 1.0000 0.3841 0.0020 0.7093 1.0000 0.3955 0.0022 0.7264 1.0000 0.4067 0.0024 0.7431 1.0000 0.4180 0.0026 0.7594 1.0000 0.4291 0.0028 0.7752 1.0000 0.4402 0.0031 0.7905 1.0000 0.4512 0.0033 0.8054 1.0000 0.4622 0.0036 0.8197 1.0000 0.4731 0.0039 0.8336 1.0000 0.4839 0.0042 0.8470 1.0000 0.4947 0.0045 0.8598 1.0000 0.5053 0.0048 0.8721 1.0000 0.5159 0.0051 0.8839 1.0000 0.5264 0.0055 0.8952 1.0000 0.5369 0.0059 0.9059 1.0000 0.5472 0.0063 0.9160 1.0000 0.5575 0.0067 0.9256 1.0000 0.5677 0.0071 0.9347 1.0000 0.5778 0.0075 0.9432 1.0000 0.5878 0.0080 0.9511 1.0000 0.5977 0.0085 0.9584 1.0000 0.6075 0.0090 0.9651 1.0000 0.6173 0.0095 0.9713 1.0000 0.6269 0.0100 0.9768 1.0000 0.6365 0.0106 0.9818 1.0000 0.6459 0.0112 0.9862 1.0000 0.6553 0.0118 0.9900 1.0000 0.6645 0.0124 0.9932 1.0000 0.6737 0.0130 0.9957 1.0000 0.6827 0.0137 0.9977 1.0000 0.6917 0.0144 0.9991 1.0000 0.7005 0.0151 0.9998 1.0000 0.7093 0.0158 1.0000 1.0000 0.7179 0.0166 0.9995 1.0000 0.7264 0.0173 0.9985 1.0000 0.7348 0.0181 0.9968 1.0000 0.7431 0.0190 0.9945 1.0000 0.7513 0.0198 0.9916 1.0000 0.7594 0.0207 0.9882 1.0000 0.7674 0.0216 0.9841 1.0000 0.7752 0.0225 0.9794 1.0000 0.7829 0.0235 0.9741 1.0000 0.7905 0.0244 0.9683 1.0000 0.7980 0.0254 0.9618 1.0000 0.8054 0.0265 0.9548 1.0000 0.8126 0.0275 0.9472 1.0000 0.8197 0.0286 0.9390 1.0000 0.8267 0.0297 0.9302 1.0000 0.8336 0.0309 0.9209 1.0000 0.8403 0.0321 0.9110 1.0000 0.8470 0.0333 0.9006 1.0000 0.8534 0.0345 0.8896 1.0000 0.8598 0.0357 0.8781 1.0000 0.8660 0.0370 0.8660 1.0000 0.8721 0.0384 0.8534 1.0000 0.8781 0.0397 0.8403 1.0000 0.8839 0.0411 0.8267 1.0000 0.8896 0.0425 0.8126 1.0000 0.8952 0.0440 0.7980 1.0000 0.9006 0.0454 0.7829 1.0000 0.9059 0.0470 0.7674 1.0000 0.9110 0.0485 0.7513 1.0000 0.9160 0.0501 0.7348 1.0000 0.9209 0.0517 0.7179 1.0000 0.9256 0.0534 0.7005 1.0000 0.9302 0.0550 0.6827 1.0000 0.9347 0.0568 0.6645 1.0000 0.9390 0.0585 0.6459 1.0000 0.9432 0.0603 0.6269 1.0000 0.9472 0.0621 0.6075 1.0000 0.9511 0.0640 0.5878 1.0000 0.9548 0.0659 0.5677 1.0000 0.9584 0.0678 0.5472 1.0000 0.9618 0.0698 0.5264 1.0000 0.9651 0.0718 0.5053 1.0000 0.9683 0.0739 0.4839 1.0000 0.9713 0.0760 0.4622 1.0000 0.9741 0.0781 0.4402 1.0000 0.9768 0.0803 0.4180 1.0000 0.9794 0.0825 0.3955 1.0000 0.9818 0.0847 0.3727 1.0000 0.9841 0.0870 0.3497 1.0000 0.9862 0.0893 0.3265 1.0000 0.9882 0.0917 0.3032 1.0000 0.9900 0.0941 0.2796 1.0000 0.9916 0.0966 0.2558 1.0000 0.9932 0.0991 0.2319 1.0000 0.9945 0.1016 0.2079 1.0000 0.9957 0.1042 0.1837 1.0000 0.9968 0.1068 0.1595 1.0000 0.9977 0.1095 0.1351 1.0000 0.9985 0.1122 0.1107 1.0000 0.9991 0.1150 0.0861 1.0000 0.9995 0.1178 0.0616 1.0000 0.9998 0.1206 0.0370 1.0000 1.0000 0.1235 0.0123 1.0000 1.0000 0.1265 0.0000 1.0000 0.9998 0.1295 0.0000 1.0000 0.9995 0.1325 0.0000 1.0000 0.9991 0.1356 0.0000 1.0000 0.9985 0.1387 0.0000 1.0000 0.9977 0.1419 0.0000 1.0000 0.9968 0.1451 0.0000 1.0000 0.9957 0.1484 0.0000 1.0000 0.9945 0.1517 0.0000 1.0000 0.9932 0.1551 0.0000 1.0000 0.9916 0.1585 0.0000 1.0000 0.9900 0.1620 0.0000 1.0000 0.9882 0.1655 0.0000 1.0000 0.9862 0.1691 0.0000 1.0000 0.9841 0.1727 0.0000 1.0000 0.9818 0.1764 0.0000 1.0000 0.9794 0.1801 0.0000 1.0000 0.9768 0.1839 0.0000 1.0000 0.9741 0.1877 0.0000 1.0000 0.9713 0.1916 0.0000 1.0000 0.9683 0.1955 0.0000 1.0000 0.9651 0.1995 0.0000 1.0000 0.9618 0.2035 0.0000 1.0000 0.9584 0.2076 0.0000 1.0000 0.9548 0.2118 0.0000 1.0000 0.9511 0.2160 0.0000 1.0000 0.9472 0.2203 0.0000 1.0000 0.9432 0.2246 0.0000 1.0000 0.9390 0.2290 0.0000 1.0000 0.9347 0.2334 0.0000 1.0000 0.9302 0.2379 0.0000 1.0000 0.9256 0.2424 0.0000 1.0000 0.9209 0.2470 0.0000 1.0000 0.9160 0.2517 0.0000 1.0000 0.9110 0.2564 0.0000 1.0000 0.9059 0.2612 0.0000 1.0000 0.9006 0.2660 0.0000 1.0000 0.8952 0.2709 0.0000 1.0000 0.8896 0.2759 0.0000 1.0000 0.8839 0.2809 0.0000 1.0000 0.8781 0.2860 0.0000 1.0000 0.8721 0.2911 0.0000 1.0000 0.8660 0.2963 0.0000 1.0000 0.8598 0.3016 0.0000 1.0000 0.8534 0.3069 0.0000 1.0000 0.8470 0.3123 0.0000 1.0000 0.8403 0.3177 0.0000 1.0000 0.8336 0.3232 0.0000 1.0000 0.8267 0.3288 0.0000 1.0000 0.8197 0.3344 0.0000 1.0000 0.8126 0.3401 0.0000 1.0000 0.8054 0.3459 0.0000 1.0000 0.7980 0.3517 0.0000 1.0000 0.7905 0.3576 0.0000 1.0000 0.7829 0.3636 0.0000 1.0000 0.7752 0.3696 0.0000 1.0000 0.7674 0.3757 0.0000 1.0000 0.7594 0.3819 0.0000 1.0000 0.7513 0.3881 0.0000 1.0000 0.7431 0.3944 0.0000 1.0000 0.7348 0.4007 0.0000 1.0000 0.7264 0.4072 0.0000 1.0000 0.7179 0.4137 0.0000 1.0000 0.7093 0.4202 0.0000 1.0000 0.7005 0.4269 0.0000 1.0000 0.6917 0.4336 0.0000 1.0000 0.6827 0.4403 0.0000 1.0000 0.6737 0.4472 0.0000 1.0000 0.6645 0.4541 0.0000 1.0000 0.6553 0.4611 0.0000 1.0000 0.6459 0.4681 0.0000 1.0000 0.6365 0.4753 0.0000 1.0000 0.6269 0.4825 0.0000 1.0000 0.6173 0.4897 0.0000 1.0000 0.6075 0.4971 0.0000 1.0000 0.5977 0.5045 0.0000 1.0000 0.5878 0.5120 0.0000 1.0000 0.5778 0.5196 0.0000 1.0000 0.5677 0.5272 0.0000 1.0000 0.5575 0.5349 0.0000 1.0000 0.5472 0.5427 0.0000 1.0000 0.5369 0.5506 0.0000 1.0000 0.5264 0.5585 0.0000 1.0000 0.5159 0.5665 0.0000 1.0000 0.5053 0.5746 0.0000 1.0000 0.4947 0.5828 0.0000 1.0000 0.4839 0.5910 0.0000 1.0000 0.4731 0.5994 0.0000 1.0000 0.4622 0.6078 0.0000 1.0000 0.4512 0.6163 0.0000 1.0000 0.4402 0.6248 0.0000 1.0000 0.4291 0.6334 0.0000 1.0000 0.4180 0.6422 0.0000 1.0000 0.4067 0.6510 0.0000 1.0000 0.3955 0.6598 0.0000 1.0000 0.3841 0.6688 0.0000 1.0000 0.3727 0.6778 0.0000 1.0000 0.3612 0.6870 0.0000 1.0000 0.3497 0.6962 0.0000 1.0000 0.3382 0.7054 0.0000 1.0000 0.3265 0.7148 0.0000 1.0000 0.3149 0.7242 0.0000 1.0000 0.3032 0.7338 0.0000 1.0000 0.2914 0.7434 0.0000 1.0000 0.2796 0.7531 0.0000 1.0000 0.2677 0.7629 0.0000 1.0000 0.2558 0.7727 0.0000 1.0000 0.2439 0.7827 0.0000 1.0000 0.2319 0.7927 0.0000 1.0000 0.2199 0.8028 0.0000 1.0000 0.2079 0.8130 0.0000 1.0000 0.1958 0.8233 0.0000 1.0000 0.1837 0.8337 0.0000 1.0000 0.1716 0.8442 0.0000 1.0000 0.1595 0.8547 0.0000 1.0000 0.1473 0.8654 0.0000 1.0000 0.1351 0.8761 0.0000 1.0000 0.1229 0.8869 0.0000 1.0000 0.1107 0.8978 0.0000 1.0000 0.0984 0.9088 0.0000 1.0000 0.0861 0.9199 0.0000 1.0000 0.0739 0.9311 0.0000 1.0000 0.0616 0.9423 0.0000 1.0000 0.0493 0.9537 0.0000 1.0000 0.0370 0.9651 0.0000 1.0000 0.0246 0.9767 0.0000 1.0000 0.0123 0.9883 0.0000 1.0000 0.0000 1.0000 0.0000 1.0000 viper-1.0.0/src/viper/data/pm3d_09.lut0000644000000000000000000001604411667652155015534 0ustar 00000000000000LOOKUP_TABLE ./luts/pm3d_09.lut 256 0.0000 0.0000 0.0000 1.0000 0.0118 0.0000 0.0000 1.0000 0.0235 0.0000 0.0000 1.0000 0.0353 0.0000 0.0000 1.0000 0.0471 0.0000 0.0000 1.0000 0.0588 0.0000 0.0000 1.0000 0.0706 0.0000 0.0000 1.0000 0.0824 0.0000 0.0000 1.0000 0.0941 0.0000 0.0000 1.0000 0.1059 0.0000 0.0000 1.0000 0.1176 0.0000 0.0000 1.0000 0.1294 0.0000 0.0000 1.0000 0.1412 0.0000 0.0000 1.0000 0.1529 0.0000 0.0000 1.0000 0.1647 0.0000 0.0000 1.0000 0.1765 0.0000 0.0000 1.0000 0.1882 0.0000 0.0000 1.0000 0.2000 0.0000 0.0000 1.0000 0.2118 0.0000 0.0000 1.0000 0.2235 0.0000 0.0000 1.0000 0.2353 0.0000 0.0000 1.0000 0.2471 0.0000 0.0000 1.0000 0.2588 0.0000 0.0000 1.0000 0.2706 0.0000 0.0000 1.0000 0.2824 0.0000 0.0000 1.0000 0.2941 0.0000 0.0000 1.0000 0.3059 0.0000 0.0000 1.0000 0.3176 0.0000 0.0000 1.0000 0.3294 0.0000 0.0000 1.0000 0.3412 0.0000 0.0000 1.0000 0.3529 0.0000 0.0000 1.0000 0.3647 0.0000 0.0000 1.0000 0.3765 0.0000 0.0000 1.0000 0.3882 0.0000 0.0000 1.0000 0.4000 0.0000 0.0000 1.0000 0.4118 0.0000 0.0000 1.0000 0.4235 0.0000 0.0000 1.0000 0.4353 0.0000 0.0000 1.0000 0.4471 0.0000 0.0000 1.0000 0.4588 0.0000 0.0000 1.0000 0.4706 0.0000 0.0000 1.0000 0.4824 0.0000 0.0000 1.0000 0.4941 0.0000 0.0000 1.0000 0.5059 0.0000 0.0000 1.0000 0.5176 0.0000 0.0000 1.0000 0.5294 0.0000 0.0000 1.0000 0.5412 0.0000 0.0000 1.0000 0.5529 0.0000 0.0000 1.0000 0.5647 0.0000 0.0000 1.0000 0.5765 0.0000 0.0000 1.0000 0.5882 0.0000 0.0000 1.0000 0.6000 0.0000 0.0000 1.0000 0.6118 0.0000 0.0000 1.0000 0.6235 0.0000 0.0000 1.0000 0.6353 0.0000 0.0000 1.0000 0.6471 0.0000 0.0000 1.0000 0.6588 0.0000 0.0000 1.0000 0.6706 0.0000 0.0000 1.0000 0.6824 0.0000 0.0000 1.0000 0.6941 0.0000 0.0000 1.0000 0.7059 0.0000 0.0000 1.0000 0.7176 0.0000 0.0000 1.0000 0.7294 0.0000 0.0000 1.0000 0.7412 0.0000 0.0000 1.0000 0.7529 0.0000 0.0000 1.0000 0.7647 0.0000 0.0000 1.0000 0.7765 0.0000 0.0000 1.0000 0.7882 0.0000 0.0000 1.0000 0.8000 0.0000 0.0000 1.0000 0.8118 0.0000 0.0000 1.0000 0.8235 0.0000 0.0000 1.0000 0.8353 0.0000 0.0000 1.0000 0.8471 0.0000 0.0000 1.0000 0.8588 0.0000 0.0000 1.0000 0.8706 0.0000 0.0000 1.0000 0.8824 0.0000 0.0000 1.0000 0.8941 0.0000 0.0000 1.0000 0.9059 0.0000 0.0000 1.0000 0.9176 0.0000 0.0000 1.0000 0.9294 0.0000 0.0000 1.0000 0.9412 0.0000 0.0000 1.0000 0.9529 0.0000 0.0000 1.0000 0.9647 0.0000 0.0000 1.0000 0.9765 0.0000 0.0000 1.0000 0.9882 0.0000 0.0000 1.0000 1.0000 0.0000 0.0000 1.0000 1.0000 0.0118 0.0000 1.0000 1.0000 0.0235 0.0000 1.0000 1.0000 0.0353 0.0000 1.0000 1.0000 0.0471 0.0000 1.0000 1.0000 0.0588 0.0000 1.0000 1.0000 0.0706 0.0000 1.0000 1.0000 0.0824 0.0000 1.0000 1.0000 0.0941 0.0000 1.0000 1.0000 0.1059 0.0000 1.0000 1.0000 0.1176 0.0000 1.0000 1.0000 0.1294 0.0000 1.0000 1.0000 0.1412 0.0000 1.0000 1.0000 0.1529 0.0000 1.0000 1.0000 0.1647 0.0000 1.0000 1.0000 0.1765 0.0000 1.0000 1.0000 0.1882 0.0000 1.0000 1.0000 0.2000 0.0000 1.0000 1.0000 0.2118 0.0000 1.0000 1.0000 0.2235 0.0000 1.0000 1.0000 0.2353 0.0000 1.0000 1.0000 0.2471 0.0000 1.0000 1.0000 0.2588 0.0000 1.0000 1.0000 0.2706 0.0000 1.0000 1.0000 0.2824 0.0000 1.0000 1.0000 0.2941 0.0000 1.0000 1.0000 0.3059 0.0000 1.0000 1.0000 0.3176 0.0000 1.0000 1.0000 0.3294 0.0000 1.0000 1.0000 0.3412 0.0000 1.0000 1.0000 0.3529 0.0000 1.0000 1.0000 0.3647 0.0000 1.0000 1.0000 0.3765 0.0000 1.0000 1.0000 0.3882 0.0000 1.0000 1.0000 0.4000 0.0000 1.0000 1.0000 0.4118 0.0000 1.0000 1.0000 0.4235 0.0000 1.0000 1.0000 0.4353 0.0000 1.0000 1.0000 0.4471 0.0000 1.0000 1.0000 0.4588 0.0000 1.0000 1.0000 0.4706 0.0000 1.0000 1.0000 0.4824 0.0000 1.0000 1.0000 0.4941 0.0000 1.0000 1.0000 0.5059 0.0000 1.0000 1.0000 0.5176 0.0000 1.0000 1.0000 0.5294 0.0000 1.0000 1.0000 0.5412 0.0000 1.0000 1.0000 0.5529 0.0000 1.0000 1.0000 0.5647 0.0000 1.0000 1.0000 0.5765 0.0000 1.0000 1.0000 0.5882 0.0000 1.0000 1.0000 0.6000 0.0000 1.0000 1.0000 0.6118 0.0000 1.0000 1.0000 0.6235 0.0000 1.0000 1.0000 0.6353 0.0000 1.0000 1.0000 0.6471 0.0000 1.0000 1.0000 0.6588 0.0000 1.0000 1.0000 0.6706 0.0000 1.0000 1.0000 0.6824 0.0000 1.0000 1.0000 0.6941 0.0000 1.0000 1.0000 0.7059 0.0000 1.0000 1.0000 0.7176 0.0000 1.0000 1.0000 0.7294 0.0000 1.0000 1.0000 0.7412 0.0000 1.0000 1.0000 0.7529 0.0000 1.0000 1.0000 0.7647 0.0000 1.0000 1.0000 0.7765 0.0000 1.0000 1.0000 0.7882 0.0000 1.0000 1.0000 0.8000 0.0000 1.0000 1.0000 0.8118 0.0000 1.0000 1.0000 0.8235 0.0000 1.0000 1.0000 0.8353 0.0000 1.0000 1.0000 0.8471 0.0000 1.0000 1.0000 0.8588 0.0000 1.0000 1.0000 0.8706 0.0000 1.0000 1.0000 0.8824 0.0000 1.0000 1.0000 0.8941 0.0000 1.0000 1.0000 0.9059 0.0000 1.0000 1.0000 0.9176 0.0000 1.0000 1.0000 0.9294 0.0000 1.0000 1.0000 0.9412 0.0000 1.0000 1.0000 0.9529 0.0000 1.0000 1.0000 0.9647 0.0000 1.0000 1.0000 0.9765 0.0000 1.0000 1.0000 0.9882 0.0000 1.0000 1.0000 1.0000 0.0000 1.0000 1.0000 1.0000 0.0118 1.0000 1.0000 1.0000 0.0235 1.0000 1.0000 1.0000 0.0353 1.0000 1.0000 1.0000 0.0471 1.0000 1.0000 1.0000 0.0588 1.0000 1.0000 1.0000 0.0706 1.0000 1.0000 1.0000 0.0824 1.0000 1.0000 1.0000 0.0941 1.0000 1.0000 1.0000 0.1059 1.0000 1.0000 1.0000 0.1176 1.0000 1.0000 1.0000 0.1294 1.0000 1.0000 1.0000 0.1412 1.0000 1.0000 1.0000 0.1529 1.0000 1.0000 1.0000 0.1647 1.0000 1.0000 1.0000 0.1765 1.0000 1.0000 1.0000 0.1882 1.0000 1.0000 1.0000 0.2000 1.0000 1.0000 1.0000 0.2118 1.0000 1.0000 1.0000 0.2235 1.0000 1.0000 1.0000 0.2353 1.0000 1.0000 1.0000 0.2471 1.0000 1.0000 1.0000 0.2588 1.0000 1.0000 1.0000 0.2706 1.0000 1.0000 1.0000 0.2824 1.0000 1.0000 1.0000 0.2941 1.0000 1.0000 1.0000 0.3059 1.0000 1.0000 1.0000 0.3176 1.0000 1.0000 1.0000 0.3294 1.0000 1.0000 1.0000 0.3412 1.0000 1.0000 1.0000 0.3529 1.0000 1.0000 1.0000 0.3647 1.0000 1.0000 1.0000 0.3765 1.0000 1.0000 1.0000 0.3882 1.0000 1.0000 1.0000 0.4000 1.0000 1.0000 1.0000 0.4118 1.0000 1.0000 1.0000 0.4235 1.0000 1.0000 1.0000 0.4353 1.0000 1.0000 1.0000 0.4471 1.0000 1.0000 1.0000 0.4588 1.0000 1.0000 1.0000 0.4706 1.0000 1.0000 1.0000 0.4824 1.0000 1.0000 1.0000 0.4941 1.0000 1.0000 1.0000 0.5059 1.0000 1.0000 1.0000 0.5176 1.0000 1.0000 1.0000 0.5294 1.0000 1.0000 1.0000 0.5412 1.0000 1.0000 1.0000 0.5529 1.0000 1.0000 1.0000 0.5647 1.0000 1.0000 1.0000 0.5765 1.0000 1.0000 1.0000 0.5882 1.0000 1.0000 1.0000 0.6000 1.0000 1.0000 1.0000 0.6118 1.0000 1.0000 1.0000 0.6235 1.0000 1.0000 1.0000 0.6353 1.0000 1.0000 1.0000 0.6471 1.0000 1.0000 1.0000 0.6588 1.0000 1.0000 1.0000 0.6706 1.0000 1.0000 1.0000 0.6824 1.0000 1.0000 1.0000 0.6941 1.0000 1.0000 1.0000 0.7059 1.0000 1.0000 1.0000 0.7176 1.0000 1.0000 1.0000 0.7294 1.0000 1.0000 1.0000 0.7412 1.0000 1.0000 1.0000 0.7529 1.0000 1.0000 1.0000 0.7647 1.0000 1.0000 1.0000 0.7765 1.0000 1.0000 1.0000 0.7882 1.0000 1.0000 1.0000 0.8000 1.0000 1.0000 1.0000 0.8118 1.0000 1.0000 1.0000 0.8235 1.0000 1.0000 1.0000 0.8353 1.0000 1.0000 1.0000 0.8471 1.0000 1.0000 1.0000 0.8588 1.0000 1.0000 1.0000 0.8706 1.0000 1.0000 1.0000 0.8824 1.0000 1.0000 1.0000 0.8941 1.0000 1.0000 1.0000 0.9059 1.0000 1.0000 1.0000 0.9176 1.0000 1.0000 1.0000 0.9294 1.0000 1.0000 1.0000 0.9412 1.0000 1.0000 1.0000 0.9529 1.0000 1.0000 1.0000 0.9647 1.0000 1.0000 1.0000 0.9765 1.0000 1.0000 1.0000 0.9882 1.0000 1.0000 1.0000 1.0000 1.0000 viper-1.0.0/src/viper/data/pm3d_10.lut0000644000000000000000000001604411667652155015524 0ustar 00000000000000LOOKUP_TABLE ./luts/pm3d_10.lut 256 0.0000 0.0000 0.0000 1.0000 0.0000 0.0000 0.0157 1.0000 0.0000 0.0000 0.0314 1.0000 0.0000 0.0000 0.0471 1.0000 0.0000 0.0000 0.0627 1.0000 0.0000 0.0000 0.0784 1.0000 0.0000 0.0000 0.0941 1.0000 0.0000 0.0000 0.1098 1.0000 0.0000 0.0000 0.1255 1.0000 0.0000 0.0000 0.1412 1.0000 0.0000 0.0000 0.1569 1.0000 0.0000 0.0000 0.1725 1.0000 0.0000 0.0000 0.1882 1.0000 0.0000 0.0000 0.2039 1.0000 0.0000 0.0000 0.2196 1.0000 0.0000 0.0000 0.2353 1.0000 0.0000 0.0000 0.2510 1.0000 0.0000 0.0000 0.2667 1.0000 0.0000 0.0000 0.2824 1.0000 0.0000 0.0000 0.2980 1.0000 0.0000 0.0000 0.3137 1.0000 0.0000 0.0000 0.3294 1.0000 0.0000 0.0000 0.3451 1.0000 0.0000 0.0000 0.3608 1.0000 0.0000 0.0000 0.3765 1.0000 0.0000 0.0000 0.3922 1.0000 0.0000 0.0000 0.4078 1.0000 0.0000 0.0000 0.4235 1.0000 0.0000 0.0000 0.4392 1.0000 0.0000 0.0000 0.4549 1.0000 0.0000 0.0000 0.4706 1.0000 0.0000 0.0000 0.4863 1.0000 0.0000 0.0000 0.5020 1.0000 0.0000 0.0000 0.5176 1.0000 0.0000 0.0000 0.5333 1.0000 0.0000 0.0000 0.5490 1.0000 0.0000 0.0000 0.5647 1.0000 0.0000 0.0000 0.5804 1.0000 0.0000 0.0000 0.5961 1.0000 0.0000 0.0000 0.6118 1.0000 0.0000 0.0000 0.6275 1.0000 0.0000 0.0000 0.6431 1.0000 0.0000 0.0000 0.6588 1.0000 0.0000 0.0000 0.6745 1.0000 0.0000 0.0000 0.6902 1.0000 0.0000 0.0000 0.7059 1.0000 0.0000 0.0000 0.7216 1.0000 0.0000 0.0000 0.7373 1.0000 0.0000 0.0000 0.7529 1.0000 0.0000 0.0000 0.7686 1.0000 0.0000 0.0000 0.7843 1.0000 0.0000 0.0000 0.8000 1.0000 0.0000 0.0000 0.8157 1.0000 0.0000 0.0000 0.8314 1.0000 0.0000 0.0000 0.8471 1.0000 0.0000 0.0000 0.8627 1.0000 0.0000 0.0000 0.8784 1.0000 0.0000 0.0000 0.8941 1.0000 0.0000 0.0000 0.9098 1.0000 0.0000 0.0000 0.9255 1.0000 0.0000 0.0000 0.9412 1.0000 0.0000 0.0000 0.9569 1.0000 0.0000 0.0000 0.9725 1.0000 0.0000 0.0000 0.9882 1.0000 0.0031 0.0000 1.0000 1.0000 0.0153 0.0000 1.0000 1.0000 0.0276 0.0000 1.0000 1.0000 0.0398 0.0000 1.0000 1.0000 0.0521 0.0000 1.0000 1.0000 0.0643 0.0000 1.0000 1.0000 0.0766 0.0000 1.0000 1.0000 0.0888 0.0000 1.0000 1.0000 0.1011 0.0000 1.0000 1.0000 0.1134 0.0000 1.0000 1.0000 0.1256 0.0000 1.0000 1.0000 0.1379 0.0000 1.0000 1.0000 0.1501 0.0000 1.0000 1.0000 0.1624 0.0000 1.0000 1.0000 0.1746 0.0000 1.0000 1.0000 0.1869 0.0000 1.0000 1.0000 0.1991 0.0000 1.0000 1.0000 0.2114 0.0000 1.0000 1.0000 0.2237 0.0000 1.0000 1.0000 0.2359 0.0000 1.0000 1.0000 0.2482 0.0000 1.0000 1.0000 0.2604 0.0000 1.0000 1.0000 0.2727 0.0000 1.0000 1.0000 0.2849 0.0000 1.0000 1.0000 0.2972 0.0000 1.0000 1.0000 0.3094 0.0000 1.0000 1.0000 0.3217 0.0000 1.0000 1.0000 0.3339 0.0000 1.0000 1.0000 0.3462 0.0000 1.0000 1.0000 0.3585 0.0000 1.0000 1.0000 0.3707 0.0000 1.0000 1.0000 0.3830 0.0000 1.0000 1.0000 0.3952 0.0000 1.0000 1.0000 0.4075 0.0000 1.0000 1.0000 0.4197 0.0000 1.0000 1.0000 0.4320 0.0000 1.0000 1.0000 0.4442 0.0000 1.0000 1.0000 0.4565 0.0000 1.0000 1.0000 0.4688 0.0000 1.0000 1.0000 0.4810 0.0000 1.0000 1.0000 0.4933 0.0000 1.0000 1.0000 0.5055 0.0000 1.0000 1.0000 0.5178 0.0000 1.0000 1.0000 0.5300 0.0000 1.0000 1.0000 0.5423 0.0071 0.9929 1.0000 0.5545 0.0149 0.9851 1.0000 0.5668 0.0227 0.9773 1.0000 0.5790 0.0306 0.9694 1.0000 0.5913 0.0384 0.9616 1.0000 0.6036 0.0463 0.9537 1.0000 0.6158 0.0541 0.9459 1.0000 0.6281 0.0620 0.9380 1.0000 0.6403 0.0698 0.9302 1.0000 0.6526 0.0776 0.9224 1.0000 0.6648 0.0855 0.9145 1.0000 0.6771 0.0933 0.9067 1.0000 0.6893 0.1012 0.8988 1.0000 0.7016 0.1090 0.8910 1.0000 0.7138 0.1169 0.8831 1.0000 0.7261 0.1247 0.8753 1.0000 0.7384 0.1325 0.8675 1.0000 0.7506 0.1404 0.8596 1.0000 0.7629 0.1482 0.8518 1.0000 0.7751 0.1561 0.8439 1.0000 0.7874 0.1639 0.8361 1.0000 0.7996 0.1718 0.8282 1.0000 0.8119 0.1796 0.8204 1.0000 0.8241 0.1875 0.8125 1.0000 0.8364 0.1953 0.8047 1.0000 0.8487 0.2031 0.7969 1.0000 0.8609 0.2110 0.7890 1.0000 0.8732 0.2188 0.7812 1.0000 0.8854 0.2267 0.7733 1.0000 0.8977 0.2345 0.7655 1.0000 0.9099 0.2424 0.7576 1.0000 0.9222 0.2502 0.7498 1.0000 0.9344 0.2580 0.7420 1.0000 0.9467 0.2659 0.7341 1.0000 0.9589 0.2737 0.7263 1.0000 0.9712 0.2816 0.7184 1.0000 0.9835 0.2894 0.7106 1.0000 0.9957 0.2973 0.7027 1.0000 1.0000 0.3051 0.6949 1.0000 1.0000 0.3129 0.6871 1.0000 1.0000 0.3208 0.6792 1.0000 1.0000 0.3286 0.6714 1.0000 1.0000 0.3365 0.6635 1.0000 1.0000 0.3443 0.6557 1.0000 1.0000 0.3522 0.6478 1.0000 1.0000 0.3600 0.6400 1.0000 1.0000 0.3678 0.6322 1.0000 1.0000 0.3757 0.6243 1.0000 1.0000 0.3835 0.6165 1.0000 1.0000 0.3914 0.6086 1.0000 1.0000 0.3992 0.6008 1.0000 1.0000 0.4071 0.5929 1.0000 1.0000 0.4149 0.5851 1.0000 1.0000 0.4227 0.5773 1.0000 1.0000 0.4306 0.5694 1.0000 1.0000 0.4384 0.5616 1.0000 1.0000 0.4463 0.5537 1.0000 1.0000 0.4541 0.5459 1.0000 1.0000 0.4620 0.5380 1.0000 1.0000 0.4698 0.5302 1.0000 1.0000 0.4776 0.5224 1.0000 1.0000 0.4855 0.5145 1.0000 1.0000 0.4933 0.5067 1.0000 1.0000 0.5012 0.4988 1.0000 1.0000 0.5090 0.4910 1.0000 1.0000 0.5169 0.4831 1.0000 1.0000 0.5247 0.4753 1.0000 1.0000 0.5325 0.4675 1.0000 1.0000 0.5404 0.4596 1.0000 1.0000 0.5482 0.4518 1.0000 1.0000 0.5561 0.4439 1.0000 1.0000 0.5639 0.4361 1.0000 1.0000 0.5718 0.4282 1.0000 1.0000 0.5796 0.4204 1.0000 1.0000 0.5875 0.4125 1.0000 1.0000 0.5953 0.4047 1.0000 1.0000 0.6031 0.3969 1.0000 1.0000 0.6110 0.3890 1.0000 1.0000 0.6188 0.3812 1.0000 1.0000 0.6267 0.3733 1.0000 1.0000 0.6345 0.3655 1.0000 1.0000 0.6424 0.3576 1.0000 1.0000 0.6502 0.3498 1.0000 1.0000 0.6580 0.3420 1.0000 1.0000 0.6659 0.3341 1.0000 1.0000 0.6737 0.3263 1.0000 1.0000 0.6816 0.3184 1.0000 1.0000 0.6894 0.3106 1.0000 1.0000 0.6973 0.3027 1.0000 1.0000 0.7051 0.2949 1.0000 1.0000 0.7129 0.2871 1.0000 1.0000 0.7208 0.2792 1.0000 1.0000 0.7286 0.2714 1.0000 1.0000 0.7365 0.2635 1.0000 1.0000 0.7443 0.2557 1.0000 1.0000 0.7522 0.2478 1.0000 1.0000 0.7600 0.2400 1.0000 1.0000 0.7678 0.2322 1.0000 1.0000 0.7757 0.2243 1.0000 1.0000 0.7835 0.2165 1.0000 1.0000 0.7914 0.2086 1.0000 1.0000 0.7992 0.2008 1.0000 1.0000 0.8071 0.1929 1.0000 1.0000 0.8149 0.1851 1.0000 1.0000 0.8227 0.1773 1.0000 1.0000 0.8306 0.1694 1.0000 1.0000 0.8384 0.1616 1.0000 1.0000 0.8463 0.1537 1.0000 1.0000 0.8541 0.1459 1.0000 1.0000 0.8620 0.1380 1.0000 1.0000 0.8698 0.1302 1.0000 1.0000 0.8776 0.1224 1.0000 1.0000 0.8855 0.1145 1.0000 1.0000 0.8933 0.1067 1.0000 1.0000 0.9012 0.0988 1.0000 1.0000 0.9090 0.0910 1.0000 1.0000 0.9169 0.0831 1.0000 1.0000 0.9247 0.0753 1.0000 1.0000 0.9325 0.0675 1.0000 1.0000 0.9404 0.0596 1.0000 1.0000 0.9482 0.0518 1.0000 1.0000 0.9561 0.0439 1.0000 1.0000 0.9639 0.0361 1.0000 1.0000 0.9718 0.0282 1.0000 1.0000 0.9796 0.0204 1.0000 1.0000 0.9875 0.0125 1.0000 1.0000 0.9953 0.0047 1.0000 1.0000 1.0000 0.0196 1.0000 1.0000 1.0000 0.0686 1.0000 1.0000 1.0000 0.1176 1.0000 1.0000 1.0000 0.1667 1.0000 1.0000 1.0000 0.2157 1.0000 1.0000 1.0000 0.2647 1.0000 1.0000 1.0000 0.3137 1.0000 1.0000 1.0000 0.3627 1.0000 1.0000 1.0000 0.4118 1.0000 1.0000 1.0000 0.4608 1.0000 1.0000 1.0000 0.5098 1.0000 1.0000 1.0000 0.5588 1.0000 1.0000 1.0000 0.6078 1.0000 1.0000 1.0000 0.6569 1.0000 1.0000 1.0000 0.7059 1.0000 1.0000 1.0000 0.7549 1.0000 1.0000 1.0000 0.8039 1.0000 1.0000 1.0000 0.8529 1.0000 1.0000 1.0000 0.9020 1.0000 1.0000 1.0000 0.9510 1.0000 1.0000 1.0000 1.0000 1.0000 viper-1.0.0/src/viper/data/pm3d_13.lut0000644000000000000000000001604411667652155015527 0ustar 00000000000000LOOKUP_TABLE ./luts/pm3d_13.lut 256 0.0000 0.0000 0.0000 1.0000 0.0000 0.0123 0.0246 1.0000 0.0000 0.0246 0.0493 1.0000 0.0000 0.0370 0.0739 1.0000 0.0000 0.0493 0.0984 1.0000 0.0000 0.0616 0.1229 1.0000 0.0000 0.0739 0.1473 1.0000 0.0000 0.0861 0.1716 1.0000 0.0000 0.0984 0.1958 1.0000 0.0000 0.1107 0.2199 1.0000 0.0001 0.1229 0.2439 1.0000 0.0001 0.1351 0.2677 1.0000 0.0001 0.1473 0.2914 1.0000 0.0001 0.1595 0.3149 1.0000 0.0002 0.1716 0.3382 1.0000 0.0002 0.1837 0.3612 1.0000 0.0002 0.1958 0.3841 1.0000 0.0003 0.2079 0.4067 1.0000 0.0004 0.2199 0.4291 1.0000 0.0004 0.2319 0.4512 1.0000 0.0005 0.2439 0.4731 1.0000 0.0006 0.2558 0.4947 1.0000 0.0006 0.2677 0.5159 1.0000 0.0007 0.2796 0.5369 1.0000 0.0008 0.2914 0.5575 1.0000 0.0009 0.3032 0.5778 1.0000 0.0011 0.3149 0.5977 1.0000 0.0012 0.3265 0.6173 1.0000 0.0013 0.3382 0.6365 1.0000 0.0015 0.3497 0.6553 1.0000 0.0016 0.3612 0.6737 1.0000 0.0018 0.3727 0.6917 1.0000 0.0020 0.3841 0.7093 1.0000 0.0022 0.3955 0.7264 1.0000 0.0024 0.4067 0.7431 1.0000 0.0026 0.4180 0.7594 1.0000 0.0028 0.4291 0.7752 1.0000 0.0031 0.4402 0.7905 1.0000 0.0033 0.4512 0.8054 1.0000 0.0036 0.4622 0.8197 1.0000 0.0039 0.4731 0.8336 1.0000 0.0042 0.4839 0.8470 1.0000 0.0045 0.4947 0.8598 1.0000 0.0048 0.5053 0.8721 1.0000 0.0051 0.5159 0.8839 1.0000 0.0055 0.5264 0.8952 1.0000 0.0059 0.5369 0.9059 1.0000 0.0063 0.5472 0.9160 1.0000 0.0067 0.5575 0.9256 1.0000 0.0071 0.5677 0.9347 1.0000 0.0075 0.5778 0.9432 1.0000 0.0080 0.5878 0.9511 1.0000 0.0085 0.5977 0.9584 1.0000 0.0090 0.6075 0.9651 1.0000 0.0095 0.6173 0.9713 1.0000 0.0100 0.6269 0.9768 1.0000 0.0106 0.6365 0.9818 1.0000 0.0112 0.6459 0.9862 1.0000 0.0118 0.6553 0.9900 1.0000 0.0124 0.6645 0.9932 1.0000 0.0130 0.6737 0.9957 1.0000 0.0137 0.6827 0.9977 1.0000 0.0144 0.6917 0.9991 1.0000 0.0151 0.7005 0.9998 1.0000 0.0158 0.7093 1.0000 1.0000 0.0166 0.7179 0.9995 1.0000 0.0173 0.7264 0.9985 1.0000 0.0181 0.7348 0.9968 1.0000 0.0190 0.7431 0.9945 1.0000 0.0198 0.7513 0.9916 1.0000 0.0207 0.7594 0.9882 1.0000 0.0216 0.7674 0.9841 1.0000 0.0225 0.7752 0.9794 1.0000 0.0235 0.7829 0.9741 1.0000 0.0244 0.7905 0.9683 1.0000 0.0254 0.7980 0.9618 1.0000 0.0265 0.8054 0.9548 1.0000 0.0275 0.8126 0.9472 1.0000 0.0286 0.8197 0.9390 1.0000 0.0297 0.8267 0.9302 1.0000 0.0309 0.8336 0.9209 1.0000 0.0321 0.8403 0.9110 1.0000 0.0333 0.8470 0.9006 1.0000 0.0345 0.8534 0.8896 1.0000 0.0357 0.8598 0.8781 1.0000 0.0370 0.8660 0.8660 1.0000 0.0384 0.8721 0.8534 1.0000 0.0397 0.8781 0.8403 1.0000 0.0411 0.8839 0.8267 1.0000 0.0425 0.8896 0.8126 1.0000 0.0440 0.8952 0.7980 1.0000 0.0454 0.9006 0.7829 1.0000 0.0470 0.9059 0.7674 1.0000 0.0485 0.9110 0.7513 1.0000 0.0501 0.9160 0.7348 1.0000 0.0517 0.9209 0.7179 1.0000 0.0534 0.9256 0.7005 1.0000 0.0550 0.9302 0.6827 1.0000 0.0568 0.9347 0.6645 1.0000 0.0585 0.9390 0.6459 1.0000 0.0603 0.9432 0.6269 1.0000 0.0621 0.9472 0.6075 1.0000 0.0640 0.9511 0.5878 1.0000 0.0659 0.9548 0.5677 1.0000 0.0678 0.9584 0.5472 1.0000 0.0698 0.9618 0.5264 1.0000 0.0718 0.9651 0.5053 1.0000 0.0739 0.9683 0.4839 1.0000 0.0760 0.9713 0.4622 1.0000 0.0781 0.9741 0.4402 1.0000 0.0803 0.9768 0.4180 1.0000 0.0825 0.9794 0.3955 1.0000 0.0847 0.9818 0.3727 1.0000 0.0870 0.9841 0.3497 1.0000 0.0893 0.9862 0.3265 1.0000 0.0917 0.9882 0.3032 1.0000 0.0941 0.9900 0.2796 1.0000 0.0966 0.9916 0.2558 1.0000 0.0991 0.9932 0.2319 1.0000 0.1016 0.9945 0.2079 1.0000 0.1042 0.9957 0.1837 1.0000 0.1068 0.9968 0.1595 1.0000 0.1095 0.9977 0.1351 1.0000 0.1122 0.9985 0.1107 1.0000 0.1150 0.9991 0.0861 1.0000 0.1178 0.9995 0.0616 1.0000 0.1206 0.9998 0.0370 1.0000 0.1235 1.0000 0.0123 1.0000 0.1265 1.0000 0.0000 1.0000 0.1295 0.9998 0.0000 1.0000 0.1325 0.9995 0.0000 1.0000 0.1356 0.9991 0.0000 1.0000 0.1387 0.9985 0.0000 1.0000 0.1419 0.9977 0.0000 1.0000 0.1451 0.9968 0.0000 1.0000 0.1484 0.9957 0.0000 1.0000 0.1517 0.9945 0.0000 1.0000 0.1551 0.9932 0.0000 1.0000 0.1585 0.9916 0.0000 1.0000 0.1620 0.9900 0.0000 1.0000 0.1655 0.9882 0.0000 1.0000 0.1691 0.9862 0.0000 1.0000 0.1727 0.9841 0.0000 1.0000 0.1764 0.9818 0.0000 1.0000 0.1801 0.9794 0.0000 1.0000 0.1839 0.9768 0.0000 1.0000 0.1877 0.9741 0.0000 1.0000 0.1916 0.9713 0.0000 1.0000 0.1955 0.9683 0.0000 1.0000 0.1995 0.9651 0.0000 1.0000 0.2035 0.9618 0.0000 1.0000 0.2076 0.9584 0.0000 1.0000 0.2118 0.9548 0.0000 1.0000 0.2160 0.9511 0.0000 1.0000 0.2203 0.9472 0.0000 1.0000 0.2246 0.9432 0.0000 1.0000 0.2290 0.9390 0.0000 1.0000 0.2334 0.9347 0.0000 1.0000 0.2379 0.9302 0.0000 1.0000 0.2424 0.9256 0.0000 1.0000 0.2470 0.9209 0.0000 1.0000 0.2517 0.9160 0.0000 1.0000 0.2564 0.9110 0.0000 1.0000 0.2612 0.9059 0.0000 1.0000 0.2660 0.9006 0.0000 1.0000 0.2709 0.8952 0.0000 1.0000 0.2759 0.8896 0.0000 1.0000 0.2809 0.8839 0.0000 1.0000 0.2860 0.8781 0.0000 1.0000 0.2911 0.8721 0.0000 1.0000 0.2963 0.8660 0.0000 1.0000 0.3016 0.8598 0.0000 1.0000 0.3069 0.8534 0.0000 1.0000 0.3123 0.8470 0.0000 1.0000 0.3177 0.8403 0.0000 1.0000 0.3232 0.8336 0.0000 1.0000 0.3288 0.8267 0.0000 1.0000 0.3344 0.8197 0.0000 1.0000 0.3401 0.8126 0.0000 1.0000 0.3459 0.8054 0.0000 1.0000 0.3517 0.7980 0.0000 1.0000 0.3576 0.7905 0.0000 1.0000 0.3636 0.7829 0.0000 1.0000 0.3696 0.7752 0.0000 1.0000 0.3757 0.7674 0.0000 1.0000 0.3819 0.7594 0.0000 1.0000 0.3881 0.7513 0.0000 1.0000 0.3944 0.7431 0.0000 1.0000 0.4007 0.7348 0.0000 1.0000 0.4072 0.7264 0.0000 1.0000 0.4137 0.7179 0.0000 1.0000 0.4202 0.7093 0.0000 1.0000 0.4269 0.7005 0.0000 1.0000 0.4336 0.6917 0.0000 1.0000 0.4403 0.6827 0.0000 1.0000 0.4472 0.6737 0.0000 1.0000 0.4541 0.6645 0.0000 1.0000 0.4611 0.6553 0.0000 1.0000 0.4681 0.6459 0.0000 1.0000 0.4753 0.6365 0.0000 1.0000 0.4825 0.6269 0.0000 1.0000 0.4897 0.6173 0.0000 1.0000 0.4971 0.6075 0.0000 1.0000 0.5045 0.5977 0.0000 1.0000 0.5120 0.5878 0.0000 1.0000 0.5196 0.5778 0.0000 1.0000 0.5272 0.5677 0.0000 1.0000 0.5349 0.5575 0.0000 1.0000 0.5427 0.5472 0.0000 1.0000 0.5506 0.5369 0.0000 1.0000 0.5585 0.5264 0.0000 1.0000 0.5665 0.5159 0.0000 1.0000 0.5746 0.5053 0.0000 1.0000 0.5828 0.4947 0.0000 1.0000 0.5910 0.4839 0.0000 1.0000 0.5994 0.4731 0.0000 1.0000 0.6078 0.4622 0.0000 1.0000 0.6163 0.4512 0.0000 1.0000 0.6248 0.4402 0.0000 1.0000 0.6334 0.4291 0.0000 1.0000 0.6422 0.4180 0.0000 1.0000 0.6510 0.4067 0.0000 1.0000 0.6598 0.3955 0.0000 1.0000 0.6688 0.3841 0.0000 1.0000 0.6778 0.3727 0.0000 1.0000 0.6870 0.3612 0.0000 1.0000 0.6962 0.3497 0.0000 1.0000 0.7054 0.3382 0.0000 1.0000 0.7148 0.3265 0.0000 1.0000 0.7242 0.3149 0.0000 1.0000 0.7338 0.3032 0.0000 1.0000 0.7434 0.2914 0.0000 1.0000 0.7531 0.2796 0.0000 1.0000 0.7629 0.2677 0.0000 1.0000 0.7727 0.2558 0.0000 1.0000 0.7827 0.2439 0.0000 1.0000 0.7927 0.2319 0.0000 1.0000 0.8028 0.2199 0.0000 1.0000 0.8130 0.2079 0.0000 1.0000 0.8233 0.1958 0.0000 1.0000 0.8337 0.1837 0.0000 1.0000 0.8442 0.1716 0.0000 1.0000 0.8547 0.1595 0.0000 1.0000 0.8654 0.1473 0.0000 1.0000 0.8761 0.1351 0.0000 1.0000 0.8869 0.1229 0.0000 1.0000 0.8978 0.1107 0.0000 1.0000 0.9088 0.0984 0.0000 1.0000 0.9199 0.0861 0.0000 1.0000 0.9311 0.0739 0.0000 1.0000 0.9423 0.0616 0.0000 1.0000 0.9537 0.0493 0.0000 1.0000 0.9651 0.0370 0.0000 1.0000 0.9767 0.0246 0.0000 1.0000 0.9883 0.0123 0.0000 1.0000 1.0000 0.0000 0.0000 1.0000 viper-1.0.0/src/viper/data/pm3d_18.lut0000644000000000000000000001604411667652155015534 0ustar 00000000000000LOOKUP_TABLE ./luts/pm3d_18.lut 256 0.0000 0.0000 0.0000 1.0000 0.0078 0.0246 0.0000 1.0000 0.0157 0.0493 0.0000 1.0000 0.0235 0.0739 0.0000 1.0000 0.0314 0.0984 0.0000 1.0000 0.0392 0.1229 0.0000 1.0000 0.0471 0.1473 0.0000 1.0000 0.0549 0.1716 0.0000 1.0000 0.0627 0.1958 0.0000 1.0000 0.0706 0.2199 0.0000 1.0000 0.0784 0.2439 0.0001 1.0000 0.0863 0.2677 0.0001 1.0000 0.0941 0.2914 0.0001 1.0000 0.1020 0.3149 0.0001 1.0000 0.1098 0.3382 0.0002 1.0000 0.1176 0.3612 0.0002 1.0000 0.1255 0.3841 0.0002 1.0000 0.1333 0.4067 0.0003 1.0000 0.1412 0.4291 0.0004 1.0000 0.1490 0.4512 0.0004 1.0000 0.1569 0.4731 0.0005 1.0000 0.1647 0.4947 0.0006 1.0000 0.1725 0.5159 0.0006 1.0000 0.1804 0.5369 0.0007 1.0000 0.1882 0.5575 0.0008 1.0000 0.1961 0.5778 0.0009 1.0000 0.2039 0.5977 0.0011 1.0000 0.2118 0.6173 0.0012 1.0000 0.2196 0.6365 0.0013 1.0000 0.2275 0.6553 0.0015 1.0000 0.2353 0.6737 0.0016 1.0000 0.2431 0.6917 0.0018 1.0000 0.2510 0.7093 0.0020 1.0000 0.2588 0.7264 0.0022 1.0000 0.2667 0.7431 0.0024 1.0000 0.2745 0.7594 0.0026 1.0000 0.2824 0.7752 0.0028 1.0000 0.2902 0.7905 0.0031 1.0000 0.2980 0.8054 0.0033 1.0000 0.3059 0.8197 0.0036 1.0000 0.3137 0.8336 0.0039 1.0000 0.3216 0.8470 0.0042 1.0000 0.3294 0.8598 0.0045 1.0000 0.3373 0.8721 0.0048 1.0000 0.3451 0.8839 0.0051 1.0000 0.3529 0.8952 0.0055 1.0000 0.3608 0.9059 0.0059 1.0000 0.3686 0.9160 0.0063 1.0000 0.3765 0.9256 0.0067 1.0000 0.3843 0.9347 0.0071 1.0000 0.3922 0.9432 0.0075 1.0000 0.4000 0.9511 0.0080 1.0000 0.4078 0.9584 0.0085 1.0000 0.4157 0.9651 0.0090 1.0000 0.4235 0.9713 0.0095 1.0000 0.4314 0.9768 0.0100 1.0000 0.4392 0.9818 0.0106 1.0000 0.4471 0.9862 0.0112 1.0000 0.4549 0.9900 0.0118 1.0000 0.4627 0.9932 0.0124 1.0000 0.4706 0.9957 0.0130 1.0000 0.4784 0.9977 0.0137 1.0000 0.4863 0.9991 0.0144 1.0000 0.4941 0.9998 0.0151 1.0000 0.5020 1.0000 0.0158 1.0000 0.5098 0.9995 0.0166 1.0000 0.5176 0.9985 0.0173 1.0000 0.5255 0.9968 0.0181 1.0000 0.5333 0.9945 0.0190 1.0000 0.5412 0.9916 0.0198 1.0000 0.5490 0.9882 0.0207 1.0000 0.5569 0.9841 0.0216 1.0000 0.5647 0.9794 0.0225 1.0000 0.5725 0.9741 0.0235 1.0000 0.5804 0.9683 0.0244 1.0000 0.5882 0.9618 0.0254 1.0000 0.5961 0.9548 0.0265 1.0000 0.6039 0.9472 0.0275 1.0000 0.6118 0.9390 0.0286 1.0000 0.6196 0.9302 0.0297 1.0000 0.6275 0.9209 0.0309 1.0000 0.6353 0.9110 0.0321 1.0000 0.6431 0.9006 0.0333 1.0000 0.6510 0.8896 0.0345 1.0000 0.6588 0.8781 0.0357 1.0000 0.6667 0.8660 0.0370 1.0000 0.6745 0.8534 0.0384 1.0000 0.6824 0.8403 0.0397 1.0000 0.6902 0.8267 0.0411 1.0000 0.6980 0.8126 0.0425 1.0000 0.7059 0.7980 0.0440 1.0000 0.7137 0.7829 0.0454 1.0000 0.7216 0.7674 0.0470 1.0000 0.7294 0.7513 0.0485 1.0000 0.7373 0.7348 0.0501 1.0000 0.7451 0.7179 0.0517 1.0000 0.7529 0.7005 0.0534 1.0000 0.7608 0.6827 0.0550 1.0000 0.7686 0.6645 0.0568 1.0000 0.7765 0.6459 0.0585 1.0000 0.7843 0.6269 0.0603 1.0000 0.7922 0.6075 0.0621 1.0000 0.8000 0.5878 0.0640 1.0000 0.8078 0.5677 0.0659 1.0000 0.8157 0.5472 0.0678 1.0000 0.8235 0.5264 0.0698 1.0000 0.8314 0.5053 0.0718 1.0000 0.8392 0.4839 0.0739 1.0000 0.8471 0.4622 0.0760 1.0000 0.8549 0.4402 0.0781 1.0000 0.8627 0.4180 0.0803 1.0000 0.8706 0.3955 0.0825 1.0000 0.8784 0.3727 0.0847 1.0000 0.8863 0.3497 0.0870 1.0000 0.8941 0.3265 0.0893 1.0000 0.9020 0.3032 0.0917 1.0000 0.9098 0.2796 0.0941 1.0000 0.9176 0.2558 0.0966 1.0000 0.9255 0.2319 0.0991 1.0000 0.9333 0.2079 0.1016 1.0000 0.9412 0.1837 0.1042 1.0000 0.9490 0.1595 0.1068 1.0000 0.9569 0.1351 0.1095 1.0000 0.9647 0.1107 0.1122 1.0000 0.9725 0.0861 0.1150 1.0000 0.9804 0.0616 0.1178 1.0000 0.9882 0.0370 0.1206 1.0000 0.9961 0.0123 0.1235 1.0000 1.0000 0.0123 0.1265 1.0000 1.0000 0.0370 0.1295 1.0000 1.0000 0.0616 0.1325 1.0000 1.0000 0.0861 0.1356 1.0000 1.0000 0.1107 0.1387 1.0000 1.0000 0.1351 0.1419 1.0000 1.0000 0.1595 0.1451 1.0000 1.0000 0.1837 0.1484 1.0000 1.0000 0.2079 0.1517 1.0000 1.0000 0.2319 0.1551 1.0000 1.0000 0.2558 0.1585 1.0000 1.0000 0.2796 0.1620 1.0000 1.0000 0.3032 0.1655 1.0000 1.0000 0.3265 0.1691 1.0000 1.0000 0.3497 0.1727 1.0000 1.0000 0.3727 0.1764 1.0000 1.0000 0.3955 0.1801 1.0000 1.0000 0.4180 0.1839 1.0000 1.0000 0.4402 0.1877 1.0000 1.0000 0.4622 0.1916 1.0000 1.0000 0.4839 0.1955 1.0000 1.0000 0.5053 0.1995 1.0000 1.0000 0.5264 0.2035 1.0000 1.0000 0.5472 0.2076 1.0000 1.0000 0.5677 0.2118 1.0000 1.0000 0.5878 0.2160 1.0000 1.0000 0.6075 0.2203 1.0000 1.0000 0.6269 0.2246 1.0000 1.0000 0.6459 0.2290 1.0000 1.0000 0.6645 0.2334 1.0000 1.0000 0.6827 0.2379 1.0000 1.0000 0.7005 0.2424 1.0000 1.0000 0.7179 0.2470 1.0000 1.0000 0.7348 0.2517 1.0000 1.0000 0.7513 0.2564 1.0000 1.0000 0.7674 0.2612 1.0000 1.0000 0.7829 0.2660 1.0000 1.0000 0.7980 0.2709 1.0000 1.0000 0.8126 0.2759 1.0000 1.0000 0.8267 0.2809 1.0000 1.0000 0.8403 0.2860 1.0000 1.0000 0.8534 0.2911 1.0000 1.0000 0.8660 0.2963 1.0000 1.0000 0.8781 0.3016 1.0000 1.0000 0.8896 0.3069 1.0000 1.0000 0.9006 0.3123 1.0000 1.0000 0.9110 0.3177 1.0000 1.0000 0.9209 0.3232 1.0000 1.0000 0.9302 0.3288 1.0000 1.0000 0.9390 0.3344 1.0000 1.0000 0.9472 0.3401 1.0000 1.0000 0.9548 0.3459 1.0000 1.0000 0.9618 0.3517 1.0000 1.0000 0.9683 0.3576 1.0000 1.0000 0.9741 0.3636 1.0000 1.0000 0.9794 0.3696 1.0000 1.0000 0.9841 0.3757 1.0000 1.0000 0.9882 0.3819 1.0000 1.0000 0.9916 0.3881 1.0000 1.0000 0.9945 0.3944 1.0000 1.0000 0.9968 0.4007 1.0000 1.0000 0.9985 0.4072 1.0000 1.0000 0.9995 0.4137 1.0000 1.0000 1.0000 0.4202 1.0000 1.0000 0.9998 0.4269 1.0000 1.0000 0.9991 0.4336 1.0000 1.0000 0.9977 0.4403 1.0000 1.0000 0.9957 0.4472 1.0000 1.0000 0.9932 0.4541 1.0000 1.0000 0.9900 0.4611 1.0000 1.0000 0.9862 0.4681 1.0000 1.0000 0.9818 0.4753 1.0000 1.0000 0.9768 0.4825 1.0000 1.0000 0.9713 0.4897 1.0000 1.0000 0.9651 0.4971 1.0000 1.0000 0.9584 0.5045 1.0000 1.0000 0.9511 0.5120 1.0000 1.0000 0.9432 0.5196 1.0000 1.0000 0.9347 0.5272 1.0000 1.0000 0.9256 0.5349 1.0000 1.0000 0.9160 0.5427 1.0000 1.0000 0.9059 0.5506 1.0000 1.0000 0.8952 0.5585 1.0000 1.0000 0.8839 0.5665 1.0000 1.0000 0.8721 0.5746 1.0000 1.0000 0.8598 0.5828 1.0000 1.0000 0.8470 0.5910 1.0000 1.0000 0.8336 0.5994 1.0000 1.0000 0.8197 0.6078 1.0000 1.0000 0.8054 0.6163 1.0000 1.0000 0.7905 0.6248 1.0000 1.0000 0.7752 0.6334 1.0000 1.0000 0.7594 0.6422 1.0000 1.0000 0.7431 0.6510 1.0000 1.0000 0.7264 0.6598 1.0000 1.0000 0.7093 0.6688 1.0000 1.0000 0.6917 0.6778 1.0000 1.0000 0.6737 0.6870 1.0000 1.0000 0.6553 0.6962 1.0000 1.0000 0.6365 0.7054 1.0000 1.0000 0.6173 0.7148 1.0000 1.0000 0.5977 0.7242 1.0000 1.0000 0.5778 0.7338 1.0000 1.0000 0.5575 0.7434 1.0000 1.0000 0.5369 0.7531 1.0000 1.0000 0.5159 0.7629 1.0000 1.0000 0.4947 0.7727 1.0000 1.0000 0.4731 0.7827 1.0000 1.0000 0.4512 0.7927 1.0000 1.0000 0.4291 0.8028 1.0000 1.0000 0.4067 0.8130 1.0000 1.0000 0.3841 0.8233 1.0000 1.0000 0.3612 0.8337 1.0000 1.0000 0.3382 0.8442 1.0000 1.0000 0.3149 0.8547 1.0000 1.0000 0.2914 0.8654 1.0000 1.0000 0.2677 0.8761 1.0000 1.0000 0.2439 0.8869 1.0000 1.0000 0.2199 0.8978 1.0000 1.0000 0.1958 0.9088 1.0000 1.0000 0.1716 0.9199 1.0000 1.0000 0.1473 0.9311 1.0000 1.0000 0.1229 0.9423 1.0000 1.0000 0.0984 0.9537 1.0000 1.0000 0.0739 0.9651 1.0000 1.0000 0.0493 0.9767 1.0000 1.0000 0.0246 0.9883 1.0000 1.0000 0.0000 1.0000 1.0000 viper-1.0.0/src/viper/data/pm3d_19.lut0000644000000000000000000001604411667652155015535 0ustar 00000000000000LOOKUP_TABLE ./luts/pm3d_19.lut 256 0.0000 0.0000 1.0000 1.0000 0.0078 0.0246 0.9844 1.0000 0.0157 0.0493 0.9689 1.0000 0.0235 0.0739 0.9535 1.0000 0.0314 0.0984 0.9382 1.0000 0.0392 0.1229 0.9231 1.0000 0.0471 0.1473 0.9081 1.0000 0.0549 0.1716 0.8932 1.0000 0.0627 0.1958 0.8784 1.0000 0.0706 0.2199 0.8638 1.0000 0.0784 0.2439 0.8493 1.0000 0.0863 0.2677 0.8349 1.0000 0.0941 0.2914 0.8206 1.0000 0.1020 0.3149 0.8065 1.0000 0.1098 0.3382 0.7924 1.0000 0.1176 0.3612 0.7785 1.0000 0.1255 0.3841 0.7648 1.0000 0.1333 0.4067 0.7511 1.0000 0.1412 0.4291 0.7376 1.0000 0.1490 0.4512 0.7242 1.0000 0.1569 0.4731 0.7109 1.0000 0.1647 0.4947 0.6977 1.0000 0.1725 0.5159 0.6847 1.0000 0.1804 0.5369 0.6718 1.0000 0.1882 0.5575 0.6590 1.0000 0.1961 0.5778 0.6463 1.0000 0.2039 0.5977 0.6337 1.0000 0.2118 0.6173 0.6213 1.0000 0.2196 0.6365 0.6090 1.0000 0.2275 0.6553 0.5968 1.0000 0.2353 0.6737 0.5848 1.0000 0.2431 0.6917 0.5728 1.0000 0.2510 0.7093 0.5610 1.0000 0.2588 0.7264 0.5493 1.0000 0.2667 0.7431 0.5378 1.0000 0.2745 0.7594 0.5263 1.0000 0.2824 0.7752 0.5150 1.0000 0.2902 0.7905 0.5038 1.0000 0.2980 0.8054 0.4927 1.0000 0.3059 0.8197 0.4818 1.0000 0.3137 0.8336 0.4710 1.0000 0.3216 0.8470 0.4603 1.0000 0.3294 0.8598 0.4497 1.0000 0.3373 0.8721 0.4392 1.0000 0.3451 0.8839 0.4289 1.0000 0.3529 0.8952 0.4187 1.0000 0.3608 0.9059 0.4086 1.0000 0.3686 0.9160 0.3986 1.0000 0.3765 0.9256 0.3888 1.0000 0.3843 0.9347 0.3791 1.0000 0.3922 0.9432 0.3695 1.0000 0.4000 0.9511 0.3600 1.0000 0.4078 0.9584 0.3506 1.0000 0.4157 0.9651 0.3414 1.0000 0.4235 0.9713 0.3323 1.0000 0.4314 0.9768 0.3233 1.0000 0.4392 0.9818 0.3145 1.0000 0.4471 0.9862 0.3057 1.0000 0.4549 0.9900 0.2971 1.0000 0.4627 0.9932 0.2886 1.0000 0.4706 0.9957 0.2803 1.0000 0.4784 0.9977 0.2720 1.0000 0.4863 0.9991 0.2639 1.0000 0.4941 0.9998 0.2559 1.0000 0.5020 1.0000 0.2480 1.0000 0.5098 0.9995 0.2403 1.0000 0.5176 0.9985 0.2327 1.0000 0.5255 0.9968 0.2252 1.0000 0.5333 0.9945 0.2178 1.0000 0.5412 0.9916 0.2105 1.0000 0.5490 0.9882 0.2034 1.0000 0.5569 0.9841 0.1964 1.0000 0.5647 0.9794 0.1895 1.0000 0.5725 0.9741 0.1827 1.0000 0.5804 0.9683 0.1761 1.0000 0.5882 0.9618 0.1696 1.0000 0.5961 0.9548 0.1632 1.0000 0.6039 0.9472 0.1569 1.0000 0.6118 0.9390 0.1507 1.0000 0.6196 0.9302 0.1447 1.0000 0.6275 0.9209 0.1388 1.0000 0.6353 0.9110 0.1330 1.0000 0.6431 0.9006 0.1274 1.0000 0.6510 0.8896 0.1218 1.0000 0.6588 0.8781 0.1164 1.0000 0.6667 0.8660 0.1111 1.0000 0.6745 0.8534 0.1059 1.0000 0.6824 0.8403 0.1009 1.0000 0.6902 0.8267 0.0960 1.0000 0.6980 0.8126 0.0912 1.0000 0.7059 0.7980 0.0865 1.0000 0.7137 0.7829 0.0820 1.0000 0.7216 0.7674 0.0775 1.0000 0.7294 0.7513 0.0732 1.0000 0.7373 0.7348 0.0690 1.0000 0.7451 0.7179 0.0650 1.0000 0.7529 0.7005 0.0610 1.0000 0.7608 0.6827 0.0572 1.0000 0.7686 0.6645 0.0535 1.0000 0.7765 0.6459 0.0500 1.0000 0.7843 0.6269 0.0465 1.0000 0.7922 0.6075 0.0432 1.0000 0.8000 0.5878 0.0400 1.0000 0.8078 0.5677 0.0369 1.0000 0.8157 0.5472 0.0340 1.0000 0.8235 0.5264 0.0311 1.0000 0.8314 0.5053 0.0284 1.0000 0.8392 0.4839 0.0259 1.0000 0.8471 0.4622 0.0234 1.0000 0.8549 0.4402 0.0211 1.0000 0.8627 0.4180 0.0188 1.0000 0.8706 0.3955 0.0167 1.0000 0.8784 0.3727 0.0148 1.0000 0.8863 0.3497 0.0129 1.0000 0.8941 0.3265 0.0112 1.0000 0.9020 0.3032 0.0096 1.0000 0.9098 0.2796 0.0081 1.0000 0.9176 0.2558 0.0068 1.0000 0.9255 0.2319 0.0056 1.0000 0.9333 0.2079 0.0044 1.0000 0.9412 0.1837 0.0035 1.0000 0.9490 0.1595 0.0026 1.0000 0.9569 0.1351 0.0019 1.0000 0.9647 0.1107 0.0012 1.0000 0.9725 0.0861 0.0008 1.0000 0.9804 0.0616 0.0004 1.0000 0.9882 0.0370 0.0001 1.0000 0.9961 0.0123 0.0000 1.0000 1.0000 0.0123 0.0000 1.0000 1.0000 0.0370 0.0001 1.0000 1.0000 0.0616 0.0004 1.0000 1.0000 0.0861 0.0008 1.0000 1.0000 0.1107 0.0012 1.0000 1.0000 0.1351 0.0019 1.0000 1.0000 0.1595 0.0026 1.0000 1.0000 0.1837 0.0035 1.0000 1.0000 0.2079 0.0044 1.0000 1.0000 0.2319 0.0056 1.0000 1.0000 0.2558 0.0068 1.0000 1.0000 0.2796 0.0081 1.0000 1.0000 0.3032 0.0096 1.0000 1.0000 0.3265 0.0112 1.0000 1.0000 0.3497 0.0129 1.0000 1.0000 0.3727 0.0148 1.0000 1.0000 0.3955 0.0167 1.0000 1.0000 0.4180 0.0188 1.0000 1.0000 0.4402 0.0211 1.0000 1.0000 0.4622 0.0234 1.0000 1.0000 0.4839 0.0259 1.0000 1.0000 0.5053 0.0284 1.0000 1.0000 0.5264 0.0311 1.0000 1.0000 0.5472 0.0340 1.0000 1.0000 0.5677 0.0369 1.0000 1.0000 0.5878 0.0400 1.0000 1.0000 0.6075 0.0432 1.0000 1.0000 0.6269 0.0465 1.0000 1.0000 0.6459 0.0500 1.0000 1.0000 0.6645 0.0535 1.0000 1.0000 0.6827 0.0572 1.0000 1.0000 0.7005 0.0610 1.0000 1.0000 0.7179 0.0650 1.0000 1.0000 0.7348 0.0690 1.0000 1.0000 0.7513 0.0732 1.0000 1.0000 0.7674 0.0775 1.0000 1.0000 0.7829 0.0820 1.0000 1.0000 0.7980 0.0865 1.0000 1.0000 0.8126 0.0912 1.0000 1.0000 0.8267 0.0960 1.0000 1.0000 0.8403 0.1009 1.0000 1.0000 0.8534 0.1059 1.0000 1.0000 0.8660 0.1111 1.0000 1.0000 0.8781 0.1164 1.0000 1.0000 0.8896 0.1218 1.0000 1.0000 0.9006 0.1274 1.0000 1.0000 0.9110 0.1330 1.0000 1.0000 0.9209 0.1388 1.0000 1.0000 0.9302 0.1447 1.0000 1.0000 0.9390 0.1507 1.0000 1.0000 0.9472 0.1569 1.0000 1.0000 0.9548 0.1632 1.0000 1.0000 0.9618 0.1696 1.0000 1.0000 0.9683 0.1761 1.0000 1.0000 0.9741 0.1827 1.0000 1.0000 0.9794 0.1895 1.0000 1.0000 0.9841 0.1964 1.0000 1.0000 0.9882 0.2034 1.0000 1.0000 0.9916 0.2105 1.0000 1.0000 0.9945 0.2178 1.0000 1.0000 0.9968 0.2252 1.0000 1.0000 0.9985 0.2327 1.0000 1.0000 0.9995 0.2403 1.0000 1.0000 1.0000 0.2480 1.0000 1.0000 0.9998 0.2559 1.0000 1.0000 0.9991 0.2639 1.0000 1.0000 0.9977 0.2720 1.0000 1.0000 0.9957 0.2803 1.0000 1.0000 0.9932 0.2886 1.0000 1.0000 0.9900 0.2971 1.0000 1.0000 0.9862 0.3057 1.0000 1.0000 0.9818 0.3145 1.0000 1.0000 0.9768 0.3233 1.0000 1.0000 0.9713 0.3323 1.0000 1.0000 0.9651 0.3414 1.0000 1.0000 0.9584 0.3506 1.0000 1.0000 0.9511 0.3600 1.0000 1.0000 0.9432 0.3695 1.0000 1.0000 0.9347 0.3791 1.0000 1.0000 0.9256 0.3888 1.0000 1.0000 0.9160 0.3986 1.0000 1.0000 0.9059 0.4086 1.0000 1.0000 0.8952 0.4187 1.0000 1.0000 0.8839 0.4289 1.0000 1.0000 0.8721 0.4392 1.0000 1.0000 0.8598 0.4497 1.0000 1.0000 0.8470 0.4603 1.0000 1.0000 0.8336 0.4710 1.0000 1.0000 0.8197 0.4818 1.0000 1.0000 0.8054 0.4927 1.0000 1.0000 0.7905 0.5038 1.0000 1.0000 0.7752 0.5150 1.0000 1.0000 0.7594 0.5263 1.0000 1.0000 0.7431 0.5378 1.0000 1.0000 0.7264 0.5493 1.0000 1.0000 0.7093 0.5610 1.0000 1.0000 0.6917 0.5728 1.0000 1.0000 0.6737 0.5848 1.0000 1.0000 0.6553 0.5968 1.0000 1.0000 0.6365 0.6090 1.0000 1.0000 0.6173 0.6213 1.0000 1.0000 0.5977 0.6337 1.0000 1.0000 0.5778 0.6463 1.0000 1.0000 0.5575 0.6590 1.0000 1.0000 0.5369 0.6718 1.0000 1.0000 0.5159 0.6847 1.0000 1.0000 0.4947 0.6977 1.0000 1.0000 0.4731 0.7109 1.0000 1.0000 0.4512 0.7242 1.0000 1.0000 0.4291 0.7376 1.0000 1.0000 0.4067 0.7511 1.0000 1.0000 0.3841 0.7648 1.0000 1.0000 0.3612 0.7785 1.0000 1.0000 0.3382 0.7924 1.0000 1.0000 0.3149 0.8065 1.0000 1.0000 0.2914 0.8206 1.0000 1.0000 0.2677 0.8349 1.0000 1.0000 0.2439 0.8493 1.0000 1.0000 0.2199 0.8638 1.0000 1.0000 0.1958 0.8784 1.0000 1.0000 0.1716 0.8932 1.0000 1.0000 0.1473 0.9081 1.0000 1.0000 0.1229 0.9231 1.0000 1.0000 0.0984 0.9382 1.0000 1.0000 0.0739 0.9535 1.0000 1.0000 0.0493 0.9689 1.0000 1.0000 0.0246 0.9844 1.0000 1.0000 0.0000 1.0000 1.0000 viper-1.0.0/src/viper/data/pm3d_22.lut0000644000000000000000000001604411667652155015527 0ustar 00000000000000LOOKUP_TABLE ./luts/pm3d_22.lut 256 0.0000 0.0000 0.0000 1.0000 0.0078 0.0123 0.0000 1.0000 0.0157 0.0246 0.0000 1.0000 0.0235 0.0370 0.0000 1.0000 0.0314 0.0493 0.0000 1.0000 0.0392 0.0616 0.0000 1.0000 0.0471 0.0739 0.0000 1.0000 0.0549 0.0861 0.0000 1.0000 0.0627 0.0984 0.0000 1.0000 0.0706 0.1107 0.0000 1.0000 0.0784 0.1229 0.0000 1.0000 0.0863 0.1351 0.0000 1.0000 0.0941 0.1473 0.0000 1.0000 0.1020 0.1595 0.0000 1.0000 0.1098 0.1716 0.0000 1.0000 0.1176 0.1837 0.0000 1.0000 0.1255 0.1958 0.0000 1.0000 0.1333 0.2079 0.0000 1.0000 0.1412 0.2199 0.0000 1.0000 0.1490 0.2319 0.0000 1.0000 0.1569 0.2439 0.0000 1.0000 0.1647 0.2558 0.0000 1.0000 0.1725 0.2677 0.0000 1.0000 0.1804 0.2796 0.0000 1.0000 0.1882 0.2914 0.0000 1.0000 0.1961 0.3032 0.0000 1.0000 0.2039 0.3149 0.0000 1.0000 0.2118 0.3265 0.0000 1.0000 0.2196 0.3382 0.0000 1.0000 0.2275 0.3497 0.0000 1.0000 0.2353 0.3612 0.0000 1.0000 0.2431 0.3727 0.0000 1.0000 0.2510 0.3841 0.0000 1.0000 0.2588 0.3955 0.0000 1.0000 0.2667 0.4067 0.0000 1.0000 0.2745 0.4180 0.0000 1.0000 0.2824 0.4291 0.0000 1.0000 0.2902 0.4402 0.0000 1.0000 0.2980 0.4512 0.0000 1.0000 0.3059 0.4622 0.0000 1.0000 0.3137 0.4731 0.0000 1.0000 0.3216 0.4839 0.0000 1.0000 0.3294 0.4947 0.0000 1.0000 0.3373 0.5053 0.0000 1.0000 0.3451 0.5159 0.0000 1.0000 0.3529 0.5264 0.0000 1.0000 0.3608 0.5369 0.0000 1.0000 0.3686 0.5472 0.0000 1.0000 0.3765 0.5575 0.0000 1.0000 0.3843 0.5677 0.0000 1.0000 0.3922 0.5778 0.0000 1.0000 0.4000 0.5878 0.0000 1.0000 0.4078 0.5977 0.0000 1.0000 0.4157 0.6075 0.0000 1.0000 0.4235 0.6173 0.0000 1.0000 0.4314 0.6269 0.0000 1.0000 0.4392 0.6365 0.0000 1.0000 0.4471 0.6459 0.0000 1.0000 0.4549 0.6553 0.0000 1.0000 0.4627 0.6645 0.0000 1.0000 0.4706 0.6737 0.0000 1.0000 0.4784 0.6827 0.0000 1.0000 0.4863 0.6917 0.0000 1.0000 0.4941 0.7005 0.0000 1.0000 0.5020 0.7093 0.0000 1.0000 0.5098 0.7179 0.0000 1.0000 0.5176 0.7264 0.0000 1.0000 0.5255 0.7348 0.0000 1.0000 0.5333 0.7431 0.0000 1.0000 0.5412 0.7513 0.0000 1.0000 0.5490 0.7594 0.0000 1.0000 0.5569 0.7674 0.0000 1.0000 0.5647 0.7752 0.0000 1.0000 0.5725 0.7829 0.0000 1.0000 0.5804 0.7905 0.0000 1.0000 0.5882 0.7980 0.0000 1.0000 0.5961 0.8054 0.0000 1.0000 0.6039 0.8126 0.0000 1.0000 0.6118 0.8197 0.0000 1.0000 0.6196 0.8267 0.0000 1.0000 0.6275 0.8336 0.0000 1.0000 0.6353 0.8403 0.0000 1.0000 0.6431 0.8470 0.0000 1.0000 0.6510 0.8534 0.0000 1.0000 0.6588 0.8598 0.0000 1.0000 0.6667 0.8660 0.0000 1.0000 0.6745 0.8721 0.0000 1.0000 0.6824 0.8781 0.0000 1.0000 0.6902 0.8839 0.0000 1.0000 0.6980 0.8896 0.0000 1.0000 0.7059 0.8952 0.0000 1.0000 0.7137 0.9006 0.0000 1.0000 0.7216 0.9059 0.0000 1.0000 0.7294 0.9110 0.0000 1.0000 0.7373 0.9160 0.0000 1.0000 0.7451 0.9209 0.0000 1.0000 0.7529 0.9256 0.0000 1.0000 0.7608 0.9302 0.0000 1.0000 0.7686 0.9347 0.0000 1.0000 0.7765 0.9390 0.0000 1.0000 0.7843 0.9432 0.0000 1.0000 0.7922 0.9472 0.0000 1.0000 0.8000 0.9511 0.0000 1.0000 0.8078 0.9548 0.0000 1.0000 0.8157 0.9584 0.0000 1.0000 0.8235 0.9618 0.0000 1.0000 0.8314 0.9651 0.0000 1.0000 0.8392 0.9683 0.0000 1.0000 0.8471 0.9713 0.0000 1.0000 0.8549 0.9741 0.0000 1.0000 0.8627 0.9768 0.0000 1.0000 0.8706 0.9794 0.0000 1.0000 0.8784 0.9818 0.0000 1.0000 0.8863 0.9841 0.0000 1.0000 0.8941 0.9862 0.0000 1.0000 0.9020 0.9882 0.0000 1.0000 0.9098 0.9900 0.0000 1.0000 0.9176 0.9916 0.0000 1.0000 0.9255 0.9932 0.0000 1.0000 0.9333 0.9945 0.0000 1.0000 0.9412 0.9957 0.0000 1.0000 0.9490 0.9968 0.0000 1.0000 0.9569 0.9977 0.0000 1.0000 0.9647 0.9985 0.0000 1.0000 0.9725 0.9991 0.0000 1.0000 0.9804 0.9995 0.0000 1.0000 0.9882 0.9998 0.0000 1.0000 0.9961 1.0000 0.0000 1.0000 1.0000 1.0000 0.0000 1.0000 1.0000 0.9998 0.0000 1.0000 1.0000 0.9995 0.0000 1.0000 1.0000 0.9991 0.0000 1.0000 1.0000 0.9985 0.0000 1.0000 1.0000 0.9977 0.0000 1.0000 1.0000 0.9968 0.0000 1.0000 1.0000 0.9957 0.0000 1.0000 1.0000 0.9945 0.0000 1.0000 1.0000 0.9932 0.0000 1.0000 1.0000 0.9916 0.0000 1.0000 1.0000 0.9900 0.0000 1.0000 1.0000 0.9882 0.0000 1.0000 1.0000 0.9862 0.0000 1.0000 1.0000 0.9841 0.0000 1.0000 1.0000 0.9818 0.0000 1.0000 1.0000 0.9794 0.0000 1.0000 1.0000 0.9768 0.0000 1.0000 1.0000 0.9741 0.0000 1.0000 1.0000 0.9713 0.0000 1.0000 1.0000 0.9683 0.0000 1.0000 1.0000 0.9651 0.0000 1.0000 1.0000 0.9618 0.0000 1.0000 1.0000 0.9584 0.0000 1.0000 1.0000 0.9548 0.0000 1.0000 1.0000 0.9511 0.0000 1.0000 1.0000 0.9472 0.0000 1.0000 1.0000 0.9432 0.0000 1.0000 1.0000 0.9390 0.0000 1.0000 1.0000 0.9347 0.0000 1.0000 1.0000 0.9302 0.0000 1.0000 1.0000 0.9256 0.0000 1.0000 1.0000 0.9209 0.0000 1.0000 1.0000 0.9160 0.0000 1.0000 1.0000 0.9110 0.0000 1.0000 1.0000 0.9059 0.0000 1.0000 1.0000 0.9006 0.0000 1.0000 1.0000 0.8952 0.0000 1.0000 1.0000 0.8896 0.0000 1.0000 1.0000 0.8839 0.0000 1.0000 1.0000 0.8781 0.0000 1.0000 1.0000 0.8721 0.0000 1.0000 1.0000 0.8660 0.0000 1.0000 1.0000 0.8598 0.0000 1.0000 1.0000 0.8534 0.0000 1.0000 1.0000 0.8470 0.0000 1.0000 1.0000 0.8403 0.0000 1.0000 1.0000 0.8336 0.0000 1.0000 1.0000 0.8267 0.0000 1.0000 1.0000 0.8197 0.0000 1.0000 1.0000 0.8126 0.0000 1.0000 1.0000 0.8054 0.0000 1.0000 1.0000 0.7980 0.0000 1.0000 1.0000 0.7905 0.0000 1.0000 1.0000 0.7829 0.0000 1.0000 1.0000 0.7752 0.0000 1.0000 1.0000 0.7674 0.0000 1.0000 1.0000 0.7594 0.0000 1.0000 1.0000 0.7513 0.0000 1.0000 1.0000 0.7431 0.0000 1.0000 1.0000 0.7348 0.0000 1.0000 1.0000 0.7264 0.0000 1.0000 1.0000 0.7179 0.0000 1.0000 1.0000 0.7093 0.0000 1.0000 1.0000 0.7005 0.0000 1.0000 1.0000 0.6917 0.0000 1.0000 1.0000 0.6827 0.0000 1.0000 1.0000 0.6737 0.0000 1.0000 1.0000 0.6645 0.0000 1.0000 1.0000 0.6553 0.0000 1.0000 1.0000 0.6459 0.0000 1.0000 1.0000 0.6365 0.0000 1.0000 1.0000 0.6269 0.0000 1.0000 1.0000 0.6173 0.0000 1.0000 1.0000 0.6075 0.0000 1.0000 1.0000 0.5977 0.0000 1.0000 1.0000 0.5878 0.0000 1.0000 1.0000 0.5778 0.0000 1.0000 1.0000 0.5677 0.0000 1.0000 1.0000 0.5575 0.0000 1.0000 1.0000 0.5472 0.0000 1.0000 1.0000 0.5369 0.0000 1.0000 1.0000 0.5264 0.0000 1.0000 1.0000 0.5159 0.0000 1.0000 1.0000 0.5053 0.0000 1.0000 1.0000 0.4947 0.0000 1.0000 1.0000 0.4839 0.0000 1.0000 1.0000 0.4731 0.0000 1.0000 1.0000 0.4622 0.0000 1.0000 1.0000 0.4512 0.0000 1.0000 1.0000 0.4402 0.0000 1.0000 1.0000 0.4291 0.0000 1.0000 1.0000 0.4180 0.0000 1.0000 1.0000 0.4067 0.0000 1.0000 1.0000 0.3955 0.0000 1.0000 1.0000 0.3841 0.0000 1.0000 1.0000 0.3727 0.0000 1.0000 1.0000 0.3612 0.0000 1.0000 1.0000 0.3497 0.0000 1.0000 1.0000 0.3382 0.0000 1.0000 1.0000 0.3265 0.0000 1.0000 1.0000 0.3149 0.0000 1.0000 1.0000 0.3032 0.0000 1.0000 1.0000 0.2914 0.0000 1.0000 1.0000 0.2796 0.0000 1.0000 1.0000 0.2677 0.0000 1.0000 1.0000 0.2558 0.0000 1.0000 1.0000 0.2439 0.0000 1.0000 1.0000 0.2319 0.0000 1.0000 1.0000 0.2199 0.0000 1.0000 1.0000 0.2079 0.0000 1.0000 1.0000 0.1958 0.0000 1.0000 1.0000 0.1837 0.0000 1.0000 1.0000 0.1716 0.0000 1.0000 1.0000 0.1595 0.0000 1.0000 1.0000 0.1473 0.0000 1.0000 1.0000 0.1351 0.0000 1.0000 1.0000 0.1229 0.0000 1.0000 1.0000 0.1107 0.0000 1.0000 1.0000 0.0984 0.0000 1.0000 1.0000 0.0861 0.0000 1.0000 1.0000 0.0739 0.0000 1.0000 1.0000 0.0616 0.0000 1.0000 1.0000 0.0493 0.0000 1.0000 1.0000 0.0370 0.0000 1.0000 1.0000 0.0246 0.0000 1.0000 1.0000 0.0123 0.0000 1.0000 1.0000 0.0000 0.0000 1.0000 viper-1.0.0/src/viper/data/pm3d_23.lut0000644000000000000000000001604411667652155015530 0ustar 00000000000000LOOKUP_TABLE ./luts/pm3d_23.lut 256 0.0000 0.0000 0.5000 1.0000 0.0078 0.0123 0.5000 1.0000 0.0157 0.0246 0.5000 1.0000 0.0235 0.0370 0.5000 1.0000 0.0314 0.0493 0.5000 1.0000 0.0392 0.0616 0.5000 1.0000 0.0471 0.0739 0.5000 1.0000 0.0549 0.0861 0.5000 1.0000 0.0627 0.0984 0.5000 1.0000 0.0706 0.1107 0.5000 1.0000 0.0784 0.1229 0.5000 1.0000 0.0863 0.1351 0.5000 1.0000 0.0941 0.1473 0.5000 1.0000 0.1020 0.1595 0.5000 1.0000 0.1098 0.1716 0.5000 1.0000 0.1176 0.1837 0.5000 1.0000 0.1255 0.1958 0.5000 1.0000 0.1333 0.2079 0.5000 1.0000 0.1412 0.2199 0.5000 1.0000 0.1490 0.2319 0.5000 1.0000 0.1569 0.2439 0.5000 1.0000 0.1647 0.2558 0.5000 1.0000 0.1725 0.2677 0.5000 1.0000 0.1804 0.2796 0.5000 1.0000 0.1882 0.2914 0.5000 1.0000 0.1961 0.3032 0.5000 1.0000 0.2039 0.3149 0.5000 1.0000 0.2118 0.3265 0.5000 1.0000 0.2196 0.3382 0.5000 1.0000 0.2275 0.3497 0.5000 1.0000 0.2353 0.3612 0.5000 1.0000 0.2431 0.3727 0.5000 1.0000 0.2510 0.3841 0.5000 1.0000 0.2588 0.3955 0.5000 1.0000 0.2667 0.4067 0.5000 1.0000 0.2745 0.4180 0.5000 1.0000 0.2824 0.4291 0.5000 1.0000 0.2902 0.4402 0.5000 1.0000 0.2980 0.4512 0.5000 1.0000 0.3059 0.4622 0.5000 1.0000 0.3137 0.4731 0.5000 1.0000 0.3216 0.4839 0.5000 1.0000 0.3294 0.4947 0.5000 1.0000 0.3373 0.5053 0.5000 1.0000 0.3451 0.5159 0.5000 1.0000 0.3529 0.5264 0.5000 1.0000 0.3608 0.5369 0.5000 1.0000 0.3686 0.5472 0.5000 1.0000 0.3765 0.5575 0.5000 1.0000 0.3843 0.5677 0.5000 1.0000 0.3922 0.5778 0.5000 1.0000 0.4000 0.5878 0.5000 1.0000 0.4078 0.5977 0.5000 1.0000 0.4157 0.6075 0.5000 1.0000 0.4235 0.6173 0.5000 1.0000 0.4314 0.6269 0.5000 1.0000 0.4392 0.6365 0.5000 1.0000 0.4471 0.6459 0.5000 1.0000 0.4549 0.6553 0.5000 1.0000 0.4627 0.6645 0.5000 1.0000 0.4706 0.6737 0.5000 1.0000 0.4784 0.6827 0.5000 1.0000 0.4863 0.6917 0.5000 1.0000 0.4941 0.7005 0.5000 1.0000 0.5020 0.7093 0.5000 1.0000 0.5098 0.7179 0.5000 1.0000 0.5176 0.7264 0.5000 1.0000 0.5255 0.7348 0.5000 1.0000 0.5333 0.7431 0.5000 1.0000 0.5412 0.7513 0.5000 1.0000 0.5490 0.7594 0.5000 1.0000 0.5569 0.7674 0.5000 1.0000 0.5647 0.7752 0.5000 1.0000 0.5725 0.7829 0.5000 1.0000 0.5804 0.7905 0.5000 1.0000 0.5882 0.7980 0.5000 1.0000 0.5961 0.8054 0.5000 1.0000 0.6039 0.8126 0.5000 1.0000 0.6118 0.8197 0.5000 1.0000 0.6196 0.8267 0.5000 1.0000 0.6275 0.8336 0.5000 1.0000 0.6353 0.8403 0.5000 1.0000 0.6431 0.8470 0.5000 1.0000 0.6510 0.8534 0.5000 1.0000 0.6588 0.8598 0.5000 1.0000 0.6667 0.8660 0.5000 1.0000 0.6745 0.8721 0.5000 1.0000 0.6824 0.8781 0.5000 1.0000 0.6902 0.8839 0.5000 1.0000 0.6980 0.8896 0.5000 1.0000 0.7059 0.8952 0.5000 1.0000 0.7137 0.9006 0.5000 1.0000 0.7216 0.9059 0.5000 1.0000 0.7294 0.9110 0.5000 1.0000 0.7373 0.9160 0.5000 1.0000 0.7451 0.9209 0.5000 1.0000 0.7529 0.9256 0.5000 1.0000 0.7608 0.9302 0.5000 1.0000 0.7686 0.9347 0.5000 1.0000 0.7765 0.9390 0.5000 1.0000 0.7843 0.9432 0.5000 1.0000 0.7922 0.9472 0.5000 1.0000 0.8000 0.9511 0.5000 1.0000 0.8078 0.9548 0.5000 1.0000 0.8157 0.9584 0.5000 1.0000 0.8235 0.9618 0.5000 1.0000 0.8314 0.9651 0.5000 1.0000 0.8392 0.9683 0.5000 1.0000 0.8471 0.9713 0.5000 1.0000 0.8549 0.9741 0.5000 1.0000 0.8627 0.9768 0.5000 1.0000 0.8706 0.9794 0.5000 1.0000 0.8784 0.9818 0.5000 1.0000 0.8863 0.9841 0.5000 1.0000 0.8941 0.9862 0.5000 1.0000 0.9020 0.9882 0.5000 1.0000 0.9098 0.9900 0.5000 1.0000 0.9176 0.9916 0.5000 1.0000 0.9255 0.9932 0.5000 1.0000 0.9333 0.9945 0.5000 1.0000 0.9412 0.9957 0.5000 1.0000 0.9490 0.9968 0.5000 1.0000 0.9569 0.9977 0.5000 1.0000 0.9647 0.9985 0.5000 1.0000 0.9725 0.9991 0.5000 1.0000 0.9804 0.9995 0.5000 1.0000 0.9882 0.9998 0.5000 1.0000 0.9961 1.0000 0.5000 1.0000 1.0000 1.0000 0.5000 1.0000 1.0000 0.9998 0.5000 1.0000 1.0000 0.9995 0.5000 1.0000 1.0000 0.9991 0.5000 1.0000 1.0000 0.9985 0.5000 1.0000 1.0000 0.9977 0.5000 1.0000 1.0000 0.9968 0.5000 1.0000 1.0000 0.9957 0.5000 1.0000 1.0000 0.9945 0.5000 1.0000 1.0000 0.9932 0.5000 1.0000 1.0000 0.9916 0.5000 1.0000 1.0000 0.9900 0.5000 1.0000 1.0000 0.9882 0.5000 1.0000 1.0000 0.9862 0.5000 1.0000 1.0000 0.9841 0.5000 1.0000 1.0000 0.9818 0.5000 1.0000 1.0000 0.9794 0.5000 1.0000 1.0000 0.9768 0.5000 1.0000 1.0000 0.9741 0.5000 1.0000 1.0000 0.9713 0.5000 1.0000 1.0000 0.9683 0.5000 1.0000 1.0000 0.9651 0.5000 1.0000 1.0000 0.9618 0.5000 1.0000 1.0000 0.9584 0.5000 1.0000 1.0000 0.9548 0.5000 1.0000 1.0000 0.9511 0.5000 1.0000 1.0000 0.9472 0.5000 1.0000 1.0000 0.9432 0.5000 1.0000 1.0000 0.9390 0.5000 1.0000 1.0000 0.9347 0.5000 1.0000 1.0000 0.9302 0.5000 1.0000 1.0000 0.9256 0.5000 1.0000 1.0000 0.9209 0.5000 1.0000 1.0000 0.9160 0.5000 1.0000 1.0000 0.9110 0.5000 1.0000 1.0000 0.9059 0.5000 1.0000 1.0000 0.9006 0.5000 1.0000 1.0000 0.8952 0.5000 1.0000 1.0000 0.8896 0.5000 1.0000 1.0000 0.8839 0.5000 1.0000 1.0000 0.8781 0.5000 1.0000 1.0000 0.8721 0.5000 1.0000 1.0000 0.8660 0.5000 1.0000 1.0000 0.8598 0.5000 1.0000 1.0000 0.8534 0.5000 1.0000 1.0000 0.8470 0.5000 1.0000 1.0000 0.8403 0.5000 1.0000 1.0000 0.8336 0.5000 1.0000 1.0000 0.8267 0.5000 1.0000 1.0000 0.8197 0.5000 1.0000 1.0000 0.8126 0.5000 1.0000 1.0000 0.8054 0.5000 1.0000 1.0000 0.7980 0.5000 1.0000 1.0000 0.7905 0.5000 1.0000 1.0000 0.7829 0.5000 1.0000 1.0000 0.7752 0.5000 1.0000 1.0000 0.7674 0.5000 1.0000 1.0000 0.7594 0.5000 1.0000 1.0000 0.7513 0.5000 1.0000 1.0000 0.7431 0.5000 1.0000 1.0000 0.7348 0.5000 1.0000 1.0000 0.7264 0.5000 1.0000 1.0000 0.7179 0.5000 1.0000 1.0000 0.7093 0.5000 1.0000 1.0000 0.7005 0.5000 1.0000 1.0000 0.6917 0.5000 1.0000 1.0000 0.6827 0.5000 1.0000 1.0000 0.6737 0.5000 1.0000 1.0000 0.6645 0.5000 1.0000 1.0000 0.6553 0.5000 1.0000 1.0000 0.6459 0.5000 1.0000 1.0000 0.6365 0.5000 1.0000 1.0000 0.6269 0.5000 1.0000 1.0000 0.6173 0.5000 1.0000 1.0000 0.6075 0.5000 1.0000 1.0000 0.5977 0.5000 1.0000 1.0000 0.5878 0.5000 1.0000 1.0000 0.5778 0.5000 1.0000 1.0000 0.5677 0.5000 1.0000 1.0000 0.5575 0.5000 1.0000 1.0000 0.5472 0.5000 1.0000 1.0000 0.5369 0.5000 1.0000 1.0000 0.5264 0.5000 1.0000 1.0000 0.5159 0.5000 1.0000 1.0000 0.5053 0.5000 1.0000 1.0000 0.4947 0.5000 1.0000 1.0000 0.4839 0.5000 1.0000 1.0000 0.4731 0.5000 1.0000 1.0000 0.4622 0.5000 1.0000 1.0000 0.4512 0.5000 1.0000 1.0000 0.4402 0.5000 1.0000 1.0000 0.4291 0.5000 1.0000 1.0000 0.4180 0.5000 1.0000 1.0000 0.4067 0.5000 1.0000 1.0000 0.3955 0.5000 1.0000 1.0000 0.3841 0.5000 1.0000 1.0000 0.3727 0.5000 1.0000 1.0000 0.3612 0.5000 1.0000 1.0000 0.3497 0.5000 1.0000 1.0000 0.3382 0.5000 1.0000 1.0000 0.3265 0.5000 1.0000 1.0000 0.3149 0.5000 1.0000 1.0000 0.3032 0.5000 1.0000 1.0000 0.2914 0.5000 1.0000 1.0000 0.2796 0.5000 1.0000 1.0000 0.2677 0.5000 1.0000 1.0000 0.2558 0.5000 1.0000 1.0000 0.2439 0.5000 1.0000 1.0000 0.2319 0.5000 1.0000 1.0000 0.2199 0.5000 1.0000 1.0000 0.2079 0.5000 1.0000 1.0000 0.1958 0.5000 1.0000 1.0000 0.1837 0.5000 1.0000 1.0000 0.1716 0.5000 1.0000 1.0000 0.1595 0.5000 1.0000 1.0000 0.1473 0.5000 1.0000 1.0000 0.1351 0.5000 1.0000 1.0000 0.1229 0.5000 1.0000 1.0000 0.1107 0.5000 1.0000 1.0000 0.0984 0.5000 1.0000 1.0000 0.0861 0.5000 1.0000 1.0000 0.0739 0.5000 1.0000 1.0000 0.0616 0.5000 1.0000 1.0000 0.0493 0.5000 1.0000 1.0000 0.0370 0.5000 1.0000 1.0000 0.0246 0.5000 1.0000 1.0000 0.0123 0.5000 1.0000 1.0000 0.0000 0.5000 1.0000 viper-1.0.0/src/viper/data/pm3d_24.lut0000644000000000000000000001604411667652155015531 0ustar 00000000000000LOOKUP_TABLE ./luts/pm3d_24.lut 256 0.0000 0.0000 0.0000 1.0000 0.0078 0.0123 0.0246 1.0000 0.0157 0.0246 0.0493 1.0000 0.0235 0.0370 0.0739 1.0000 0.0314 0.0493 0.0984 1.0000 0.0392 0.0616 0.1229 1.0000 0.0471 0.0739 0.1473 1.0000 0.0549 0.0861 0.1716 1.0000 0.0627 0.0984 0.1958 1.0000 0.0706 0.1107 0.2199 1.0000 0.0784 0.1229 0.2439 1.0000 0.0863 0.1351 0.2677 1.0000 0.0941 0.1473 0.2914 1.0000 0.1020 0.1595 0.3149 1.0000 0.1098 0.1716 0.3382 1.0000 0.1176 0.1837 0.3612 1.0000 0.1255 0.1958 0.3841 1.0000 0.1333 0.2079 0.4067 1.0000 0.1412 0.2199 0.4291 1.0000 0.1490 0.2319 0.4512 1.0000 0.1569 0.2439 0.4731 1.0000 0.1647 0.2558 0.4947 1.0000 0.1725 0.2677 0.5159 1.0000 0.1804 0.2796 0.5369 1.0000 0.1882 0.2914 0.5575 1.0000 0.1961 0.3032 0.5778 1.0000 0.2039 0.3149 0.5977 1.0000 0.2118 0.3265 0.6173 1.0000 0.2196 0.3382 0.6365 1.0000 0.2275 0.3497 0.6553 1.0000 0.2353 0.3612 0.6737 1.0000 0.2431 0.3727 0.6917 1.0000 0.2510 0.3841 0.7093 1.0000 0.2588 0.3955 0.7264 1.0000 0.2667 0.4067 0.7431 1.0000 0.2745 0.4180 0.7594 1.0000 0.2824 0.4291 0.7752 1.0000 0.2902 0.4402 0.7905 1.0000 0.2980 0.4512 0.8054 1.0000 0.3059 0.4622 0.8197 1.0000 0.3137 0.4731 0.8336 1.0000 0.3216 0.4839 0.8470 1.0000 0.3294 0.4947 0.8598 1.0000 0.3373 0.5053 0.8721 1.0000 0.3451 0.5159 0.8839 1.0000 0.3529 0.5264 0.8952 1.0000 0.3608 0.5369 0.9059 1.0000 0.3686 0.5472 0.9160 1.0000 0.3765 0.5575 0.9256 1.0000 0.3843 0.5677 0.9347 1.0000 0.3922 0.5778 0.9432 1.0000 0.4000 0.5878 0.9511 1.0000 0.4078 0.5977 0.9584 1.0000 0.4157 0.6075 0.9651 1.0000 0.4235 0.6173 0.9713 1.0000 0.4314 0.6269 0.9768 1.0000 0.4392 0.6365 0.9818 1.0000 0.4471 0.6459 0.9862 1.0000 0.4549 0.6553 0.9900 1.0000 0.4627 0.6645 0.9932 1.0000 0.4706 0.6737 0.9957 1.0000 0.4784 0.6827 0.9977 1.0000 0.4863 0.6917 0.9991 1.0000 0.4941 0.7005 0.9998 1.0000 0.5020 0.7093 1.0000 1.0000 0.5098 0.7179 0.9995 1.0000 0.5176 0.7264 0.9985 1.0000 0.5255 0.7348 0.9968 1.0000 0.5333 0.7431 0.9945 1.0000 0.5412 0.7513 0.9916 1.0000 0.5490 0.7594 0.9882 1.0000 0.5569 0.7674 0.9841 1.0000 0.5647 0.7752 0.9794 1.0000 0.5725 0.7829 0.9741 1.0000 0.5804 0.7905 0.9683 1.0000 0.5882 0.7980 0.9618 1.0000 0.5961 0.8054 0.9548 1.0000 0.6039 0.8126 0.9472 1.0000 0.6118 0.8197 0.9390 1.0000 0.6196 0.8267 0.9302 1.0000 0.6275 0.8336 0.9209 1.0000 0.6353 0.8403 0.9110 1.0000 0.6431 0.8470 0.9006 1.0000 0.6510 0.8534 0.8896 1.0000 0.6588 0.8598 0.8781 1.0000 0.6667 0.8660 0.8660 1.0000 0.6745 0.8721 0.8534 1.0000 0.6824 0.8781 0.8403 1.0000 0.6902 0.8839 0.8267 1.0000 0.6980 0.8896 0.8126 1.0000 0.7059 0.8952 0.7980 1.0000 0.7137 0.9006 0.7829 1.0000 0.7216 0.9059 0.7674 1.0000 0.7294 0.9110 0.7513 1.0000 0.7373 0.9160 0.7348 1.0000 0.7451 0.9209 0.7179 1.0000 0.7529 0.9256 0.7005 1.0000 0.7608 0.9302 0.6827 1.0000 0.7686 0.9347 0.6645 1.0000 0.7765 0.9390 0.6459 1.0000 0.7843 0.9432 0.6269 1.0000 0.7922 0.9472 0.6075 1.0000 0.8000 0.9511 0.5878 1.0000 0.8078 0.9548 0.5677 1.0000 0.8157 0.9584 0.5472 1.0000 0.8235 0.9618 0.5264 1.0000 0.8314 0.9651 0.5053 1.0000 0.8392 0.9683 0.4839 1.0000 0.8471 0.9713 0.4622 1.0000 0.8549 0.9741 0.4402 1.0000 0.8627 0.9768 0.4180 1.0000 0.8706 0.9794 0.3955 1.0000 0.8784 0.9818 0.3727 1.0000 0.8863 0.9841 0.3497 1.0000 0.8941 0.9862 0.3265 1.0000 0.9020 0.9882 0.3032 1.0000 0.9098 0.9900 0.2796 1.0000 0.9176 0.9916 0.2558 1.0000 0.9255 0.9932 0.2319 1.0000 0.9333 0.9945 0.2079 1.0000 0.9412 0.9957 0.1837 1.0000 0.9490 0.9968 0.1595 1.0000 0.9569 0.9977 0.1351 1.0000 0.9647 0.9985 0.1107 1.0000 0.9725 0.9991 0.0861 1.0000 0.9804 0.9995 0.0616 1.0000 0.9882 0.9998 0.0370 1.0000 0.9961 1.0000 0.0123 1.0000 1.0000 1.0000 0.0000 1.0000 1.0000 0.9998 0.0000 1.0000 1.0000 0.9995 0.0000 1.0000 1.0000 0.9991 0.0000 1.0000 1.0000 0.9985 0.0000 1.0000 1.0000 0.9977 0.0000 1.0000 1.0000 0.9968 0.0000 1.0000 1.0000 0.9957 0.0000 1.0000 1.0000 0.9945 0.0000 1.0000 1.0000 0.9932 0.0000 1.0000 1.0000 0.9916 0.0000 1.0000 1.0000 0.9900 0.0000 1.0000 1.0000 0.9882 0.0000 1.0000 1.0000 0.9862 0.0000 1.0000 1.0000 0.9841 0.0000 1.0000 1.0000 0.9818 0.0000 1.0000 1.0000 0.9794 0.0000 1.0000 1.0000 0.9768 0.0000 1.0000 1.0000 0.9741 0.0000 1.0000 1.0000 0.9713 0.0000 1.0000 1.0000 0.9683 0.0000 1.0000 1.0000 0.9651 0.0000 1.0000 1.0000 0.9618 0.0000 1.0000 1.0000 0.9584 0.0000 1.0000 1.0000 0.9548 0.0000 1.0000 1.0000 0.9511 0.0000 1.0000 1.0000 0.9472 0.0000 1.0000 1.0000 0.9432 0.0000 1.0000 1.0000 0.9390 0.0000 1.0000 1.0000 0.9347 0.0000 1.0000 1.0000 0.9302 0.0000 1.0000 1.0000 0.9256 0.0000 1.0000 1.0000 0.9209 0.0000 1.0000 1.0000 0.9160 0.0000 1.0000 1.0000 0.9110 0.0000 1.0000 1.0000 0.9059 0.0000 1.0000 1.0000 0.9006 0.0000 1.0000 1.0000 0.8952 0.0000 1.0000 1.0000 0.8896 0.0000 1.0000 1.0000 0.8839 0.0000 1.0000 1.0000 0.8781 0.0000 1.0000 1.0000 0.8721 0.0000 1.0000 1.0000 0.8660 0.0000 1.0000 1.0000 0.8598 0.0000 1.0000 1.0000 0.8534 0.0000 1.0000 1.0000 0.8470 0.0000 1.0000 1.0000 0.8403 0.0000 1.0000 1.0000 0.8336 0.0000 1.0000 1.0000 0.8267 0.0000 1.0000 1.0000 0.8197 0.0000 1.0000 1.0000 0.8126 0.0000 1.0000 1.0000 0.8054 0.0000 1.0000 1.0000 0.7980 0.0000 1.0000 1.0000 0.7905 0.0000 1.0000 1.0000 0.7829 0.0000 1.0000 1.0000 0.7752 0.0000 1.0000 1.0000 0.7674 0.0000 1.0000 1.0000 0.7594 0.0000 1.0000 1.0000 0.7513 0.0000 1.0000 1.0000 0.7431 0.0000 1.0000 1.0000 0.7348 0.0000 1.0000 1.0000 0.7264 0.0000 1.0000 1.0000 0.7179 0.0000 1.0000 1.0000 0.7093 0.0000 1.0000 1.0000 0.7005 0.0000 1.0000 1.0000 0.6917 0.0000 1.0000 1.0000 0.6827 0.0000 1.0000 1.0000 0.6737 0.0000 1.0000 1.0000 0.6645 0.0000 1.0000 1.0000 0.6553 0.0000 1.0000 1.0000 0.6459 0.0000 1.0000 1.0000 0.6365 0.0000 1.0000 1.0000 0.6269 0.0000 1.0000 1.0000 0.6173 0.0000 1.0000 1.0000 0.6075 0.0000 1.0000 1.0000 0.5977 0.0000 1.0000 1.0000 0.5878 0.0000 1.0000 1.0000 0.5778 0.0000 1.0000 1.0000 0.5677 0.0000 1.0000 1.0000 0.5575 0.0000 1.0000 1.0000 0.5472 0.0000 1.0000 1.0000 0.5369 0.0000 1.0000 1.0000 0.5264 0.0000 1.0000 1.0000 0.5159 0.0000 1.0000 1.0000 0.5053 0.0000 1.0000 1.0000 0.4947 0.0000 1.0000 1.0000 0.4839 0.0000 1.0000 1.0000 0.4731 0.0000 1.0000 1.0000 0.4622 0.0000 1.0000 1.0000 0.4512 0.0000 1.0000 1.0000 0.4402 0.0000 1.0000 1.0000 0.4291 0.0000 1.0000 1.0000 0.4180 0.0000 1.0000 1.0000 0.4067 0.0000 1.0000 1.0000 0.3955 0.0000 1.0000 1.0000 0.3841 0.0000 1.0000 1.0000 0.3727 0.0000 1.0000 1.0000 0.3612 0.0000 1.0000 1.0000 0.3497 0.0000 1.0000 1.0000 0.3382 0.0000 1.0000 1.0000 0.3265 0.0000 1.0000 1.0000 0.3149 0.0000 1.0000 1.0000 0.3032 0.0000 1.0000 1.0000 0.2914 0.0000 1.0000 1.0000 0.2796 0.0000 1.0000 1.0000 0.2677 0.0000 1.0000 1.0000 0.2558 0.0000 1.0000 1.0000 0.2439 0.0000 1.0000 1.0000 0.2319 0.0000 1.0000 1.0000 0.2199 0.0000 1.0000 1.0000 0.2079 0.0000 1.0000 1.0000 0.1958 0.0000 1.0000 1.0000 0.1837 0.0000 1.0000 1.0000 0.1716 0.0000 1.0000 1.0000 0.1595 0.0000 1.0000 1.0000 0.1473 0.0000 1.0000 1.0000 0.1351 0.0000 1.0000 1.0000 0.1229 0.0000 1.0000 1.0000 0.1107 0.0000 1.0000 1.0000 0.0984 0.0000 1.0000 1.0000 0.0861 0.0000 1.0000 1.0000 0.0739 0.0000 1.0000 1.0000 0.0616 0.0000 1.0000 1.0000 0.0493 0.0000 1.0000 1.0000 0.0370 0.0000 1.0000 1.0000 0.0246 0.0000 1.0000 1.0000 0.0123 0.0000 1.0000 1.0000 0.0000 0.0000 1.0000 viper-1.0.0/src/viper/data/pm3d_25.lut0000644000000000000000000001604411667652155015532 0ustar 00000000000000LOOKUP_TABLE ./luts/pm3d_25.lut 256 0.0000 0.0000 1.0000 1.0000 0.0078 0.0123 0.9941 1.0000 0.0157 0.0246 0.9882 1.0000 0.0235 0.0370 0.9824 1.0000 0.0314 0.0493 0.9765 1.0000 0.0392 0.0616 0.9706 1.0000 0.0471 0.0739 0.9647 1.0000 0.0549 0.0861 0.9588 1.0000 0.0627 0.0984 0.9529 1.0000 0.0706 0.1107 0.9471 1.0000 0.0784 0.1229 0.9412 1.0000 0.0863 0.1351 0.9353 1.0000 0.0941 0.1473 0.9294 1.0000 0.1020 0.1595 0.9235 1.0000 0.1098 0.1716 0.9176 1.0000 0.1176 0.1837 0.9118 1.0000 0.1255 0.1958 0.9059 1.0000 0.1333 0.2079 0.9000 1.0000 0.1412 0.2199 0.8941 1.0000 0.1490 0.2319 0.8882 1.0000 0.1569 0.2439 0.8824 1.0000 0.1647 0.2558 0.8765 1.0000 0.1725 0.2677 0.8706 1.0000 0.1804 0.2796 0.8647 1.0000 0.1882 0.2914 0.8588 1.0000 0.1961 0.3032 0.8529 1.0000 0.2039 0.3149 0.8471 1.0000 0.2118 0.3265 0.8412 1.0000 0.2196 0.3382 0.8353 1.0000 0.2275 0.3497 0.8294 1.0000 0.2353 0.3612 0.8235 1.0000 0.2431 0.3727 0.8176 1.0000 0.2510 0.3841 0.8118 1.0000 0.2588 0.3955 0.8059 1.0000 0.2667 0.4067 0.8000 1.0000 0.2745 0.4180 0.7941 1.0000 0.2824 0.4291 0.7882 1.0000 0.2902 0.4402 0.7824 1.0000 0.2980 0.4512 0.7765 1.0000 0.3059 0.4622 0.7706 1.0000 0.3137 0.4731 0.7647 1.0000 0.3216 0.4839 0.7588 1.0000 0.3294 0.4947 0.7529 1.0000 0.3373 0.5053 0.7471 1.0000 0.3451 0.5159 0.7412 1.0000 0.3529 0.5264 0.7353 1.0000 0.3608 0.5369 0.7294 1.0000 0.3686 0.5472 0.7235 1.0000 0.3765 0.5575 0.7176 1.0000 0.3843 0.5677 0.7118 1.0000 0.3922 0.5778 0.7059 1.0000 0.4000 0.5878 0.7000 1.0000 0.4078 0.5977 0.6941 1.0000 0.4157 0.6075 0.6882 1.0000 0.4235 0.6173 0.6824 1.0000 0.4314 0.6269 0.6765 1.0000 0.4392 0.6365 0.6706 1.0000 0.4471 0.6459 0.6647 1.0000 0.4549 0.6553 0.6588 1.0000 0.4627 0.6645 0.6529 1.0000 0.4706 0.6737 0.6471 1.0000 0.4784 0.6827 0.6412 1.0000 0.4863 0.6917 0.6353 1.0000 0.4941 0.7005 0.6294 1.0000 0.5020 0.7093 0.6235 1.0000 0.5098 0.7179 0.6176 1.0000 0.5176 0.7264 0.6118 1.0000 0.5255 0.7348 0.6059 1.0000 0.5333 0.7431 0.6000 1.0000 0.5412 0.7513 0.5941 1.0000 0.5490 0.7594 0.5882 1.0000 0.5569 0.7674 0.5824 1.0000 0.5647 0.7752 0.5765 1.0000 0.5725 0.7829 0.5706 1.0000 0.5804 0.7905 0.5647 1.0000 0.5882 0.7980 0.5588 1.0000 0.5961 0.8054 0.5529 1.0000 0.6039 0.8126 0.5471 1.0000 0.6118 0.8197 0.5412 1.0000 0.6196 0.8267 0.5353 1.0000 0.6275 0.8336 0.5294 1.0000 0.6353 0.8403 0.5235 1.0000 0.6431 0.8470 0.5176 1.0000 0.6510 0.8534 0.5118 1.0000 0.6588 0.8598 0.5059 1.0000 0.6667 0.8660 0.5000 1.0000 0.6745 0.8721 0.4941 1.0000 0.6824 0.8781 0.4882 1.0000 0.6902 0.8839 0.4824 1.0000 0.6980 0.8896 0.4765 1.0000 0.7059 0.8952 0.4706 1.0000 0.7137 0.9006 0.4647 1.0000 0.7216 0.9059 0.4588 1.0000 0.7294 0.9110 0.4529 1.0000 0.7373 0.9160 0.4471 1.0000 0.7451 0.9209 0.4412 1.0000 0.7529 0.9256 0.4353 1.0000 0.7608 0.9302 0.4294 1.0000 0.7686 0.9347 0.4235 1.0000 0.7765 0.9390 0.4176 1.0000 0.7843 0.9432 0.4118 1.0000 0.7922 0.9472 0.4059 1.0000 0.8000 0.9511 0.4000 1.0000 0.8078 0.9548 0.3941 1.0000 0.8157 0.9584 0.3882 1.0000 0.8235 0.9618 0.3824 1.0000 0.8314 0.9651 0.3765 1.0000 0.8392 0.9683 0.3706 1.0000 0.8471 0.9713 0.3647 1.0000 0.8549 0.9741 0.3588 1.0000 0.8627 0.9768 0.3529 1.0000 0.8706 0.9794 0.3471 1.0000 0.8784 0.9818 0.3412 1.0000 0.8863 0.9841 0.3353 1.0000 0.8941 0.9862 0.3294 1.0000 0.9020 0.9882 0.3235 1.0000 0.9098 0.9900 0.3176 1.0000 0.9176 0.9916 0.3118 1.0000 0.9255 0.9932 0.3059 1.0000 0.9333 0.9945 0.3000 1.0000 0.9412 0.9957 0.2941 1.0000 0.9490 0.9968 0.2882 1.0000 0.9569 0.9977 0.2824 1.0000 0.9647 0.9985 0.2765 1.0000 0.9725 0.9991 0.2706 1.0000 0.9804 0.9995 0.2647 1.0000 0.9882 0.9998 0.2588 1.0000 0.9961 1.0000 0.2529 1.0000 1.0000 1.0000 0.2471 1.0000 1.0000 0.9998 0.2412 1.0000 1.0000 0.9995 0.2353 1.0000 1.0000 0.9991 0.2294 1.0000 1.0000 0.9985 0.2235 1.0000 1.0000 0.9977 0.2176 1.0000 1.0000 0.9968 0.2118 1.0000 1.0000 0.9957 0.2059 1.0000 1.0000 0.9945 0.2000 1.0000 1.0000 0.9932 0.1941 1.0000 1.0000 0.9916 0.1882 1.0000 1.0000 0.9900 0.1824 1.0000 1.0000 0.9882 0.1765 1.0000 1.0000 0.9862 0.1706 1.0000 1.0000 0.9841 0.1647 1.0000 1.0000 0.9818 0.1588 1.0000 1.0000 0.9794 0.1529 1.0000 1.0000 0.9768 0.1471 1.0000 1.0000 0.9741 0.1412 1.0000 1.0000 0.9713 0.1353 1.0000 1.0000 0.9683 0.1294 1.0000 1.0000 0.9651 0.1235 1.0000 1.0000 0.9618 0.1176 1.0000 1.0000 0.9584 0.1118 1.0000 1.0000 0.9548 0.1059 1.0000 1.0000 0.9511 0.1000 1.0000 1.0000 0.9472 0.0941 1.0000 1.0000 0.9432 0.0882 1.0000 1.0000 0.9390 0.0824 1.0000 1.0000 0.9347 0.0765 1.0000 1.0000 0.9302 0.0706 1.0000 1.0000 0.9256 0.0647 1.0000 1.0000 0.9209 0.0588 1.0000 1.0000 0.9160 0.0529 1.0000 1.0000 0.9110 0.0471 1.0000 1.0000 0.9059 0.0412 1.0000 1.0000 0.9006 0.0353 1.0000 1.0000 0.8952 0.0294 1.0000 1.0000 0.8896 0.0235 1.0000 1.0000 0.8839 0.0176 1.0000 1.0000 0.8781 0.0118 1.0000 1.0000 0.8721 0.0059 1.0000 1.0000 0.8660 0.0000 1.0000 1.0000 0.8598 0.0059 1.0000 1.0000 0.8534 0.0118 1.0000 1.0000 0.8470 0.0176 1.0000 1.0000 0.8403 0.0235 1.0000 1.0000 0.8336 0.0294 1.0000 1.0000 0.8267 0.0353 1.0000 1.0000 0.8197 0.0412 1.0000 1.0000 0.8126 0.0471 1.0000 1.0000 0.8054 0.0529 1.0000 1.0000 0.7980 0.0588 1.0000 1.0000 0.7905 0.0647 1.0000 1.0000 0.7829 0.0706 1.0000 1.0000 0.7752 0.0765 1.0000 1.0000 0.7674 0.0824 1.0000 1.0000 0.7594 0.0882 1.0000 1.0000 0.7513 0.0941 1.0000 1.0000 0.7431 0.1000 1.0000 1.0000 0.7348 0.1059 1.0000 1.0000 0.7264 0.1118 1.0000 1.0000 0.7179 0.1176 1.0000 1.0000 0.7093 0.1235 1.0000 1.0000 0.7005 0.1294 1.0000 1.0000 0.6917 0.1353 1.0000 1.0000 0.6827 0.1412 1.0000 1.0000 0.6737 0.1471 1.0000 1.0000 0.6645 0.1529 1.0000 1.0000 0.6553 0.1588 1.0000 1.0000 0.6459 0.1647 1.0000 1.0000 0.6365 0.1706 1.0000 1.0000 0.6269 0.1765 1.0000 1.0000 0.6173 0.1824 1.0000 1.0000 0.6075 0.1882 1.0000 1.0000 0.5977 0.1941 1.0000 1.0000 0.5878 0.2000 1.0000 1.0000 0.5778 0.2059 1.0000 1.0000 0.5677 0.2118 1.0000 1.0000 0.5575 0.2176 1.0000 1.0000 0.5472 0.2235 1.0000 1.0000 0.5369 0.2294 1.0000 1.0000 0.5264 0.2353 1.0000 1.0000 0.5159 0.2412 1.0000 1.0000 0.5053 0.2471 1.0000 1.0000 0.4947 0.2529 1.0000 1.0000 0.4839 0.2588 1.0000 1.0000 0.4731 0.2647 1.0000 1.0000 0.4622 0.2706 1.0000 1.0000 0.4512 0.2765 1.0000 1.0000 0.4402 0.2824 1.0000 1.0000 0.4291 0.2882 1.0000 1.0000 0.4180 0.2941 1.0000 1.0000 0.4067 0.3000 1.0000 1.0000 0.3955 0.3059 1.0000 1.0000 0.3841 0.3118 1.0000 1.0000 0.3727 0.3176 1.0000 1.0000 0.3612 0.3235 1.0000 1.0000 0.3497 0.3294 1.0000 1.0000 0.3382 0.3353 1.0000 1.0000 0.3265 0.3412 1.0000 1.0000 0.3149 0.3471 1.0000 1.0000 0.3032 0.3529 1.0000 1.0000 0.2914 0.3588 1.0000 1.0000 0.2796 0.3647 1.0000 1.0000 0.2677 0.3706 1.0000 1.0000 0.2558 0.3765 1.0000 1.0000 0.2439 0.3824 1.0000 1.0000 0.2319 0.3882 1.0000 1.0000 0.2199 0.3941 1.0000 1.0000 0.2079 0.4000 1.0000 1.0000 0.1958 0.4059 1.0000 1.0000 0.1837 0.4118 1.0000 1.0000 0.1716 0.4176 1.0000 1.0000 0.1595 0.4235 1.0000 1.0000 0.1473 0.4294 1.0000 1.0000 0.1351 0.4353 1.0000 1.0000 0.1229 0.4412 1.0000 1.0000 0.1107 0.4471 1.0000 1.0000 0.0984 0.4529 1.0000 1.0000 0.0861 0.4588 1.0000 1.0000 0.0739 0.4647 1.0000 1.0000 0.0616 0.4706 1.0000 1.0000 0.0493 0.4765 1.0000 1.0000 0.0370 0.4824 1.0000 1.0000 0.0246 0.4882 1.0000 1.0000 0.0123 0.4941 1.0000 1.0000 0.0000 0.5000 1.0000