WorldWideScience

Sample records for python gist module

  1. Installing Python Modules with pip

    OpenAIRE

    Fred Gibbs

    2013-01-01

    This lesson shows you how to download and install Python modules. There are many ways to install external modules, but for the purposes of this lesson, we’re going to use a program called pip. As of Python 2.7.9 and newer, pip is installed by default. This tutorial will be helpful for anyone using older versions of Python (which are still quite common).

  2. p3d--Python module for structural bioinformatics.

    Science.gov (United States)

    Fufezan, Christian; Specht, Michael

    2009-08-21

    High-throughput bioinformatic analysis tools are needed to mine the large amount of structural data via knowledge based approaches. The development of such tools requires a robust interface to access the structural data in an easy way. For this the Python scripting language is the optimal choice since its philosophy is to write an understandable source code. p3d is an object oriented Python module that adds a simple yet powerful interface to the Python interpreter to process and analyse three dimensional protein structure files (PDB files). p3d's strength arises from the combination of a) very fast spatial access to the structural data due to the implementation of a binary space partitioning (BSP) tree, b) set theory and c) functions that allow to combine a and b and that use human readable language in the search queries rather than complex computer language. All these factors combined facilitate the rapid development of bioinformatic tools that can perform quick and complex analyses of protein structures. p3d is the perfect tool to quickly develop tools for structural bioinformatics using the Python scripting language.

  3. p3d – Python module for structural bioinformatics

    Directory of Open Access Journals (Sweden)

    Fufezan Christian

    2009-08-01

    Full Text Available Abstract Background High-throughput bioinformatic analysis tools are needed to mine the large amount of structural data via knowledge based approaches. The development of such tools requires a robust interface to access the structural data in an easy way. For this the Python scripting language is the optimal choice since its philosophy is to write an understandable source code. Results p3d is an object oriented Python module that adds a simple yet powerful interface to the Python interpreter to process and analyse three dimensional protein structure files (PDB files. p3d's strength arises from the combination of a very fast spatial access to the structural data due to the implementation of a binary space partitioning (BSP tree, b set theory and c functions that allow to combine a and b and that use human readable language in the search queries rather than complex computer language. All these factors combined facilitate the rapid development of bioinformatic tools that can perform quick and complex analyses of protein structures. Conclusion p3d is the perfect tool to quickly develop tools for structural bioinformatics using the Python scripting language.

  4. Pyvolve: A Flexible Python Module for Simulating Sequences along Phylogenies.

    Science.gov (United States)

    Spielman, Stephanie J; Wilke, Claus O

    2015-01-01

    We introduce Pyvolve, a flexible Python module for simulating genetic data along a phylogeny using continuous-time Markov models of sequence evolution. Easily incorporated into Python bioinformatics pipelines, Pyvolve can simulate sequences according to most standard models of nucleotide, amino-acid, and codon sequence evolution. All model parameters are fully customizable. Users can additionally specify custom evolutionary models, with custom rate matrices and/or states to evolve. This flexibility makes Pyvolve a convenient framework not only for simulating sequences under a wide variety of conditions, but also for developing and testing new evolutionary models. Pyvolve is an open-source project under a FreeBSD license, and it is available for download, along with a detailed user-manual and example scripts, from http://github.com/sjspielman/pyvolve.

  5. Pyvolve: A Flexible Python Module for Simulating Sequences along Phylogenies.

    Directory of Open Access Journals (Sweden)

    Stephanie J Spielman

    Full Text Available We introduce Pyvolve, a flexible Python module for simulating genetic data along a phylogeny using continuous-time Markov models of sequence evolution. Easily incorporated into Python bioinformatics pipelines, Pyvolve can simulate sequences according to most standard models of nucleotide, amino-acid, and codon sequence evolution. All model parameters are fully customizable. Users can additionally specify custom evolutionary models, with custom rate matrices and/or states to evolve. This flexibility makes Pyvolve a convenient framework not only for simulating sequences under a wide variety of conditions, but also for developing and testing new evolutionary models. Pyvolve is an open-source project under a FreeBSD license, and it is available for download, along with a detailed user-manual and example scripts, from http://github.com/sjspielman/pyvolve.

  6. PyEEG: an open source Python module for EEG/MEG feature extraction.

    Science.gov (United States)

    Bao, Forrest Sheng; Liu, Xin; Zhang, Christina

    2011-01-01

    Computer-aided diagnosis of neural diseases from EEG signals (or other physiological signals that can be treated as time series, e.g., MEG) is an emerging field that has gained much attention in past years. Extracting features is a key component in the analysis of EEG signals. In our previous works, we have implemented many EEG feature extraction functions in the Python programming language. As Python is gaining more ground in scientific computing, an open source Python module for extracting EEG features has the potential to save much time for computational neuroscientists. In this paper, we introduce PyEEG, an open source Python module for EEG feature extraction.

  7. PyEEG: An Open Source Python Module for EEG/MEG Feature Extraction

    OpenAIRE

    Bao, Forrest Sheng; Liu, Xin; Zhang, Christina

    2011-01-01

    Computer-aided diagnosis of neural diseases from EEG signals (or other physiological signals that can be treated as time series, e.g., MEG) is an emerging field that has gained much attention in past years. Extracting features is a key component in the analysis of EEG signals. In our previous works, we have implemented many EEG feature extraction functions in the Python programming language. As Python is gaining more ground in scientific computing, an open source Python module for extracting ...

  8. Screening_mgmt: a Python module for managing screening data.

    Science.gov (United States)

    Helfenstein, Andreas; Tammela, Päivi

    2015-02-01

    High-throughput screening is an established technique in drug discovery and, as such, has also found its way into academia. High-throughput screening generates a considerable amount of data, which is why specific software is used for its analysis and management. The commercially available software packages are often beyond the financial limits of small-scale academic laboratories and, furthermore, lack the flexibility to fulfill certain user-specific requirements. We have developed a Python module, screening_mgmt, which is a lightweight tool for flexible data retrieval, analysis, and storage for different screening assays in one central database. The module reads custom-made analysis scripts and plotting instructions, and it offers a graphical user interface to import, modify, and display the data in a uniform manner. During the test phase, we used this module for the management of 10,000 data points of various origins. It has provided a practical, user-friendly tool for sharing and exchanging information between researchers. © 2014 Society for Laboratory Automation and Screening.

  9. pymzML--Python module for high-throughput bioinformatics on mass spectrometry data.

    Science.gov (United States)

    Bald, Till; Barth, Johannes; Niehues, Anna; Specht, Michael; Hippler, Michael; Fufezan, Christian

    2012-04-01

    pymzML is an extension to Python that offers (i) an easy access to mass spectrometry (MS) data that allows the rapid development of tools, (ii) a very fast parser for mzML data, the standard data format in MS and (iii) a set of functions to compare or handle spectra. pymzML requires Python2.6.5+ and is fully compatible with Python3. The module is freely available on http://pymzml.github.com or pypi, is published under LGPL license and requires no additional modules to be installed. christian@fufezan.net.

  10. Scoria: a Python module for manipulating 3D molecular data.

    Science.gov (United States)

    Ropp, Patrick; Friedman, Aaron; Durrant, Jacob D

    2017-09-18

    Third-party packages have transformed the Python programming language into a powerful computational-biology tool. Package installation is easy for experienced users, but novices sometimes struggle with dependencies and compilers. This presents a barrier that can hinder the otherwise broad adoption of new tools. We present Scoria, a Python package for manipulating three-dimensional molecular data. Unlike similar packages, Scoria requires no dependencies, compilation, or system-wide installation. One can incorporate the Scoria source code directly into their own programs. But Scoria is not designed to compete with other similar packages. Rather, it complements them. Our package leverages others (e.g. NumPy, SciPy), if present, to speed and extend its own functionality. To show its utility, we use Scoria to analyze a molecular dynamics trajectory. Our FootPrint script colors the atoms of one chain by the frequency of their contacts with a second chain. We are hopeful that Scoria will be a useful tool for the computational-biology community. A copy is available for download free of charge (Apache License 2.0) at http://durrantlab.com/scoria/ . Graphical abstract .

  11. Python essential reference

    CERN Document Server

    Beazley, David M

    2009-01-01

    Python Essential Reference is the definitive reference guide to the Python programming language — the one authoritative handbook that reliably untangles and explains both the core Python language and the most essential parts of the Python library. Designed for the professional programmer, the book is concise, to the point, and highly accessible. It also includes detailed information on the Python library and many advanced subjects that is not available in either the official Python documentation or any other single reference source. Thoroughly updated to reflect the significant new programming language features and library modules that have been introduced in Python 2.6 and Python 3, the fourth edition of Python Essential Reference is the definitive guide for programmers who need to modernize existing Python code or who are planning an eventual migration to Python 3. Programmers starting a new Python project will find detailed coverage of contemporary Python programming idioms.

  12. Enabling grand-canonical Monte Carlo : extending the flexibility of GROMACS through the GromPy python interface module

    NARCIS (Netherlands)

    Pool, René; Heringa, Jaap; Hoefling, Martin; Schulz, Roland; Smith, Jeremy C; Feenstra, K Anton

    2012-01-01

    We report on a python interface to the GROMACS molecular simulation package, GromPy (available at https://github.com/GromPy). This application programming interface (API) uses the ctypes python module that allows function calls to shared libraries, for example, written in C. To the best of our

  13. pyNSMC: A Python Module for Null-Space Monte Carlo Uncertainty Analysis

    Science.gov (United States)

    White, J.; Brakefield, L. K.

    2015-12-01

    The null-space monte carlo technique is a non-linear uncertainty analyses technique that is well-suited to high-dimensional inverse problems. While the technique is powerful, the existing workflow for completing null-space monte carlo is cumbersome, requiring the use of multiple commandline utilities, several sets of intermediate files and even a text editor. pyNSMC is an open-source python module that automates the workflow of null-space monte carlo uncertainty analyses. The module is fully compatible with the PEST and PEST++ software suites and leverages existing functionality of pyEMU, a python framework for linear-based uncertainty analyses. pyNSMC greatly simplifies the existing workflow for null-space monte carlo by taking advantage of object oriented design facilities in python. The core of pyNSMC is the ensemble class, which draws and stores realized random vectors and also provides functionality for exporting and visualizing results. By relieving users of the tedium associated with file handling and command line utility execution, pyNSMC instead focuses the user on the important steps and assumptions of null-space monte carlo analysis. Furthermore, pyNSMC facilitates learning through flow charts and results visualization, which are available at many points in the algorithm. The ease-of-use of the pyNSMC workflow is compared to the existing workflow for null-space monte carlo for a synthetic groundwater model with hundreds of estimable parameters.

  14. pypk - A Python extension module to handle chemical kinetics in plasma physics modeling

    Directory of Open Access Journals (Sweden)

    2008-06-01

    Full Text Available PLASMAKIN is a package to handle physical and chemical data used in plasma physics modeling and to compute gas-phase and gas-surface kinetics data: particle production and loss rates, photon emission spectra and energy exchange rates. A large number of species properties and reaction types are supported, namely: gas or electron temperature dependent collision rate coefficients, vibrational and cascade levels, evaluation of branching ratios, superelastic and other reverse processes, three-body collisions, radiation imprisonment and photoelectric emission. Support of non-standard rate coefficient functions can be handled by a user-supplied shared library.

    The main block of the PLASMAKIN package is a Fortran module that can be included in an user's program or compiled as a shared library, libpk. pypk is a new addition to the package and provides access to libpk from Python programs. It is build on top of the ctypes foreign function library module and is prepared to work with several Fortran compilers. However pypk is more than a wrapper and provides its own classes and functions taking advantage of Python language characteristics. Integration with Python tools allows substantial productivity gains on program development and insight on plasma physics problems.

  15. Automating tasks in protein structure determination with the clipper python module.

    Science.gov (United States)

    McNicholas, Stuart; Croll, Tristan; Burnley, Tom; Palmer, Colin M; Hoh, Soon Wen; Jenkins, Huw T; Dodson, Eleanor; Cowtan, Kevin; Agirre, Jon

    2018-01-01

    Scripting programming languages provide the fastest means of prototyping complex functionality. Those with a syntax and grammar resembling human language also greatly enhance the maintainability of the produced source code. Furthermore, the combination of a powerful, machine-independent scripting language with binary libraries tailored for each computer architecture allows programs to break free from the tight boundaries of efficiency traditionally associated with scripts. In the present work, we describe how an efficient C++ crystallographic library such as Clipper can be wrapped, adapted and generalized for use in both crystallographic and electron cryo-microscopy applications, scripted with the Python language. We shall also place an emphasis on best practices in automation, illustrating how this can be achieved with this new Python module. © 2017 The Authors Protein Science published by Wiley Periodicals, Inc. on behalf of The Protein Society.

  16. cloudPEST - A python module for cloud-computing deployment of PEST, a program for parameter estimation

    Science.gov (United States)

    Fienen, Michael N.; Kunicki, Thomas C.; Kester, Daniel E.

    2011-01-01

    This report documents cloudPEST-a Python module with functions to facilitate deployment of the model-independent parameter estimation code PEST on a cloud-computing environment. cloudPEST makes use of low-level, freely available command-line tools that interface with the Amazon Elastic Compute Cloud (EC2(TradeMark)) that are unlikely to change dramatically. This report describes the preliminary setup for both Python and EC2 tools and subsequently describes the functions themselves. The code and guidelines have been tested primarily on the Windows(Registered) operating system but are extensible to Linux(Registered).

  17. Learning Python

    National Research Council Canada - National Science Library

    Lutz, Mark; Ascher, David

    1999-01-01

    ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv Part I. Getting Started 1. A Python Q&A Session Why Do People Use Python? Is Python a Scripting Language? Okay, But What's the Downside? Who Uses Python Today...

  18. Learning Python

    National Research Council Canada - National Science Library

    Lutz, Mark; Ascher, David

    2004-01-01

    ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv Part I. Getting Started 1. A Python Q&A Session Why Do People Use Python? Is Python a Scripting Language? Okay, But What's the Downside? Who Uses Python Today...

  19. Stromal gastrointestinal tumors (GIST)

    International Nuclear Information System (INIS)

    Balev, B.; Boykova, K.

    2015-01-01

    Full text: GIST are a heterogeneous group of mesenchymal tumors of the gastrointestinal tract with varying tumor grade and frequency of 1: 100 000 per year. Mazur and Clark introduced the term for the first time in 1983. GIST constitute approximately 2% of the tumors in the gastrointestinal tract. The average age is 60 years. The most common locations are the stomach (60%), small intestine (30%), esophagus (1%), and rectum (5%). Learning objective: to demonstrate the imaging characteristics of the disease according to the current ESMO guidelines and to present the diagnostic accuracy of different imaging modalitiesnbased on review of literature and on own observations. GIST originate from interstitial cells (of Cajal) in the GIT wall, belonging to the autonomic nervous system, which is responsible for motility. 90% of GIST show overexpression of the KIT receptor, also known as CD117 or stem cell factor receptor. those that do not express c-KIT mutations, activate mutations in PDGFRA gene. Tumor’s macromorphology determines the imaging features on different modalities. Most of these tumors are exophytic, subepithelial, reach large size and enhance inhomogeneous due to necrosis. They usually do not cause obstruction. Ultrasound as the initiation method shows low sensitivity and specificity in GIST detection, CT with intravenous contrast is the gold standard. MRI contributes with assessing the vascularisation, cellularity and pH. FDG-PET/CT registers the metabolism of intratumoral acidosis. CT is the method of choice in the early diagnosis and determination of resectability of GIST. MRI is an additional method. PET FDG-CT is useful for the monitoring of patients treated with Imatinib

  20. Open-Source Python Modules to Estimate Level Ice Thickness from Ice Charts

    Science.gov (United States)

    Geiger, C. A.; Deliberty, T. L.; Bernstein, E. R.; Helfrich, S.

    2012-12-01

    A collaborative research effort between the University of Delaware (UD) and National Ice Center (NIC) addresses the task of providing open-source translations of sea ice stage-of-development into level ice thickness estimates on a 4km grid for the Interactive Multisensor Snow and Ice Mapping System (IMS). The characteristics for stage-of-development are quantified from remote sensing imagery with estimates of level ice thickness categories originating from World Meteorological Organization (WMO) egg coded ice charts codified since the 1970s. Conversions utilize Python scripting modules which transform electronic ice charts with WMO egg code characteristics into five level ice thickness categories, in centimeters, (0-10, 10-30, 30-70, 70-120, >120cm) and five ice types (open water, first year pack ice, fast ice, multiyear ice, and glacial ice with a reserve slot for deformed ice fractions). Both level ice thickness categories and ice concentration fractions are reported with uncertainties propagated based on WMO ice stage ranges which serve as proxy estimates for standard deviation. These products are in preparation for use by NCEP, CMC, and NAVO by 2014 based on their modeling requirements for daily products in near-real time. In addition to development, continuing research tests the value of these estimated products against in situ observations to improve both value and uncertainty estimates.

  1. Python pocket reference

    CERN Document Server

    Lutz, Mark

    2010-01-01

    This is the book to reach for when you're coding on the fly and need an answer now. It's an easy-to-use reference to the core language, with descriptions of commonly used modules and toolkits, and a guide to recent changes, new features, and upgraded built-ins -- all updated to cover Python 3.X as well as version 2.6. You'll also quickly find exactly what you need with the handy index. Written by Mark Lutz -- widely recognized as the world's leading Python trainer -- Python Pocket Reference, Fourth Edition, is the perfect companion to O'Reilly's classic Python tutorials, also written by Mark

  2. Python Integration with a Functional DBMS

    OpenAIRE

    Zou, Hanzheng

    2009-01-01

    Python is an Object Oriented programming language and widely used nowadays. This report describes how to extend a functional database system Amos II for integration with Python. Several possibilities are analyzed to combine the Amos II C external interfaces with those of Python. Based on these discussions, new functionality has been added to the Python language by implementing a Python C external module. A basic API called PyAmos, interfacing Python and Amos II, is proposed and implemented in...

  3. [Gastric mesenchymal tumours (GIST)].

    Science.gov (United States)

    Spivach, Arrigo; Fezzi, Margherita; Sartori, Alberto; Belgrano, Manuel; Rimondini, Alessandra; Cuttin-Zernich, Roberto; Covab, Maria Assunta; Bonifacio, Daniela; Buri, Luigi; Pagani, Carlo; Zanconati, Fabrizio

    2008-01-01

    The incidence of gastrointestinal stromal tumours (GIST) has increased in recent years. A number of authors have attempted to define the actual nature of these tumours. Immunohistochemistry highlighting the positivity of tyrosine-kinase (CD117/c-Kit) has revealed the difference between gastrointestinal stromal tumours and other mesenchymal tumours and, therefore, the possibility of medical rather than surgical therapy. We retrospectively reviewed 19 patients affected by primary gastric GIST, who underwent surgery in recent years with subsequent follow-up. Gastroscopy and gastrointestinal tract radiography were used not only to obtain the diagnosis but also to establish the size, density, contours, ulceration, regional lymphadenopathy, mesenteric infiltration and the presence of metastases. The aim of this study was to evaluate the roles of endoscopy and radiology in this pathology and the advantages and limitations of each individual technique.

  4. Enabling grand-canonical Monte Carlo: extending the flexibility of GROMACS through the GromPy python interface module.

    Science.gov (United States)

    Pool, René; Heringa, Jaap; Hoefling, Martin; Schulz, Roland; Smith, Jeremy C; Feenstra, K Anton

    2012-05-05

    We report on a python interface to the GROMACS molecular simulation package, GromPy (available at https://github.com/GromPy). This application programming interface (API) uses the ctypes python module that allows function calls to shared libraries, for example, written in C. To the best of our knowledge, this is the first reported interface to the GROMACS library that uses direct library calls. GromPy can be used for extending the current GROMACS simulation and analysis modes. In this work, we demonstrate that the interface enables hybrid Monte-Carlo/molecular dynamics (MD) simulations in the grand-canonical ensemble, a simulation mode that is currently not implemented in GROMACS. For this application, the interplay between GromPy and GROMACS requires only minor modifications of the GROMACS source code, not affecting the operation, efficiency, and performance of the GROMACS applications. We validate the grand-canonical application against MD in the canonical ensemble by comparison of equations of state. The results of the grand-canonical simulations are in complete agreement with MD in the canonical ensemble. The python overhead of the grand-canonical scheme is only minimal. Copyright © 2012 Wiley Periodicals, Inc.

  5. Practical Maya programming with Python

    CERN Document Server

    Galanakis, Robert

    2014-01-01

    ""Practical Maya Programming with Python"" is a practical tutorial packed with plenty of examples and sample projects which guides you through building reusable, independent modules and handling unexpected errors. If you are a developer looking to build a powerful system using Python and Maya's capabilities, then this book is for you. Practical Maya Programming with Python is perfect for intermediate users with basic experience in Python and Maya who want to better their knowledge and skills.

  6. Python in a nutshell

    CERN Document Server

    Martelli, Alex; Holden, Steve

    2016-01-01

    Useful in many roles, from design and prototyping to testing, deployment, and maintenance, Python is consistently ranked among today’s most popular programming languages. The third edition of this practical book provides a quick reference to the language—including Python 3.5, 2.7, and highlights of 3.6—commonly used areas of its vast standard library, and some of the most useful third-party modules and packages. Ideal for programmers with some Python experience, and those coming to Python from other programming languages, this book covers a wide range of application areas, including web and network programming, XML handling, database interactions, and high-speed numeric computing. Discover how Python provides a unique mix of elegance, simplicity, practicality, and sheer power.

  7. PySSM: A Python Module for Bayesian Inference of Linear Gaussian State Space Models

    Directory of Open Access Journals (Sweden)

    Christopher Strickland

    2014-04-01

    Full Text Available PySSM is a Python package that has been developed for the analysis of time series using linear Gaussian state space models. PySSM is easy to use; models can be set up quickly and efficiently and a variety of different settings are available to the user. It also takes advantage of scientific libraries NumPy and SciPy and other high level features of the Python language. PySSM is also used as a platform for interfacing between optimized and parallelized Fortran routines. These Fortran routines heavily utilize basic linear algebra and linear algebra Package functions for maximum performance. PySSM contains classes for filtering, classical smoothing as well as simulation smoothing.

  8. GASTROINTESTINAL STROMAL TUMOR (GIST

    Directory of Open Access Journals (Sweden)

    Luigi eTornillo

    2014-11-01

    Full Text Available Gastrointestinal stromal tumors are the most frequent mesenchymal tumors of the gastrointestinal tract. The discovery that these tumors, formerly thought of smooth muscle origin, are indeed better characterized by specific activating mutation in genes coding for the receptor tyrosine kinases CKIT and PDGFRA and that these mutations are strongly predictive for the response to targeted therapy with receptor tyrosine kinase inhibitors has made GISTs the typical example of the integration of basic molecular knowledge in the daily clinical activity. The information on the mutational status of these tumors is essential to predict (and subsequently to plan the therapy. As resistant cases are frequently wild-type, other possible oncogenic events, defining other entities, have been discovered (e.g. succinil dehydrogenase mutation/dysregulation, insuline growth factor expression, mutations in the RAS-RAF-MAPK pathway. The classification of disease must nowadays rely on the integration of the clinico-morphological characteristics with the molecular data.

  9. The Ocean Observatories Initiative: Data Acquisition Functions and Its Built-In Automated Python Modules

    Science.gov (United States)

    Smith, M. J.; Vardaro, M.; Crowley, M. F.; Glenn, S. M.; Schofield, O.; Belabbassi, L.; Garzio, L. M.; Knuth, F.; Fram, J. P.; Kerfoot, J.

    2016-02-01

    The Ocean Observatories Initiative (OOI), funded by the National Science Foundation, provides users with access to long-term datasets from a variety of oceanographic sensors. The Endurance Array in the Pacific Ocean consists of two separate lines off the coasts of Oregon and Washington. The Oregon line consists of 7 moorings, two cabled benthic experiment packages and 6 underwater gliders. The Washington line comprises 6 moorings and 6 gliders. Each mooring is outfitted with a variety of instrument packages. The raw data from these instruments are sent to shore via satellite communication and in some cases, via fiber optic cable. Raw data is then sent to the cyberinfrastructure (CI) group at Rutgers where it is aggregated, parsed into thousands of different data streams, and integrated into a software package called uFrame. The OOI CI delivers the data to the general public via a web interface that outputs data into commonly used scientific data file formats such as JSON, netCDF, and CSV. The Rutgers data management team has developed a series of command-line Python tools that streamline data acquisition in order to facilitate the QA/QC review process. The first step in the process is querying the uFrame database for a list of all available platforms. From this list, a user can choose a specific platform and automatically download all available datasets from the specified platform. The downloaded dataset is plotted using a generalized Python netcdf plotting routine that utilizes a data visualization toolbox called matplotlib. This routine loads each netCDF file separately and outputs plots by each available parameter. These Python tools have been uploaded to a Github repository that is openly available to help facilitate OOI data access and visualization.

  10. Pro Python

    CERN Document Server

    Alchin, Marty

    2010-01-01

    You've learned the basics of Python, but how do you take your skills to the next stage? Even if you know enough to be productive, there are a number of features that can take you to the next level in Python. Pro Python explores concepts and features normally left to experimentation, allowing you to be even more productive and creative. In addition to pure code concerns, Pro Python will develop your programming techniques and approaches, which will help make you a better Python programmer. Not only will this book help your code, it will also help you understand and interact with the many establ

  11. PyChimera: use UCSF Chimera modules in any Python 2.7 project.

    Science.gov (United States)

    Rodríguez-Guerra Pedregal, Jaime; Maréchal, Jean-Didier

    2018-05-15

    UCSF Chimera is a powerful visualization tool remarkably present in the computational chemistry and structural biology communities. Built on a C++ core wrapped under a Python 2.7 environment, one could expect to easily import UCSF Chimera's arsenal of resources in custom scripts or software projects. Nonetheless, this is not readily possible if the script is not executed within UCSF Chimera due to the isolation of the platform. UCSF ChimeraX, successor to the original Chimera, partially solves the problem but yet major upgrades need to be undergone so that this updated version can offer all UCSF Chimera features. PyChimera has been developed to overcome these limitations and provide access to the UCSF Chimera codebase from any Python 2.7 interpreter, including interactive programming with tools like IPython and Jupyter Notebooks, making it easier to use with additional third-party software. PyChimera is LGPL-licensed and available at https://github.com/insilichem/pychimera. jaime.rodriguezguerra@uab.cat or jeandidier.marechal@uab.cat. Supplementary data are available at Bioinformatics online.

  12. Python Introduction and Installation

    Directory of Open Access Journals (Sweden)

    William J. Turkel

    2012-07-01

    Full Text Available This first lesson in our section on dealing with Online Sources is designed to get you and your computer set up to start programming. We will focus on installing the relevant software – all free and reputable – and finally we will help you to get your toes wet with some simple programming that provides immediate results. In this opening module you will install the Python programming language, the Beautiful Soup HTML/XML parser, and a text editor. Screencaps provided here come from Komodo Edit, but you can use any text editor capable of working with Python. Here’s a list of other options: Python Editors. Once everything is installed, you will write your first programs, “Hello World” in Python and HTML.

  13. NEURON and Python.

    Science.gov (United States)

    Hines, Michael L; Davison, Andrew P; Muller, Eilif

    2009-01-01

    The NEURON simulation program now allows Python to be used, alone or in combination with NEURON's traditional Hoc interpreter. Adding Python to NEURON has the immediate benefit of making available a very extensive suite of analysis tools written for engineering and science. It also catalyzes NEURON software development by offering users a modern programming tool that is recognized for its flexibility and power to create and maintain complex programs. At the same time, nothing is lost because all existing models written in Hoc, including graphical user interface tools, continue to work without change and are also available within the Python context. An example of the benefits of Python availability is the use of the xml module in implementing NEURON's Import3D and CellBuild tools to read MorphML and NeuroML model specifications.

  14. Beginning Python using Python 2.6 and Python 3.1

    CERN Document Server

    Payne, James

    2010-01-01

    Beginning Python: Using Python 2.6 and Python 3.1 introduces this open source, portable, interpreted, object-oriented programming language that combines remarkable power with clear syntax. This book enables you to quickly create robust, reliable, and reusable Python applications by teaching the basics so you can quickly develop Web and scientific applications, incorporate databases, and master systems tasks on various operating systems, including Linux, MAC OS, and Windows. You’ll get a comprehensive tutorial that guides you from writing simple, basic Python scripts all the way through complex concepts, and also features a reference of the standard modules with examples illustrating how to implement features in the various modules. Plus, the book covers using Python in specific program development domains, such as XML, databases, scientific applications, network programming, and Web development

  15. Programming Python

    CERN Document Server

    Lutz, Mark

    2011-01-01

    If you've mastered Python's fundamentals, you're ready to start using it to get real work done. Programming Python will show you how, with in-depth tutorials on the language's primary application domains: system administration, GUIs, and the Web. You'll also explore how Python is used in databases, networking, front-end scripting layers, text processing, and more. This book focuses on commonly used tools and libraries to give you a comprehensive understanding of Python's many roles in practical, real-world programming. You'll learn language syntax and programming techniques in a clear and co

  16. Learning Python

    CERN Document Server

    Lutz, Mark

    2009-01-01

    Google and YouTube use Python because it's highly adaptable, easy to maintain, and allows for rapid development. If you want to write high-quality, efficient code that's easily integrated with other languages and tools, this hands-on book will help you be productive with Python quickly -- whether you're new to programming or just new to Python. It's an easy-to-follow self-paced tutorial, based on author and Python expert Mark Lutz's popular training course. Each chapter contains a stand-alone lesson on a key component of the language, and includes a unique Test Your Knowledge section with p

  17. Extending and embedding the Python interpreter

    NARCIS (Netherlands)

    G. van Rossum (Guido)

    1995-01-01

    textabstractPython is an interpreted, object-oriented programming language. This document describes how to write modules in C or C++ to extend the Python interpreter with new modules. Those modules can define new functions but also new object types and their methods. The document also describes

  18. Python for scientists

    CERN Document Server

    Stewart, John M

    2017-01-01

    Scientific Python is a significant public domain alternative to expensive proprietary software packages. This book teaches from scratch everything the working scientist needs to know using copious, downloadable, useful and adaptable code snippets. Readers will discover how easy it is to implement and test non-trivial mathematical algorithms and will be guided through the many freely available add-on modules. A range of examples, relevant to many different fields, illustrate the language's capabilities. The author also shows how to use pre-existing legacy code (usually in Fortran77) within the Python environment, thus avoiding the need to master the original code. In this new edition, several chapters have been re-written to reflect the IPython notebook style. With an extended index, an entirely new chapter discussing SymPy and a substantial increase in the number of code snippets, researchers and research students will be able to quickly acquire all the skills needed for using Python effectively.

  19. Characteristics of Emergency Gastrointestinal Stromal Tumor (GIST).

    Science.gov (United States)

    Uçar, Ahmet Deniz; Oymaci, Erkan; Carti, Erdem Bariş; Yakan, Savaş; Vardar, Enver; Erkan, Nazif; Mehmet, Yildirim

    2015-05-01

    Gastrointestinal Stromal Tumors (GISTs) are the most common mesenchymal tumors of the gastrointestinal tract (GIT). Importance of GISTs is increasing while surgeons are facing with more frequent either in emergency setting of elective cases. Delineating the presentation and management of emergency GIST is important. From 2005 to 2014, emergency cases with final diagnosis of GIST were examined retrospectively. Total of 13 operated cases were evaluated by patients characteristics, clinical presentation, operational findings and postoperative prognosis. There were 9 male and 4 female with the mean age of 48.15 years. The most frequent presentations are ileus and GIT hemorrhage both covering the 84% of patients. Small bowel was the dominating site with ileus. Stomach was the second frequent site of the disease with the finding of hemorrhage. Emergency patients are more likely to come with small bowel GIST and obstruction symptoms. Hemorrhage is the most frequent symptom for emergency GIST of stomach and duodenum.

  20. Imaging of gastrointestinal stromal tumour (GIST)

    International Nuclear Information System (INIS)

    Lau, S.; Tam, K.F.; Kam, C.K.; Lui, C.Y.; Siu, C.W.; Lam, H.S.; Mak, K.L.

    2004-01-01

    Gastrointestinal stromal tumour (GIST) represents the most common kind of mesenchymal tumour that arises from the alimentary tract. GIST is currently defined as a gastrointestinal tract mesenchymal tumour containing spindle cells (or less commonly epithelioid cells or rarely both) and showing CD117 (c-kit protein) positivity. Targeted molecular therapy of non-resectable GIST using imatinib, a specific tyrosine kinase receptor inhibitor, represents a real milestone in the management of solid malignancy. Imaging studies, both anatomical and functional, are playing an increasingly important role in management of patients with GIST. This review illustrates the radiological appearance of GISTs and the site-specific roles of each imaging tool. Clinical features and radiological differential diagnosis of GIST are also discussed

  1. Python GUI Scripting Interface for Running Atomic Physics Applications

    OpenAIRE

    Tahat, Amani; Tahat, Mofleh

    2011-01-01

    We create a Python GUI scripting interface working under Windows in addition to (UNIX/Linux). The GUI has been built around the Python open-source programming language. We use the Python's GUI library that so called Python Mega Widgets (PMW) and based on Tkinter Python module (http://www.freenetpages.co.uk/hp/alan.gauld/tutgui.htm). The new GUI was motivated primarily by the desire of more updated operations, more flexibility incorporating future and current improvements in producing atomic d...

  2. Tratamento adjuvante nos GISTs Adjuvant treatment in GISTs

    Directory of Open Access Journals (Sweden)

    Laercio Gomes Lourenço

    2011-09-01

    Full Text Available INTRODUÇÃO: O tumor estromal gastrointestinal (GIST é o sarcoma mais comum do aparelho digestivo. Essa neoplasia ocorre devido à mutação do gene KIT com consequente ativação constitutiva da proteína KIT. O tratamento primário é cirúrgico e consiste na sua ressecção completa. Entretanto, alguns grupos de pacientes apresentam risco elevado de recorrência mesmo após operação com ressecção completa (R0, indicando diferenças no comportamento biológico. Estudos clínicos comprovaram a atividade clínica do mesilato de imatinibe, fazendo dele a primeira linha de tratamento padrão nos GISTs metastáticos ou irressecáveis, mudando muito o desfecho clínico dessa doença em relação aos benefícios anteriormente obtidos com a quimioterapia antineoplásica. MÉTODO: Foi realizada revisão da literatura com consulta nos periódicos das bases Medline/Pubmed, Scielo e Lilacs cruzando os descritores: tumor estromal gastrointestinal, Gist, tratamento, adjuvância. Além desta revisão foi adicionada a experiência pessoal dos autores. CONCLUSÃO: Melhor refinamento dos critérios de prognóstico tem permitido selecionar de forma mais adequada pacientes para o tratamento adjuvante com imatinibe. Os resultados de maior evidência até o momento respaldam o tratamento adjuvante por um ano, o que produz benefício significativo na sobrevida livre de recidiva, mas não na sobrevida global desses pacientes.INTRODUCTION: Gastrointestinal stromal tumor (GIST is the most common sarcoma of the digestive tract. This cancer occurs due to mutation of the KIT gene resulting in constitutive activation of KIT protein. The primary treatment is surgical and consists of complete resection. However, some groups of patients at high risk of recurrence even after surgery with complete resection (R0, indicate differences in biological behavior. Clinical studies have demonstrated the clinical activity of imatinib mesylate, making it the standard first

  3. Python tutorial

    NARCIS (Netherlands)

    G. van Rossum (Guido)

    1995-01-01

    textabstractPython is a simple, yet powerful programming language that bridges the gap between C and shell programming, and is thus ideally suited for ``throw-away programming'' and rapid prototyping. Its syntax is put together from constructs borrowed from a variety of other languages; most

  4. Python and computer vision

    Energy Technology Data Exchange (ETDEWEB)

    Doak, J. E. (Justin E.); Prasad, Lakshman

    2002-01-01

    This paper discusses the use of Python in a computer vision (CV) project. We begin by providing background information on the specific approach to CV employed by the project. This includes a brief discussion of Constrained Delaunay Triangulation (CDT), the Chordal Axis Transform (CAT), shape feature extraction and syntactic characterization, and normalization of strings representing objects. (The terms 'object' and 'blob' are used interchangeably, both referring to an entity extracted from an image.) The rest of the paper focuses on the use of Python in three critical areas: (1) interactions with a MySQL database, (2) rapid prototyping of algorithms, and (3) gluing together all components of the project including existing C and C++ modules. For (l), we provide a schema definition and discuss how the various tables interact to represent objects in the database as tree structures. (2) focuses on an algorithm to create a hierarchical representation of an object, given its string representation, and an algorithm to match unknown objects against objects in a database. And finally, (3) discusses the use of Boost Python to interact with the pre-existing C and C++ code that creates the CDTs and CATS, performs shape feature extraction and syntactic characterization, and normalizes object strings. The paper concludes with a vision of the future use of Python for the CV project.

  5. MDSplus objects-Python implementation

    Energy Technology Data Exchange (ETDEWEB)

    Fredian, T., E-mail: twf@psfc.mit.ed [Massachusetts Institute of Technology, Plasma Science and Fusion Center, NW17-268, 175 Albany Street, Cambridge, MA 02139 (United States); Stillerman, J. [Massachusetts Institute of Technology, Plasma Science and Fusion Center, NW17-268, 175 Albany Street, Cambridge, MA 02139 (United States); Manduchi, G. [Consorzio RFX, Euratom-ENEA Association, Corso Stati Uniti 4, Padova 35127 (Italy)

    2010-07-15

    MDSplus is a data acquisition and analysis software package used widely throughout the international fusion research community. During the past year, an important set of enhancements were designed under the project name of 'MDSobjects' which would provide a common, powerful application programming interface (API) to MDSplus in programming languages with object-oriented capabilities. This paper will discuss the Python language implementation of this API and some of the capabilities that this implementation provides for data storage and retrieval using the MDSplus system. We have implemented a new MDSplus Python module which exposes the MDSplus objects features to the language. The internal MDSplus programming language, TDI, has also been enhanced to be able to invoke Python commands from the TDI language. Now that Python is aware of the complex data structures in MDSplus such as Signals, the language becomes a very good candidate for applications ranging from data acquisition device support to analysis and visualization.

  6. MDSplus objects-Python implementation

    International Nuclear Information System (INIS)

    Fredian, T.; Stillerman, J.; Manduchi, G.

    2010-01-01

    MDSplus is a data acquisition and analysis software package used widely throughout the international fusion research community. During the past year, an important set of enhancements were designed under the project name of 'MDSobjects' which would provide a common, powerful application programming interface (API) to MDSplus in programming languages with object-oriented capabilities. This paper will discuss the Python language implementation of this API and some of the capabilities that this implementation provides for data storage and retrieval using the MDSplus system. We have implemented a new MDSplus Python module which exposes the MDSplus objects features to the language. The internal MDSplus programming language, TDI, has also been enhanced to be able to invoke Python commands from the TDI language. Now that Python is aware of the complex data structures in MDSplus such as Signals, the language becomes a very good candidate for applications ranging from data acquisition device support to analysis and visualization.

  7. The neural correlates of gist-based true and false recognition

    Science.gov (United States)

    Gutchess, Angela H.; Schacter, Daniel L.

    2012-01-01

    When information is thematically related to previously studied information, gist-based processes contribute to false recognition. Using functional MRI, we examined the neural correlates of gist-based recognition as a function of increasing numbers of studied exemplars. Sixteen participants incidentally encoded small, medium, and large sets of pictures, and we compared the neural response at recognition using parametric modulation analyses. For hits, regions in middle occipital, middle temporal, and posterior parietal cortex linearly modulated their activity according to the number of related encoded items. For false alarms, visual, parietal, and hippocampal regions were modulated as a function of the encoded set size. The present results are consistent with prior work in that the neural regions supporting veridical memory also contribute to false memory for related information. The results also reveal that these regions respond to the degree of relatedness among similar items, and implicate perceptual and constructive processes in gist-based false memory. PMID:22155331

  8. Learning Python network programming

    CERN Document Server

    Sarker, M O Faruque

    2015-01-01

    If you're a Python developer or a system administrator with Python experience and you're looking to take your first steps in network programming, then this book is for you. Basic knowledge of Python is assumed.

  9. Broadcast news gisting using lexical cohesion analysis

    OpenAIRE

    Stokes, Nicola; Newman, Eamonn; Carthy, Joe; Smeaton, Alan F.

    2004-01-01

    In this paper we describe an extractive method of creating very short summaries or gists that capture the essence of a news story using a linguistic technique called lexical chaining. The recent interest in robust gisting and title generation techniques originates from a need to improve the indexing and browsing capabilities of interactive digital multimedia systems. More specifically these systems deal with streams of continuous data, like a news programme, that require further annotation be...

  10. Python Introduction and Installation

    OpenAIRE

    William J. Turkel; Adam Crymble

    2012-01-01

    This first lesson in our section on dealing with Online Sources is designed to get you and your computer set up to start programming. We will focus on installing the relevant software – all free and reputable – and finally we will help you to get your toes wet with some simple programming that provides immediate results. In this opening module you will install the Python programming language, the Beautiful Soup HTML/XML parser, and a text editor. Screencaps provided here come from Komodo ...

  11. X Python reference manual

    NARCIS (Netherlands)

    K.S. Mullender (Sjoerd)

    1995-01-01

    textabstractThis document describes the built-in types, exceptions, and functions of the X windows extension to Python. It assumes basic knowledge about the Python language and access to the X windows documentation. For an informal introduction to the language, see the Python Tutorial. The Python

  12. Learning Python

    National Research Council Canada - National Science Library

    Lutz, Mark; Ascher, David

    1999-01-01

    ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 16 17 21 3. How You Run Programs Interactive Coding System Command Lines and Files Clicking Windows File Icons Module Imports and Reloads The IDLE User...

  13. Dive Into Python 3

    CERN Document Server

    Pilgrim, Mark

    2009-01-01

    Mark Pilgrim's Dive Into Python 3 is a hands-on guide to Python 3 (the latest version of the Python language) and its differences from Python 2. As in the original book, Dive Into Python, each chapter starts with a real, complete code sample, proceeds to pick it apart and explain the pieces, and then puts it all back together in a summary at the end. This book includes: * Example programs completely rewritten to illustrate powerful new concepts now available in Python 3: sets, iterators, generators, closures, comprehensions, and much more* A detailed case study of porting a major library from

  14. Sporadic diffuse segmental interstitial cell of Cajal hyperplasia harbouring two gastric gastrointestinal stromal tumours (GIST mimicking hereditary GIST syndromes

    Directory of Open Access Journals (Sweden)

    Mafalda Costa Neves

    2015-01-01

    Conclusion: We describe a diffuse form of sporadic ICC hyperplasia harbouring multifocal GISTs, mimicking diffuse ICC hyperplasia in hereditary GIST syndromes. Detection of somatic c-KIT exon 11 mutation ruled out a hereditary disorder.

  15. Pybus - A Python Software Bus

    International Nuclear Information System (INIS)

    Lavrijsen, Wim T.L.P.

    2004-01-01

    A software bus, just like its hardware equivalent, allows for the discovery, installation, configuration, loading, unloading, and run-time replacement of software components, as well as channeling of inter-component communication. Python, a popular open-source programming language, encourages a modular design on software written in it, but it offers little or no component functionality. However, the language and its interpreter provide sufficient hooks to implement a thin, integral layer of component support. This functionality can be presented to the developer in the form of a module, making it very easy to use. This paper describes a Pythonmodule, PyBus, with which the concept of a ''software bus'' can be realized in Python. It demonstrates, within the context of the ATLAS software framework Athena, how PyBus can be used for the installation and (run-time) configuration of software, not necessarily Python modules, from a Python application in a way that is transparent to the end-user

  16. Learning Python testing

    CERN Document Server

    Arbuckle, Daniel

    2014-01-01

    This book is ideal if you want to learn about the testing disciplines and automated testing tools from a hands-on, conversational guide. You should already know Python and be comfortable with Python 3.

  17. Functional Python programming

    CERN Document Server

    Lott, Steven

    2015-01-01

    This book is for developers who want to use Python to write programs that lean heavily on functional programming design patterns. You should be comfortable with Python programming, but no knowledge of functional programming paradigms is needed.

  18. Reflection-Based Python-C++ Bindings

    International Nuclear Information System (INIS)

    Generowicz, Jacek; Lavrijsen, Wim T.L.P.; Marino, Massimo; Mato, Pere

    2004-01-01

    Python is a flexible, powerful, high-level language with excellent interactive and introspective capabilities and a very clean syntax. As such, it can be a very effective tool for driving physics analysis. Python is designed to be extensible in low-level C-like languages, and its use as a scientific steering language has become quite widespread. To this end, existing and custom-written C or C++ libraries are bound to the Python environment as so-called extension modules. A number of tools for easing the process of creating such bindings exist, such as SWIG and Boost. Python. Yet, the process still requires a considerable amount of effort and expertise. The C++ language has few built-in introspective capabilities, but tools such as LCGDict and CINT add this by providing so-called dictionaries: libraries that contain information about the names, entry points, argument types, etc. of other libraries. The reflection information from these dictionaries can be used for the creation of bindings and so the process can be fully automated, as dictionaries are already provided for many end-user libraries for other purposes, such as object persistency. PyLCGDict is a Python extension module that uses LCG dictionaries, as PyROOT uses CINT reflection information, to allow /cwPython users to access C++ libraries with essentially no preparation on the users' behalf. In addition, and in a similar way, PyROOT gives ROOT users access to Python libraries

  19. Synchronous GISTs associated with multiple sporadic tumors: a case report

    Directory of Open Access Journals (Sweden)

    Danila Comandini

    2017-08-01

    Full Text Available Gastrointestinal stromal tumors (GISTs are rare neoplasms, but they also represent the most common mesenchymal tumors of the gastrointestinal tract originating from the cell of Cajal. GIST incidence ranges around 1% of all gastrointestinal malignancies. Approximately 5% of all GISTs have a hereditary etiology. The remaining 95% of GISTs are considered sporadic events, with up to 75% of cases driven by a constitutional activation of the c-KIT proto-oncogene. GISTs are generally solitary lesions. Nonetheless, multiple sporadic GISTs can occur and present as synchronous or metachronous tumors, usually associated with familial GIST. Here, we report a case of primary prostate and lung tumors associated with gastric and small bowel GISTs, unrelated to any known hereditary syndrome. Also, in the case we describe, the prostatic tumor came before the GISTs, while the lung tumor occurred later in time and led to pulmonary lobectomy plus lymphoadenectomy, with a diagnosis of nonsmall cell lung cancer. With the exception of a slight difference in lymphoid infiltration, the abdominal and gastric GIST nodules shared the same proliferative MIB1 index and mitotic count. However, the genetic analysis revealed that the gastric GIST and abdominal tumors were characterized by two different c-KIT mutations. This molecular heterogeneity supported the hypothesis of two different synchronous GISTs arising from stomach and ileum. At present, the patient is disease free and has already completed the third year of adjuvant therapy with imatinib. This case supports the importance of the analysis of c-KIT mutational status to distinguish metastases from synchronous multicentric GISTs, with relevant implications in therapeutic decisions, as well as the importance of a dedicated multidisciplinary team and of a radiological follow-up after the diagnosis of a primary GIST, to discover a relapse of the GIST or, possibly, additional malignancies.

  20. Python for probability, statistics, and machine learning

    CERN Document Server

    Unpingco, José

    2016-01-01

    This book covers the key ideas that link probability, statistics, and machine learning illustrated using Python modules in these areas. The entire text, including all the figures and numerical results, is reproducible using the Python codes and their associated Jupyter/IPython notebooks, which are provided as supplementary downloads. The author develops key intuitions in machine learning by working meaningful examples using multiple analytical methods and Python codes, thereby connecting theoretical concepts to concrete implementations. Modern Python modules like Pandas, Sympy, and Scikit-learn are applied to simulate and visualize important machine learning concepts like the bias/variance trade-off, cross-validation, and regularization. Many abstract mathematical ideas, such as convergence in probability theory, are developed and illustrated with numerical examples. This book is suitable for anyone with an undergraduate-level exposure to probability, statistics, or machine learning and with rudimentary knowl...

  1. Visualization of the CMS python configuration system

    International Nuclear Information System (INIS)

    Erdmann, M; Fischer, R; Klimkovich, T; Mueller, G; Steggemann, J; Hegner, B; Hinzmann, A

    2010-01-01

    The job configuration system of the CMS experiment is based on the Python programming language. Software modules and their order of execution are both represented by Python objects. In order to investigate and verify configuration parameters and dependencies naturally appearing in modular software, CMS employs a graphical tool. This tool visualizes the configuration objects, their dependencies, and the information flow. Furthermore it can be used for documentation purposes. The underlying software concepts as well as the visualization are presented.

  2. Visualization of the CMS python configuration system

    Energy Technology Data Exchange (ETDEWEB)

    Erdmann, M; Fischer, R; Klimkovich, T; Mueller, G; Steggemann, J [RWTH Aachen University, Physikalisches Institut 3A, 52062 Aachen (Germany); Hegner, B [CERN, CH-1211 Geneva 23 (Switzerland); Hinzmann, A, E-mail: andreas.hinzmann@cern.c

    2010-04-01

    The job configuration system of the CMS experiment is based on the Python programming language. Software modules and their order of execution are both represented by Python objects. In order to investigate and verify configuration parameters and dependencies naturally appearing in modular software, CMS employs a graphical tool. This tool visualizes the configuration objects, their dependencies, and the information flow. Furthermore it can be used for documentation purposes. The underlying software concepts as well as the visualization are presented.

  3. Head First Python

    CERN Document Server

    Barry, Paul

    2010-01-01

    Ever wished you could learn Python from a book? Head First Python is a complete learning experience for Python that helps you learn the language through a unique method that goes beyond syntax and how-to manuals, helping you understand how to be a great Python programmer. You'll quickly learn the language's fundamentals, then move onto persistence, exception handling, web development, SQLite, data wrangling, and Google App Engine. You'll also learn how to write mobile apps for Android, all thanks to the power that Python gives you. We think your time is too valuable to waste struggling with

  4. Python geospatial development essentials

    CERN Document Server

    Bahgat, Karim

    2015-01-01

    This book is ideal for Python programmers who are tasked with or wish to make a special-purpose GIS application. Analysts, political scientists, geographers, and GIS specialists seeking a creative platform to experiment with cutting-edge spatial analysis, but who are still only beginners in Python, will also find this book beneficial. Familiarity with Tkinter application development in Python is preferable but not mandatory.

  5. Learning Python design patterns

    CERN Document Server

    Zlobin, Gennadiy

    2013-01-01

    This book takes a tutorial-based and user-friendly approach to covering Python design patterns. Its concise presentation means that in a short space of time, you will get a good introduction to various design patterns.If you are an intermediate level Python user, this book is for you. Prior knowledge of Python programming is essential. Some knowledge of UML is also required to understand the UML diagrams which are used to describe some design patterns.

  6. Python penetration testing essentials

    CERN Document Server

    Mohit

    2015-01-01

    If you are a Python programmer or a security researcher who has basic knowledge of Python programming and want to learn about penetration testing with the help of Python, this book is ideal for you. Even if you are new to the field of ethical hacking, this book can help you find the vulnerabilities in your system so that you are ready to tackle any kind of attack or intrusion.

  7. Adventures in Python

    CERN Document Server

    Richardson, Craig

    2015-01-01

    The complete beginner's guide to Python, for young people whowant to start today Adventures in Python is designed for 11-to 15-year oldswho want to teach themselves Python programming, but don't knowwhere to start. Even if you have no programming experience at all,this easy to follow format and clear, simple instruction will getyou up and running quickly. The book walks you through nineprojects that teach you the fundamentals of programming in general,and Python in particular, gradually building your skills until youhave the confidence and ability to tackle your own projects. Videoclips accom

  8. Python data visualization cookbook

    CERN Document Server

    Milovanovic, Igor

    2013-01-01

    This book is written in a Cookbook style targeted towards an advanced audience. It covers the advanced topics of data visualization in Python.Python Data Visualization Cookbook is for developers that already know about Python programming in general. If you have heard about data visualization but you don't know where to start, then this book will guide you from the start and help you understand data, data formats, data visualization, and how to use Python to visualize data.You will need to know some general programming concepts, and any kind of programming experience will be helpful, but the co

  9. Python high performance programming

    CERN Document Server

    Lanaro, Gabriele

    2013-01-01

    An exciting, easy-to-follow guide illustrating the techniques to boost the performance of Python code, and their applications with plenty of hands-on examples.If you are a programmer who likes the power and simplicity of Python and would like to use this language for performance-critical applications, this book is ideal for you. All that is required is a basic knowledge of the Python programming language. The book will cover basic and advanced topics so will be great for you whether you are a new or a seasoned Python developer.

  10. Python data analysis

    CERN Document Server

    Idris, Ivan

    2014-01-01

    This book is for programmers, scientists, and engineers who have knowledge of the Python language and know the basics of data science. It is for those who wish to learn different data analysis methods using Python and its libraries. This book contains all the basic ingredients you need to become an expert data analyst.

  11. Python for Ecology

    Science.gov (United States)

    Python is a high-level scripting language that is becoming increasingly popular for scientific computing. This all-day workshop is designed to introduce the basics of Python programming to ecologists. Some scripting/programming experience is recommended (e.g. familiarity with R)....

  12. Python requests essentials

    CERN Document Server

    Chandra, Rakesh Vidya

    2015-01-01

    If you are a Python administrator or developer interested in interacting with web APIs and have a passion for creating your own web applications, this is the book for you. Basic knowledge of Python programming, APIs, and web services will be an advantage.

  13. Scraping EDGAR with Python

    Science.gov (United States)

    Ashraf, Rasha

    2017-01-01

    This article presents Python codes that can be used to extract data from Securities and Exchange Commission (SEC) filings. The Python program web crawls to obtain URL paths for company filings of required reports, such as Form 10-K. The program then performs a textual analysis and counts the number of occurrences of words in the filing that…

  14. Python library reference

    NARCIS (Netherlands)

    G. van Rossum (Guido)

    1995-01-01

    textabstractPython is an extensible, interpreted, object-oriented programming language. It supports a wide range of applications, from simple text processing scripts to interactive WWW browsers. While the Python Reference Manual describes the exact syntax and semantics of the language, it does not

  15. Python to learn programming

    Science.gov (United States)

    Bogdanchikov, A.; Zhaparov, M.; Suliyev, R.

    2013-04-01

    Today we have a lot of programming languages that can realize our needs, but the most important question is how to teach programming to beginner students. In this paper we suggest using Python for this purpose, because it is a programming language that has neatly organized syntax and powerful tools to solve any task. Moreover it is very close to simple math thinking. Python is chosen as a primary programming language for freshmen in most of leading universities. Writing code in python is easy. In this paper we give some examples of program codes written in Java, C++ and Python language, and we make a comparison between them. Firstly, this paper proposes advantages of Python language in relation to C++ and JAVA. Then it shows the results of a comparison of short program codes written in three different languages, followed by a discussion on how students understand programming. Finally experimental results of students' success in programming courses are shown.

  16. Amebiasis in four ball pythons, Python reginus.

    Science.gov (United States)

    Kojimoto, A; Uchida, K; Horii, Y; Okumura, S; Yamaguch, R; Tateyama, S

    2001-12-01

    Between September 13th and November 18th in 1999, four ball pythons, Python reginus kept in the same display, showed anorexia and died one after another. At necropsy, all four snakes had severe hemorrhagic colitis. Microscopically, all snakes had severe necrotizing hemorrhagic colitis, in association with ameba-like protozoa. Some of the protozoa had macrophage-like morphology and others formed protozoal cysts with thickened walls. These protozoa were distributed throughout the wall in the large intestine. Based on the pathological findings, these snakes were infested with a member of Entamoeba sp., presumably with infection by Entamoeba invadens, the most prevalent type of reptilian amoebae.

  17. Postlearning stress differentially affects memory for emotional gist and detail in naturally cycling women and women on hormonal contraceptives.

    Science.gov (United States)

    Nielsen, Shawn E; Ahmed, Imran; Cahill, Larry

    2014-08-01

    Sex differences in emotional memory have received increasing interest over the past decade. However, to date, no work has explored how a postlearning stressor might modulate the influence of sex hormone status on memory for gist and peripheral detail in an emotional versus neutral context. Here, we tested 3 predictions. First, compared with naturally cycling (NC) women in the luteal phase, women on hormonal contraception (HC) would have significantly blunted hypothalamic-pituitary-adrenal reactivity to physical stress. Second, postlearning stress would enhance detail and gist memory from an emotional story in NC women, and finally, postlearning stress would not affect emotional memory for details or gist in HC women. Healthy NC and HC women viewed a brief, narrated story containing neutral or emotionally arousing elements. Immediately after, cold pressor stress (CPS) or a control procedure was administered. One week later, participants received a surprise free recall test for story elements. NC women exhibited significantly greater cortisol increases to CPS compared with HC women. NC women who viewed the emotional story and were administered CPS recalled the most peripheral details overall and more gist from the emotional compared with the neutral story. In HC women, however, the postlearning cortisol release did not affect memory for gist or peripheral details from the emotional or neutral story in any way. Additionally, NC and HC women performed similarly on measures of attention and arousal. These findings suggest that in women, postlearning stress differentially affects memory for emotional information depending on their hormonal contraceptive status.

  18. Pro Python System Administration

    CERN Document Server

    Sileika, R

    2010-01-01

    As time goes on, system administrators are presented with increasingly complicated challenges. In the early days, a team of engineers might have had to look after one or two systems. These days, one engineer can administer hundreds or thousands of systems. System administrators are gradually replacing their tools with more advanced and flexible ones. One of the choices is Python. Structurally, Python is a modern, high-level language with a very clean syntax. Python comes with many built-in libraries that can make automation tasks easier. It also has extensive set of third-party libraries and a

  19. Python geospatial development

    CERN Document Server

    Westra, Erik

    2013-01-01

    This is a tutorial style book that will teach usage of Python tools for GIS using simple practical examples and then show you how to build a complete mapping application from scratch. The book assumes basic knowledge of Python. No knowledge of Open Source GIS is required.Experienced Python developers who want to learn about geospatial concepts, work with geospatial data, solve spatial problems, and build mapbased applications.This book will be useful those who want to get up to speed with Open Source GIS in order to build GIS applications or integrate GeoSpatial features into their existing ap

  20. Parallel programming with Python

    CERN Document Server

    Palach, Jan

    2014-01-01

    A fast, easy-to-follow and clear tutorial to help you develop Parallel computing systems using Python. Along with explaining the fundamentals, the book will also introduce you to slightly advanced concepts and will help you in implementing these techniques in the real world. If you are an experienced Python programmer and are willing to utilize the available computing resources by parallelizing applications in a simple way, then this book is for you. You are required to have a basic knowledge of Python development to get the most of this book.

  1. Tutorial dialogues and gist explanations of genetic breast cancer risk.

    Science.gov (United States)

    Widmer, Colin L; Wolfe, Christopher R; Reyna, Valerie F; Cedillos-Whynott, Elizabeth M; Brust-Renck, Priscila G; Weil, Audrey M

    2015-09-01

    The intelligent tutoring system (ITS) BRCA Gist is a Web-based tutor developed using the Shareable Knowledge Objects (SKO) platform that uses latent semantic analysis to engage women in natural-language dialogues to teach about breast cancer risk. BRCA Gist appears to be the first ITS designed to assist patients' health decision making. Two studies provide fine-grained analyses of the verbal interactions between BRCA Gist and women responding to five questions pertaining to breast cancer and genetic risk. We examined how "gist explanations" generated by participants during natural-language dialogues related to outcomes. Using reliable rubrics, scripts of the participants' verbal interactions with BRCA Gist were rated for content and for the appropriateness of the tutor's responses. Human researchers' scores for the content covered by the participants were strongly correlated with the coverage scores generated by BRCA Gist, indicating that BRCA Gist accurately assesses the extent to which people respond appropriately. In Study 1, participants' performance during the dialogues was consistently associated with learning outcomes about breast cancer risk. Study 2 was a field study with a more diverse population. Participants with an undergraduate degree or less education who were randomly assigned to BRCA Gist scored higher on tests of knowledge than those assigned to the National Cancer Institute website or than a control group. We replicated findings that the more expected content that participants included in their gist explanations, the better they performed on outcome measures. As fuzzy-trace theory suggests, encouraging people to develop and elaborate upon gist explanations appears to improve learning, comprehension, and decision making.

  2. Python for secret agents

    CERN Document Server

    Lott, Steven F

    2014-01-01

    If you are a Python beginner who is looking to learn the language through interesting projects, this book is for you. A basic knowledge of programming and statistics is beneficial to get the most out of the book.

  3. Python profiling 101

    CERN Multimedia

    CERN. Geneva

    2014-01-01

    Python code is much easier to write than C, yet much less efficient. It's often assumed that Python is not performance-oriented and therefore making effort to optimize it doesn't pay off. While in many cases it's true, at a certain moment of a development, especially right before reaching production-ready state, it might turn out that a Python code runs slowly and one needs to find a culprit. In this talk I'll not tell how to make your program faster. Instead, I'll show different techniques to look for the bottlenecks in the code. The presentation will be built around a live demo using real-life Python code.

  4. Python Switch Statement

    Directory of Open Access Journals (Sweden)

    2008-06-01

    Full Text Available The Python programming language does not have a built in switch/case control structure as found in many other high level programming languages. It is thought by some that this is a deficiency in the language, and the control structure should be added. This paper demonstrates that not only is the control structure not needed, but that the methods available in Python are more expressive than built in case statements in other high level languages.

  5. Manipulating Strings in Python

    Directory of Open Access Journals (Sweden)

    William J. Turkel

    2012-07-01

    Full Text Available This lesson is a brief introduction to string manipulation techniques in Python. Knowing how to manipulate strings plays a crucial role in most text processing tasks. If you’d like to experiment with the following lessons, you can write and execute short programs as we’ve been doing, or you can open up a Python shell / Terminal to try them out on the command line.

  6. An introduction to Python and computer programming

    CERN Document Server

    Zhang, Yue

    2015-01-01

    This book introduces Python programming language and fundamental concepts in algorithms and computing. Its target audience includes students and engineers with little or no background in programming, who need to master a practical programming language and learn the basic thinking in computer science/programming. The main contents come from lecture notes for engineering students from all disciplines, and has received high ratings. Its materials and ordering have been adjusted repeatedly according to classroom reception. Compared to alternative textbooks in the market, this book introduces the underlying Python implementation of number, string, list, tuple, dict, function, class, instance and module objects in a consistent and easy-to-understand way, making assignment, function definition, function call, mutability and binding environments understandable inside-out. By giving the abstraction of implementation mechanisms, this book builds a solid understanding of the Python programming language.

  7. Emotionally negative pictures enhance gist memory.

    Science.gov (United States)

    Bookbinder, S H; Brainerd, C J

    2017-02-01

    In prior work on how true and false memory are influenced by emotion, valence and arousal have often been conflated. Thus, it is difficult to say which specific effects are caused by valence and which are caused by arousal. In the present research, we used a picture-memory paradigm that allowed emotional valence to be manipulated with arousal held constant. Negatively valenced pictures elevated both true and false memory, relative to positive and neutral pictures. Conjoint recognition modeling revealed that negative valence (a) reduced erroneous suppression of true memories and (b) increased the familiarity of the semantic content of both true and false memories. Overall, negative valence impaired the verbatim side of episodic memory but enhanced the gist side, and these effects persisted even after a week-long delay. (PsycINFO Database Record (c) 2017 APA, all rights reserved).

  8. A Python extension to the ATLAS online software for the thin gap chamber trigger system

    CERN Document Server

    Maeno, Tadashi; Komatsu, Satoru; Nakayoshi, Kazuo; Yasu, Yoshiji

    2004-01-01

    A Python extension module for A Toroidal LHC Apparatus (ATLAS) Online Software has been developed for the Thin Gap Chamber (TGC) trigger system. Python is an interactive scripting language including built- in high-level libraries, and provides an easy way to build Web applications. These features are not included in the Online Software, and are important in developing test software for the TGC trigger system. The Python extension module is designed and implemented using a C++ library, "Boost.Python." We have developed a Web application using the extension module and Zope (a Python-based Web application server), which allows one to monitor the TGC trigger system from anywhere in the world. The functionalities of the Python extension module and its application for the TGC trigger system are presented. 7 Refs.

  9. Python programming language and the effectiveness of its inclusion in the teaching

    OpenAIRE

    Vitásek, Tomáš

    2009-01-01

    The goal of the first part of this work is to summarize the basics of the Python programming language. Show how to create programs in Python, what are the modules, the basic data types, syntax and the possibility of approach to language. The second part will address the description of the initial programming courses, their objectives and what benefits it brings to teaching Python. Finally, then look at the (in)dependence on the Python platform for running and how to get from Python to another...

  10. A multidisciplinary approach for the treatment of GIST liver metastasis

    Directory of Open Access Journals (Sweden)

    Paramo Juan C

    2008-05-01

    Full Text Available Abstract Background Advanced gastrointestinal stromal tumors (GISTs can metastasize and recur after a long remission period, resulting in serious morbidity, mortality, and complex management issues. Case presentation A 67-year-old woman presented with epigastric fullness, mild jaundice and weight loss with a history of a bowel resection 7 years prior for a primary GIST of the small bowel. The finding of a heterogeneous mass 15.5 cm in diameter replacing most of the left lobe of the liver by ultrasonography and CT, followed by positive cytological studies revealed a metastatic GIST. Perioperative optimization of the patient's nutritional status along with biliary drainage, and portal vein embolization were performed. Imatinib was successful in reducing the tumor size and facilitating surgical resection. Conclusion A well-planned multidisciplinary approach should be part of the standard management of advanced or metastatic GIST.

  11. A multidisciplinary approach for the treatment of GIST liver metastasis

    Science.gov (United States)

    Radkani, Pejman; Ghersi, Marcelo M; Paramo, Juan C; Mesko, Thomas W

    2008-01-01

    Background Advanced gastrointestinal stromal tumors (GISTs) can metastasize and recur after a long remission period, resulting in serious morbidity, mortality, and complex management issues. Case presentation A 67-year-old woman presented with epigastric fullness, mild jaundice and weight loss with a history of a bowel resection 7 years prior for a primary GIST of the small bowel. The finding of a heterogeneous mass 15.5 cm in diameter replacing most of the left lobe of the liver by ultrasonography and CT, followed by positive cytological studies revealed a metastatic GIST. Perioperative optimization of the patient's nutritional status along with biliary drainage, and portal vein embolization were performed. Imatinib was successful in reducing the tumor size and facilitating surgical resection. Conclusion A well-planned multidisciplinary approach should be part of the standard management of advanced or metastatic GIST. PMID:18471285

  12. Current management and prognostic features for gastrointestinal stromal tumor (GIST

    Directory of Open Access Journals (Sweden)

    Lamba Gurpreet

    2012-06-01

    Full Text Available Abstract Stromal or mesenchymal neoplasms affecting the gastrointestinal (GI tract have undergone a remarkable evolution in how they are perceived, classified, approached, diagnosed and managed over the last 30 years. Gastrointestinal stromal tumors (GIST account for approximately 1% to 3% of all malignant GI tumors. The clinical features can vary depending on the anatomic location, size and aggressiveness of the tumor. Metastatic GIST represents a successful example of molecular targeted therapy. In this comprehensive review, we discuss the epidemiology, clinical features and diagnostic modalities for GIST. We also describe treatment options for early stage, locally advanced and metastatic GIST. Indications for neoadjuvant and adjuvant therapy along with duration of therapy are also explained. A brief discussion of latest biomarkers and updates from recent meetings is also provided.

  13. Gist memory in Alzheimer's disease: evidence from categorized pictures.

    Science.gov (United States)

    Budson, Andrew E; Todman, Raleigh W; Schacter, Daniel L

    2006-01-01

    The authors investigated gist memory (the general meaning, idea, or gist conveyed by a collection of items) for categorized color photographs in patients with Alzheimer's disease (AD) using an experimental paradigm in which participants are instructed to respond "yes" when a test item fits with a previously studied category, regardless of whether the specific item was actually studied. Compared with controls, the patients endorsed fewer studied items and similar numbers of nonstudied lure items. After the authors corrected for the baseline false-alarm rate, the patients showed a lower level of endorsements for nonstudied lure items compared with that of controls, suggesting that their gist memory is impaired. Implications of these findings for understanding gist memory and response bias in patients with AD are discussed.

  14. Ascaridosis in captive reticulated python( Python reticulatus ) | Taiwo ...

    African Journals Online (AJOL)

    Two captive reticulated pythons, Python reticulatus, in the Zoological Gardens, University of Ibadan, Ibadan, Nigeria died and were submitted for necropsy at the Diagnostic Laboratory of the Department of Veterinary Pathology, University of Ibadan. Both pythons had been infected with Ascaridia galli for a long period of time ...

  15. Python and AWS Cookbook

    CERN Document Server

    Garnaat, Mitch

    2011-01-01

    If you intend to use Amazon Web Services (AWS) for remote computing and storage, Python is an ideal programming language for developing applications and controlling your cloud-based infrastructure. This cookbook gets you started with more than two dozen recipes for using Python with AWS, based on the author's boto library. You'll find detailed recipes for working with the S3 storage service as well as EC2, the service that lets you design and build cloud applications. Each recipe includes a code solution you can use immediately, along with a discussion of why and how the recipe works. You al

  16. Python for finance

    CERN Document Server

    Yan, Yuxing

    2014-01-01

    Python is a free and powerful tool which can be used to build a financial calculator and price options, and can also explain many trading strategies and test various hypotheses. In addition to that, real-world data can be used to run CAPM (Capital Asset Pricing Model), the Fama-French 3-factor model, estimate VaR (Value at Risk), and estimate spread, illiquidity, and liquidity. This book explores the basics of programming in Python. It is a step-by-step tutorial that will teach you, with the help of concise, practical programs, how to run various statistic tests. With this book, you will learn

  17. Developers@CERN Forums: Python

    CERN Multimedia

    CERN. Geneva

    2016-01-01

    The Developers@CERN Forums second edition took place at the end of May on the topic of Python. How do developers at CERN interact with Python? Which cutting-edge projects are using Python? What were the highlights of this most recent forum?

  18. Python data science essentials

    CERN Document Server

    Boschetti, Alberto

    2015-01-01

    If you are an aspiring data scientist and you have at least a working knowledge of data analysis and Python, this book will get you started in data science. Data analysts with experience of R or MATLAB will also find the book to be a comprehensive reference to enhance their data manipulation and machine learning skills.

  19. Learning robotics using Python

    CERN Document Server

    Joseph, Lentin

    2015-01-01

    If you are an engineer, a researcher, or a hobbyist, and you are interested in robotics and want to build your own robot, this book is for you. Readers are assumed to be new to robotics but should have experience with Python.

  20. Python reference manual

    NARCIS (Netherlands)

    G. van Rossum (Guido)

    1995-01-01

    textabstractPython is a simple, yet powerful, interpreted programming language that bridges the gap between C and shell programming, and is thus ideally suited for ``throw-away programming'' and rapid prototyping. Its syntax is put together from constructs borrowed from a variety of other languages;

  1. Python at CERN

    CERN Multimedia

    Witowski, Sebastian

    2017-01-01

    The Large Hadron Collider at CERN is producing 600 million collisions every second. Only 1 in a million collisions is interesting. It requires a fast programming language to analyze and filter this amount of data. Is Python such a language? No, it’s not. Does it mean there is no place for Python in one of the largest scientific facilities in the world? Quite the contrary. The ease of use and a very low learning curve makes Python a perfect programming language for many physicists and other people without the computer science background. CERN does not only produce large amounts of data. The interesting bits of data have to be stored, analyzed, shared and published. Work of many scientists across various research facilities around the world has to be synchronized. This is the area where Python flourishes. And with CERN’s pursuit to create and use open source software, many interesting projects were born. To facilitate the analysis of data, ROOT framework [https://root.cern.ch/] was created. It’s a C++ fra...

  2. 75 FR 38069 - Injurious Wildlife Species; Listing the Boa Constrictor, Four Python Species, and Four Anaconda...

    Science.gov (United States)

    2010-07-01

    ... Python Species, and Four Anaconda Species as Injurious Reptiles AGENCY: Fish and Wildlife Service... regulations to add Indian python (Python molurus, including Burmese python Python molurus bivittatus), reticulated python (Broghammerus reticulatus or Python reticulatus), Northern African python (Python sebae...

  3. Experiences and perspectives on the GIST patient journey.

    Science.gov (United States)

    Macdonald, Nancy; Shapiro, Ari; Bender, Christina; Paolantonio, Marc; Coombs, John

    2012-01-01

    The tyrosine kinase inhibitor (TKI) imatinib has improved outcomes for patients with unresectable or metastatic gastrointestinal stromal tumors (GIST), and for patients receiving adjuvant therapy following GIST resection. This qualitative study explored the experiences and emotions of patients through GIST diagnosis, treatment initiation, disease control, and in some patients, loss of response and therapy switch. Ethnographic investigations were conducted, including semi- structured qualitative interviews of patients with resected or metastatic/unresectable GIST and their caregivers, from Canada (n = 15); the United States (n = 10); and Brazil, France, Germany, Russia, and Spain (n = 5 each). Some interviewees also kept 7-day photo journals. Responses were qualitatively analyzed to identify gaps and unmet needs where communication about disease, treatments, and adherence could be effective. Patients shared common experiences during each stage of disease management (crisis, hope, adaptation, new normal, and uncertainty). Patients felt a sense of crisis during diagnosis, followed by hope upon TKI therapy initiation. Over time, they came to adapt to their new lives (new normal) with cancer. With each follow-up, patients confronted the uncertainty of becoming TKI resistant and the possible need to switch therapy. During uncertainty many patients sought new information regarding GIST. Cases of disease progression and drug switching caused patients to revert to crisis and restart their emotional journey. Patients with primary or unresectable/metastatic GIST shared similar journeys, especially regarding uncertainty, although differences in the scope and timing of phases were observed. Strategies patients used to remain adherent included obtaining family support, setting reminder mechanisms, taking medicine at routine times, and storing medicine in prominent places. Physicians and support staff can manage patient expectations and encourage adherence to therapy, which may

  4. Scikit-learn: Machine Learning in Python

    OpenAIRE

    Pedregosa, Fabian; Varoquaux, Gaël; Gramfort, Alexandre; Michel, Vincent; Thirion, Bertrand; Grisel, Olivier; Blondel, Mathieu; Prettenhofer, Peter; Weiss, Ron; Dubourg, Vincent; Vanderplas, Jake; Passos, Alexandre; Cournapeau, David; Brucher, Matthieu; Perrot, Matthieu

    2011-01-01

    International audience; Scikit-learn is a Python module integrating a wide range of state-of-the-art machine learning algorithms for medium-scale supervised and unsupervised problems. This package focuses on bringing machine learning to non-specialists using a general-purpose high-level language. Emphasis is put on ease of use, performance, documentation, and API consistency. It has minimal dependencies and is distributed under the simplified BSD license, encouraging its use in both academic ...

  5. Scikit-learn: Machine Learning in Python

    OpenAIRE

    Pedregosa, Fabian; Varoquaux, Gaël; Gramfort, Alexandre; Michel, Vincent; Thirion, Bertrand; Grisel, Olivier; Blondel, Mathieu; Louppe, Gilles; Prettenhofer, Peter; Weiss, Ron; Dubourg, Vincent; Vanderplas, Jake; Passos, Alexandre; Cournapeau, David; Brucher, Matthieu

    2012-01-01

    Scikit-learn is a Python module integrating a wide range of state-of-the-art machine learning algorithms for medium-scale supervised and unsupervised problems. This package focuses on bringing machine learning to non-specialists using a general-purpose high-level language. Emphasis is put on ease of use, performance, documentation, and API consistency. It has minimal dependencies and is distributed under the simplified BSD license, encouraging its use in both academic and commercial settings....

  6. MTpy: A Python toolbox for magnetotellurics

    Science.gov (United States)

    Krieger, Lars; Peacock, Jared R.

    2014-01-01

    We present the software package MTpy that allows handling, processing, and imaging of magnetotelluric (MT) data sets. Written in Python, the code is open source, containing sub-packages and modules for various tasks within the standard MT data processing and handling scheme. Besides the independent definition of classes and functions, MTpy provides wrappers and convenience scripts to call standard external data processing and modelling software.

  7. PyXNAT: XNAT in Python

    Directory of Open Access Journals (Sweden)

    Yannick eSchwartz

    2012-05-01

    Full Text Available As neuroimaging databases grow in size and complexity, the time researchers spend investigating and managing the data increases to the expense of data analysis. As a result, investigators rely more and more heavily on scripting using high-level languages to automate data management and processing tasks. For this, a structured and programatic access to the data store is necessary. Web services are a first step toward this goal. They however lack in functionality and ease of use because they provide only low level interfaces to databases. We introduce here {PyXNAT}, a Python module that interacts with The Extensible Neuroimaging Archive Toolkit (XNAT through native Python calls across multiple operating systems. The choice of Python enables {PyXNAT} to expose the XNAT Web Services and unify their features with a higher level and more expressive language. {PyXNAT} provides XNAT users direct access to all the scientific packages in Python. Finally {PyXNAT} aims to be efficient and easy to use, both as a backend library to build XNAT clients and as an alternative frontend from the command line.

  8. PyXNAT: XNAT in Python.

    Science.gov (United States)

    Schwartz, Yannick; Barbot, Alexis; Thyreau, Benjamin; Frouin, Vincent; Varoquaux, Gaël; Siram, Aditya; Marcus, Daniel S; Poline, Jean-Baptiste

    2012-01-01

    As neuroimaging databases grow in size and complexity, the time researchers spend investigating and managing the data increases to the expense of data analysis. As a result, investigators rely more and more heavily on scripting using high-level languages to automate data management and processing tasks. For this, a structured and programmatic access to the data store is necessary. Web services are a first step toward this goal. They however lack in functionality and ease of use because they provide only low-level interfaces to databases. We introduce here PyXNAT, a Python module that interacts with The Extensible Neuroimaging Archive Toolkit (XNAT) through native Python calls across multiple operating systems. The choice of Python enables PyXNAT to expose the XNAT Web Services and unify their features with a higher level and more expressive language. PyXNAT provides XNAT users direct access to all the scientific packages in Python. Finally PyXNAT aims to be efficient and easy to use, both as a back-end library to build XNAT clients and as an alternative front-end from the command line.

  9. Deep learning with Python

    CERN Document Server

    Chollet, Francois

    2018-01-01

    DESCRIPTION Deep learning is applicable to a widening range of artificial intelligence problems, such as image classification, speech recognition, text classification, question answering, text-to-speech, and optical character recognition. Deep Learning with Python is structured around a series of practical code examples that illustrate each new concept introduced and demonstrate best practices. By the time you reach the end of this book, you will have become a Keras expert and will be able to apply deep learning in your own projects. KEY FEATURES • Practical code examples • In-depth introduction to Keras • Teaches the difference between Deep Learning and AI ABOUT THE TECHNOLOGY Deep learning is the technology behind photo tagging systems at Facebook and Google, self-driving cars, speech recognition systems on your smartphone, and much more. AUTHOR BIO Francois Chollet is the author of Keras, one of the most widely used libraries for deep learning in Python. He has been working with deep neural ...

  10. Understanding Genetic Breast Cancer Risk: Processing Loci of the BRCA Gist Intelligent Tutoring System.

    Science.gov (United States)

    Wolfe, Christopher R; Reyna, Valerie F; Widmer, Colin L; Cedillos-Whynott, Elizabeth M; Brust-Renck, Priscila G; Weil, Audrey M; Hu, Xiangen

    2016-07-01

    The BRCA Gist Intelligent Tutoring System helps women understand and make decisions about genetic testing for breast cancer risk. BRCA Gist is guided by Fuzzy-Trace Theory, (FTT) and built using AutoTutor Lite. It responds differently to participants depending on what they say. Seven tutorial dialogues requiring explanation and argumentation are guided by three FTT concepts: forming gist explanations in one's own words, emphasizing decision-relevant information, and deliberating the consequences of decision alternatives. Participants were randomly assigned to BRCA Gist , a control, or impoverished BRCA Gist conditions removing gist explanation dialogues, argumentation dialogues, or FTT images. All BRCA Gist conditions performed significantly better than controls on knowledge, comprehension, and risk assessment. Significant differences in knowledge, comprehension, and fine-grained dialogue analyses demonstrate the efficacy of gist explanation dialogues. FTT images significantly increased knowledge. Providing more elements in arguments against testing correlated with increased knowledge and comprehension.

  11. Python algorithms mastering basic algorithms in the Python language

    CERN Document Server

    Hetland, Magnus Lie

    2014-01-01

    Python Algorithms, Second Edition explains the Python approach to algorithm analysis and design. Written by Magnus Lie Hetland, author of Beginning Python, this book is sharply focused on classical algorithms, but it also gives a solid understanding of fundamental algorithmic problem-solving techniques. The book deals with some of the most important and challenging areas of programming and computer science in a highly readable manner. It covers both algorithmic theory and programming practice, demonstrating how theory is reflected in real Python programs. Well-known algorithms and data struc

  12. Presentation of GIST as jejuno-jejunal intussusception

    Directory of Open Access Journals (Sweden)

    Anil Kumar

    2018-03-01

    Full Text Available Gastrointestinal stromal tumours (GISTs are rare tumour. It comprises 0.2% of gastrointestinal tumours and only 0.04% of small intestinal tumours. Usually this tumour is found in people in their 60s.These tumours can be found anywhere in the gastrointestinal tract but most commonly found in the stomach (40–60%. Patients with GISTs usually have vague and nonspecific symptoms. We present a 17year-old with complain of abdominal pain, distension, and few episodes of vomiting. All laboratory investigations were normal. The ultrasonography (USG and computed tomography (CT were suggestive of jejuno-jejunal intussusception. The patient had emergency exploratory laparotomy with resection of the segment with five cm healthy margin, and end to end anastomosis. Patient was discharged after 4 days and remains well. This case report highlights the rarity of GISTs in the concern of age (17 year old, site (Jejunum as well as presentation (intussusception.

  13. Inoculating against eyewitness suggestibility via interpolated verbatim vs. gist testing.

    Science.gov (United States)

    Pansky, Ainat; Tenenboim, Einat

    2011-01-01

    In real-life situations, eyewitnesses often have control over the level of generality in which they choose to report event information. In the present study, we adopted an early-intervention approach to investigate to what extent eyewitness memory may be inoculated against suggestibility, following two different levels of interpolated reporting: verbatim and gist. After viewing a target event, participants responded to interpolated questions that required reporting of target details at either the verbatim or the gist level. After 48 hr, both groups of participants were misled about half of the target details and were finally tested for verbatim memory of all the details. The findings were consistent with our predictions: Whereas verbatim testing was successful in completely inoculating against suggestibility, gist testing did not reduce it whatsoever. These findings are particularly interesting in light of the comparable testing effects found for these two modes of interpolated testing.

  14. Succinate Dehydrogenase Subunit B (SDHB Is Expressed in Neurofibromatosis 1-Associated Gastrointestinal Stromal Tumors (Gists: Implications for the SDHB Expression Based Classification of Gists

    Directory of Open Access Journals (Sweden)

    Jeanny H. Wang, Jerzy Lasota, Markku Miettinen

    2011-01-01

    Full Text Available Gastrointestinal Stromal Tumor (GIST is the most common mesenchymal tumor of the digestive tract. GISTs develop with relatively high incidence in patients with Neurofibromatosis-1 syndrome (NF1. Mutational activation of KIT or PDGFRA is believed to be a driving force in the pathogenesis of familial and sporadic GISTs. Unlike those tumors, NF1-associated GISTs do not have KIT or PGDFRA mutations. Similarly, no mutational activation of KIT or PDGFRA has been identified in pediatric GISTs and in GISTs associated with Carney Triad and Carney-Stratakis Syndrome. KIT and PDGFRA-wild type tumors are expected to have lesser response to imatinib treatment. Recently, Carney Triad and Carney-Stratakis Syndrome -associated GISTs and pediatric GISTs have been shown to have a loss of expression of succinate dehydrogenase subunit B (SDHB, a Krebs cycle/electron transport chain interface protein. It was proposed that GISTs can be divided into SDHB- positive (type 1, and SDHB-negative (type 2 tumors because of similarities in clinical features and response to imatinib treatment. In this study, SDHB expression was examined immunohistochemically in 22 well-characterized NF1-associated GISTs. All analyzed tumors expressed SDHB. Based on SDHB-expression status, NF1-associated GISTs belong to type 1 category; however, similarly to SDHB type 2 tumors, they do not respond well to imatinib treatment. Therefore, a simple categorization of GISTs into SDHB-positive and-negative seems to be incomplete. A classification based on both SDHB expression status and KIT and PDGFRA mutation status characterize GISTs more accurately and allow subdivision of SDHB-positive tumors into different clinico-genetic categories.

  15. Mastering object-oriented Python

    CERN Document Server

    Lott, Steven F

    2014-01-01

    This book follows a standard tutorial approach with approximately 750 code samples spread through the 19 chapters. This amounts to over 5,900 lines of code that illustrate each concept.This book is aimed at programmers who have already learned the basics of object-oriented Python and need to write more sophisticated, flexible code that integrates seamlessly with the rest of Python. This book assumes a computer science background, with experience of common Python design patterns.

  16. File list: ALL.Dig.10.AllAg.GIST-48 [Chip-atlas[Archive

    Lifescience Database Archive (English)

    Full Text Available ALL.Dig.10.AllAg.GIST-48 hg19 All antigens Digestive tract GIST-48 SRX825987,SRX023...216,SRX023215,SRX825986 http://dbarchive.biosciencedbc.jp/kyushu-u/hg19/assembled/ALL.Dig.10.AllAg.GIST-48.bed ...

  17. File list: ALL.Dig.50.AllAg.GIST-48 [Chip-atlas[Archive

    Lifescience Database Archive (English)

    Full Text Available ALL.Dig.50.AllAg.GIST-48 hg19 All antigens Digestive tract GIST-48 SRX825987,SRX023...216,SRX023215,SRX825986 http://dbarchive.biosciencedbc.jp/kyushu-u/hg19/assembled/ALL.Dig.50.AllAg.GIST-48.bed ...

  18. File list: ALL.Dig.20.AllAg.GIST-48 [Chip-atlas[Archive

    Lifescience Database Archive (English)

    Full Text Available ALL.Dig.20.AllAg.GIST-48 hg19 All antigens Digestive tract GIST-48 SRX825987,SRX023...216,SRX825986,SRX023215 http://dbarchive.biosciencedbc.jp/kyushu-u/hg19/assembled/ALL.Dig.20.AllAg.GIST-48.bed ...

  19. A Python Geospatial Language Toolkit

    Science.gov (United States)

    Fillmore, D.; Pletzer, A.; Galloy, M.

    2012-12-01

    The volume and scope of geospatial data archives, such as collections of satellite remote sensing or climate model products, has been rapidly increasing and will continue to do so in the near future. The recently launched (October 2011) Suomi National Polar-orbiting Partnership satellite (NPP) for instance, is the first of a new generation of Earth observation platforms that will monitor the atmosphere, oceans, and ecosystems, and its suite of instruments will generate several terabytes each day in the form of multi-spectral images and derived datasets. Full exploitation of such data for scientific analysis and decision support applications has become a major computational challenge. Geophysical data exploration and knowledge discovery could benefit, in particular, from intelligent mechanisms for extracting and manipulating subsets of data relevant to the problem of interest. Potential developments include enhanced support for natural language queries and directives to geospatial datasets. The translation of natural language (that is, human spoken or written phrases) into complex but unambiguous objects and actions can be based on a context, or knowledge domain, that represents the underlying geospatial concepts. This poster describes a prototype Python module that maps English phrases onto basic geospatial objects and operations. This module, along with the associated computational geometry methods, enables the resolution of natural language directives that include geographic regions of arbitrary shape and complexity.

  20. The spectacle of the ball python (Python regius)

    DEFF Research Database (Denmark)

    Da Silva, Mari-Ann Otkjær; Heegaard, Steffen; Wang, Tobias

    2014-01-01

    A detailed morphological description of the spectacle of the ball python (Python regius) is provided. The eyes of 21 snakes were examined by light microscopy and/or transmission electron microscopy. Additionally, eyes of nine live snakes were examined using optical coherence tomography (OCT...

  1. Pythons in Burma: Short-tailed python (Reptilia: Squamata)

    Science.gov (United States)

    Zug, George R.; Gotte, Steve W.; Jacobs, Jeremy F.

    2011-01-01

    Short-tailed pythons, Python curtus species group, occur predominantly in the Malayan Peninsula, Sumatra, and Borneo. The discovery of an adult female in Mon State, Myanmar, led to a review of the distribution of all group members (spot-mapping of all localities of confirmed occurrence) and an examination of morphological variation in P. brongersmai. The resulting maps demonstrate a limited occurrence of these pythons within peninsular Malaya, Sumatra, and Borneo with broad absences in these regions. Our small samples limit the recognition of regional differentiation in the morphology of P. brongersmai populations; however, the presence of unique traits in the Myanmar python and its strong allopatry indicate that it is a unique genetic lineage, and it is described as Python kyaiktiyo new species.

  2. The Influence of Color on the Perception of Scene Gist

    Science.gov (United States)

    Castelhano, Monica S.; Henderson, John M.

    2008-01-01

    In 3 experiments the authors used a new contextual bias paradigm to explore how quickly information is extracted from a scene to activate gist, whether color contributes to this activation, and how color contributes, if it does. Participants were shown a brief presentation of a scene followed by the name of a target object. The target object could…

  3. Real-time speech gisting for ATC applications

    Science.gov (United States)

    Dunkelberger, Kirk A.

    1995-06-01

    Command and control within the ATC environment remains primarily voice-based. Hence, automatic real time, speaker independent, continuous speech recognition (CSR) has many obvious applications and implied benefits to the ATC community: automated target tagging, aircraft compliance monitoring, controller training, automatic alarm disabling, display management, and many others. However, while current state-of-the-art CSR systems provide upwards of 98% word accuracy in laboratory environments, recent low-intrusion experiments in the ATCT environments demonstrated less than 70% word accuracy in spite of significant investments in recognizer tuning. Acoustic channel irregularities and controller/pilot grammar verities impact current CSR algorithms at their weakest points. It will be shown herein, however, that real time context- and environment-sensitive gisting can provide key command phrase recognition rates of greater than 95% using the same low-intrusion approach. The combination of real time inexact syntactic pattern recognition techniques and a tight integration of CSR, gisting, and ATC database accessor system components is the key to these high phase recognition rates. A system concept for real time gisting in the ATC context is presented herein. After establishing an application context, discussion presents a minimal CSR technology context then focuses on the gisting mechanism, desirable interfaces into the ATCT database environment, and data and control flow within the prototype system. Results of recent tests for a subset of the functionality are presented together with suggestions for further research.

  4. Iconic memory for the gist of natural scenes.

    Science.gov (United States)

    Clarke, Jason; Mack, Arien

    2014-11-01

    Does iconic memory contain the gist of multiple scenes? Three experiments were conducted. In the first, four scenes from different basic-level categories were briefly presented in one of two conditions: a cue or a no-cue condition. The cue condition was designed to provide an index of the contents of iconic memory of the display. Subjects were more sensitive to scene gist in the cue condition than in the no-cue condition. In the second, the scenes came from the same basic-level category. We found no difference in sensitivity between the two conditions. In the third, six scenes from different basic level categories were presented in the visual periphery. Subjects were more sensitive to scene gist in the cue condition. These results suggest that scene gist is contained in iconic memory even in the visual periphery; however, iconic representations are not sufficiently detailed to distinguish between scenes coming from the same category. Copyright © 2014 Elsevier Inc. All rights reserved.

  5. Python tools for Visual Studio

    CERN Document Server

    Wang, Cathy

    2014-01-01

    This is a hands-on guide that provides exemplary coverage of all the features and concepts related to PTVS.The book is intended for developers who are aiming to enhance their productivity in Python projects with automation tools that Visual Studio provides for the .Net community. Some basic knowledge of Python programming is essential.

  6. Experiences and perspectives on the GIST patient journey

    Directory of Open Access Journals (Sweden)

    Macdonald N

    2012-03-01

    Full Text Available Nancy Macdonald1, Ari Shapiro1, Christina Bender2, Marc Paolantonio2, John Coombs21Flince Research + Design, New York, NY, 2Novartis Pharmaceuticals, East Hanover, NJ, USAPurpose: The tyrosine kinase inhibitor (TKI imatinib has improved outcomes for patients with unresectable or metastatic gastrointestinal stromal tumors (GIST, and for patients receiving adjuvant therapy following GIST resection. This qualitative study explored the experiences and emotions of patients through GIST diagnosis, treatment initiation, disease control, and in some patients, loss of response and therapy switch.Patients and methods: Ethnographic investigations were conducted, including semi-structured qualitative interviews of patients with resected or metastatic/unresectable GIST and their caregivers, from Canada (n = 15; the United States (n = 10; and Brazil, France, Germany, Russia, and Spain (n = 5 each. Some interviewees also kept 7-day photo journals. Responses were qualitatively analyzed to identify gaps and unmet needs where communication about disease, treatments, and adherence could be effective.Results: Patients shared common experiences during each stage of disease management (crisis, hope, adaptation, new normal, and uncertainty. Patients felt a sense of crisis during diagnosis, followed by hope upon TKI therapy initiation. Over time, they came to adapt to their new lives (new normal with cancer. With each follow-up, patients confronted the uncertainty of becoming TKI resistant and the possible need to switch therapy. During uncertainty many patients sought new information regarding GIST. Cases of disease progression and drug switching caused patients to revert to crisis and restart their emotional journey. Patients with primary or unresectable/metastatic GIST shared similar journeys, especially regarding uncertainty, although differences in the scope and timing of phases were observed. Strategies patients used to remain adherent included obtaining family

  7. Writing faster Python

    CERN Multimedia

    CERN. Geneva

    2016-01-01

    Did you know that Python preallocates integers from -5 to 257 ? Reusing them 1000 times, instead of allocating memory for a bigger integer, can save you a couple of milliseconds of code’s execution time. If you want to learn more about this kind of optimizations then, … well, probably this presentation is not for you :) Instead of going into such small details, I will talk about more "sane" ideas for writing faster code. After a very brief overview of how to optimize Python code (rule 1: don’t do this; rule 2: don’t do this yet; rule 3: ok, but what if I really want to do this ?), I will show simple and fast ways of measuring the execution time and finally, discuss examples of how some code structures could be improved. You will see: - What is the fastest way of removing duplicates from a list - How much faster your code is when you reuse the built-in functions instead of trying to reinvent the wheel - What is faster than the good ol’ for loop - If the lookup is faster in a list or a set (and w...

  8. EPICS V4 in Python

    International Nuclear Information System (INIS)

    Guobao Shen; Kraimer, M.; Davidsaver, M.

    2012-01-01

    At NSLS-II, Python has been selected as the primary development language for physics applications. Interest in Python as a rapid application development environment continues to grow. Many large experimental scientific facilities have adopted Python for beam commissioning and the operation. The EPICS control system framework has become the de facto standard for the control of large experimental facilities, where it is in use in over 100 facilities. The next version of EPICS (EPICS V4), under active development will extend the support for physics applications, data acquisition, and data analysis. Python support for EPICS V4 will provide an effective framework to address these requirements. This paper presents design, development and status of activities focused on EPICS V4 in Python

  9. Endocardial fibrosarcoma in a reticulated python (Python reticularis).

    Science.gov (United States)

    Gumber, Sanjeev; Nevarez, Javier G; Cho, Doo-Youn

    2010-11-01

    A female, reticulated python (Python reticularis) of unknown age was presented with a history of lethargy, weakness, and distended coelom. Physical examination revealed severe dystocia and stomatitis. The reticulated python was euthanized due to a poor clinical prognosis. Postmortem examination revealed marked distention of the reproductive tract with 26 eggs (10-12 cm in diameter), pericardial effusion, and a slightly firm, pale tan mass (3-4 cm in diameter) adhered to the endocardium at the base of aorta. Based on histopathologic and transmission electron microscopic findings, the diagnosis of endocardial fibrosarcoma was made.

  10. DAL Algorithms and Python

    CERN Document Server

    Aydemir, Bahar

    2017-01-01

    The Trigger and Data Acquisition (TDAQ) system of the ATLAS detector at the Large Hadron Collider (LHC) at CERN is composed of a large number of distributed hardware and software components. TDAQ system consists of about 3000 computers and more than 25000 applications which, in a coordinated manner, provide the data-taking functionality of the overall system. There is a number of online services required to configure, monitor and control the ATLAS data taking. In particular, the configuration service is used to provide configuration of above components. The configuration of the ATLAS data acquisition system is stored in XML-based object database named OKS. DAL (Data Access Library) allowing to access it's information by C++, Java and Python clients in a distributed environment. Some information has quite complicated structure, so it's extraction requires writing special algorithms. Algorithms available on C++ programming language and partially reimplemented on Java programming language. The goal of the projec...

  11. pyam: Python Implementation of YaM

    Science.gov (United States)

    Myint, Steven; Jain, Abhinandan

    2012-01-01

    pyam is a software development framework with tools for facilitating the rapid development of software in a concurrent software development environment. pyam provides solutions for development challenges associated with software reuse, managing multiple software configurations, developing software product lines, and multiple platform development and build management. pyam uses release-early, release-often development cycles to allow developers to integrate their changes incrementally into the system on a continual basis. It facilitates the creation and merging of branches to support the isolated development of immature software to avoid impacting the stability of the development effort. It uses modules and packages to organize and share software across multiple software products, and uses the concepts of link and work modules to reduce sandbox setup times even when the code-base is large. One sidebenefit is the enforcement of a strong module-level encapsulation of a module s functionality and interface. This increases design transparency, system stability, and software reuse. pyam is written in Python and is organized as a set of utilities on top of the open source SVN software version control package. All development software is organized into a collection of modules. pyam packages are defined as sub-collections of the available modules. Developers can set up private sandboxes for module/package development. All module/package development takes place on private SVN branches. High-level pyam commands support the setup, update, and release of modules and packages. Released and pre-built versions of modules are available to developers. Developers can tailor the source/link module mix for their sandboxes so that new sandboxes (even large ones) can be built up easily and quickly by pointing to pre-existing module releases. All inter-module interfaces are publicly exported via links. A minimal, but uniform, convention is used for building modules.

  12. Acariasis on pet Burmese python, Python molurus bivittatus in Malaysia.

    Science.gov (United States)

    Mariana, A; Vellayan, S; Halimaton, I; Ho, T M

    2011-03-01

    To identify the acari present on pet Burmese pythons in Malaysia and to determine whether there is any potential public health risk related to handling of the snakes. Two sub-adult Burmese pythons kept as pets for a period of about 6 to 7 months by different owners, were brought to an exotic animal practice for treatment. On a complete medical examination, some ticks and mites (acari) were detected beneath the dorsal and ventral scales along body length of the snakes. Ticks were directly identified and mites were mounted prior to identification. A total of 12 ticks represented by 3 males, 2 females and 7 nymphal stages of Rhipicephalus sanguineus (R. sanguineus) were extracted from the first python while the other one was with 25 female Ophionyssus natricis (O. natricis) mesostigmatid mites. Only adult female mites were found. These mites are common ectoparasites of Burmese pythons. Both the acarine species found on the Burmese pythons are known vectors of pathogens. This is the first record that R. sanguineus has been reported from a pet Burmese python in Malaysia. Copyright © 2011 Hainan Medical College. Published by Elsevier B.V. All rights reserved.

  13. Perceived Average Orientation Reflects Effective Gist of the Surface.

    Science.gov (United States)

    Cha, Oakyoon; Chong, Sang Chul

    2018-03-01

    The human ability to represent ensemble visual information, such as average orientation and size, has been suggested as the foundation of gist perception. To effectively summarize different groups of objects into the gist of a scene, observers should form ensembles separately for different groups, even when objects have similar visual features across groups. We hypothesized that the visual system utilizes perceptual groups characterized by spatial configuration and represents separate ensembles for different groups. Therefore, participants could not integrate ensembles of different perceptual groups on a task basis. We asked participants to determine the average orientation of visual elements comprising a surface with a contour situated inside. Although participants were asked to estimate the average orientation of all the elements, they ignored orientation signals embedded in the contour. This constraint may help the visual system to keep the visual features of occluding objects separate from those of the occluded objects.

  14. A gastrointestinal stromal tumor (GIST masquerading as an ovarian mass

    Directory of Open Access Journals (Sweden)

    Beneduce Pasquale

    2004-05-01

    Full Text Available Abstract Background Malignant gastrointestinal stromal tumors (GIST are rare mesenchymal tumors originating in the wall of the gastrointestinal tract. Myogenic gastrointestinal stromal tumor, a distinctive morphologic variant is characterized by an unusually prominent myxoid stromal background. Case presentation We report a case of myxoid variant of GIST in a 42 years old woman presenting as an epigastric mass associated to an ovarian cyst and elevated CA-125. Histologically, the lesions was composed of a proliferation of spindle cells in an abundant myxoid stroma, without evidence of atypia or anaplasia. Immunohistochemical stains showed strong positive staining with muscle actin, positive staining with CD34 and weak positive staining with CD117, while showed negative for S-100. Conclusion At surgery every effort should be made to identify the origin of the tumor. A complete surgical removal of the tumor should be obtained, as this is the only established treatment that offers long term survival.

  15. Python for Google app engine

    CERN Document Server

    Pippi, Massimiliano

    2015-01-01

    If you are a Python developer, whether you have experience in web applications development or not, and want to rapidly deploy a scalable backend service or a modern web application on Google App Engine, then this book is for you.

  16. Pynamic: the Python Dynamic Benchmark

    Energy Technology Data Exchange (ETDEWEB)

    Lee, G L; Ahn, D H; de Supinksi, B R; Gyllenhaal, J C; Miller, P J

    2007-07-10

    Python is widely used in scientific computing to facilitate application development and to support features such as computational steering. Making full use of some of Python's popular features, which improve programmer productivity, leads to applications that access extremely high numbers of dynamically linked libraries (DLLs). As a result, some important Python-based applications severely stress a system's dynamic linking and loading capabilities and also cause significant difficulties for most development environment tools, such as debuggers. Furthermore, using the Python paradigm for large scale MPI-based applications can create significant file IO and further stress tools and operating systems. In this paper, we present Pynamic, the first benchmark program to support configurable emulation of a wide-range of the DLL usage of Python-based applications for large scale systems. Pynamic has already accurately reproduced system software and tool issues encountered by important large Python-based scientific applications on our supercomputers. Pynamic provided insight for our system software and tool vendors, and our application developers, into the impact of several design decisions. As we describe the Pynamic benchmark, we will highlight some of the issues discovered in our large scale system software and tools using Pynamic.

  17. Respiratory disease in ball pythons (Python regius) experimentally infected with ball python nidovirus.

    Science.gov (United States)

    Hoon-Hanks, Laura L; Layton, Marylee L; Ossiboff, Robert J; Parker, John S L; Dubovi, Edward J; Stenglein, Mark D

    2018-04-01

    Circumstantial evidence has linked a new group of nidoviruses with respiratory disease in pythons, lizards, and cattle. We conducted experimental infections in ball pythons (Python regius) to test the hypothesis that ball python nidovirus (BPNV) infection results in respiratory disease. Three ball pythons were inoculated orally and intratracheally with cell culture isolated BPNV and two were sham inoculated. Antemortem choanal, oroesophageal, and cloacal swabs and postmortem tissues of infected snakes were positive for viral RNA, protein, and infectious virus by qRT-PCR, immunohistochemistry, western blot and virus isolation. Clinical signs included oral mucosal reddening, abundant mucus secretions, open-mouthed breathing, and anorexia. Histologic lesions included chronic-active mucinous rhinitis, stomatitis, tracheitis, esophagitis and proliferative interstitial pneumonia. Control snakes remained negative and free of clinical signs throughout the experiment. Our findings establish a causal relationship between nidovirus infection and respiratory disease in ball pythons and shed light on disease progression and transmission. Copyright © 2017 The Authors. Published by Elsevier Inc. All rights reserved.

  18. Humoral regulation of heart rate during digestion in pythons (Python molurus and Python regius).

    Science.gov (United States)

    Enok, Sanne; Simonsen, Lasse Stærdal; Pedersen, Signe Vesterskov; Wang, Tobias; Skovgaard, Nini

    2012-05-15

    Pythons exhibit a doubling of heart rate when metabolism increases several times during digestion. Pythons, therefore, represent a promising model organism to study autonomic cardiovascular regulation during the postprandial state, and previous studies show that the postprandial tachycardia is governed by a release of vagal tone as well as a pronounced stimulation from nonadrenergic, noncholinergic (NANC) factors. Here we show that infusion of plasma from digesting donor pythons elicit a marked tachycardia in fasting snakes, demonstrating that the NANC factor resides in the blood. Injections of the gastrin and cholecystokinin receptor antagonist proglumide had no effect on double-blocked heart rate or blood pressure. Histamine has been recognized as a NANC factor in the early postprandial period in pythons, but the mechanism of its release has not been identified. Mast cells represent the largest repository of histamine in vertebrates, and it has been speculated that mast cells release histamine during digestion. Treatment with the mast cell stabilizer cromolyn significantly reduced postprandial heart rate in pythons compared with an untreated group but did not affect double-blocked heart rate. While this study indicates that histamine induces postprandial tachycardia in pythons, its release during digestion is not stimulated by gastrin or cholecystokinin nor is its release from mast cells a stimulant of postprandial tachycardia.

  19. Post-learning stress differentially affects memory for emotional gist and detail in naturally cycling women and women on hormonal contraceptives

    Science.gov (United States)

    Nielsen, Shawn E.; Ahmed, Imran; Cahill, Larry

    2014-01-01

    Sex differences in emotional memory have received increasing interest over the past decade. However, to date, no work has explored how a post-learning stressor might modulate the influence of sex hormone status on memory for gist and peripheral detail in an emotional versus neutral context. Here, we tested three predictions. First, compared to naturally cycling women (NC women) in the luteal phase, women on hormonal contraception (HC women) would have significantly blunted HPA reactivity to physical stress. Second, post-learning stress would enhance detail and gist memory from an emotional story in NC women, and finally, post-learning stress would not affect emotional memory for details or gist in HC women. Healthy NC and HC women viewed a brief, narrated story containing neutral or emotionally arousing elements. Immediately after, Cold Pressor Stress (CPS) or a control procedure was administered. One week later, participants received a surprise free recall test for story elements. NC women exhibited significantly greater cortisol increases to CPS compared to HC women. NC women who viewed the emotional story and were administered CPS recalled the most peripheral details overall and more gist from the emotional compared to the neutral story. In HC women, however, the post-learning cortisol release did not affect memory for gist or peripheral details from the emotional or neutral story in any way. Additionally, NC and HC women performed similarly on measures of attention and arousal. These findings suggest that in women, post-learning stress differentially affects memory for emotional information depending on their hormonal contraceptive status. PMID:24841741

  20. Post-learning stress differentially affects memory for emotional gist and detail in naturally cycling women and women on hormonal contraceptives

    OpenAIRE

    Nielsen, Shawn E.; Ahmed, Imran; Cahill, Larry

    2014-01-01

    Sex differences in emotional memory have received increasing interest over the past decade. However, to date, no work has explored how a post-learning stressor might modulate the influence of sex hormone status on memory for gist and peripheral detail in an emotional versus neutral context. Here, we tested three predictions. First, compared to naturally cycling women (NC women) in the luteal phase, women on hormonal contraception (HC women) would have significantly blunted HPA reactivity to p...

  1. Beginning Python from novice to professional

    CERN Document Server

    Hetland, Magnus Lie

    2005-01-01

    ""Beginning Python: From Novice to Professional"" is the most comprehensive book on the Python ever written. Based on ""Practical Python,"" this newly revised book is both an introduction and practical reference for a swath of Python-related programming topics, including addressing language internals, database integration, network programming, and web services. Advanced topics, such as extending Python and packaging/distributing Python applications, are also covered. Ten different projects illustrate the concepts introduced in the book. You will learn how to create a P2P file-sharing applicati

  2. Pyteomics--a Python framework for exploratory data analysis and rapid software prototyping in proteomics.

    Science.gov (United States)

    Goloborodko, Anton A; Levitsky, Lev I; Ivanov, Mark V; Gorshkov, Mikhail V

    2013-02-01

    Pyteomics is a cross-platform, open-source Python library providing a rich set of tools for MS-based proteomics. It provides modules for reading LC-MS/MS data, search engine output, protein sequence databases, theoretical prediction of retention times, electrochemical properties of polypeptides, mass and m/z calculations, and sequence parsing. Pyteomics is available under Apache license; release versions are available at the Python Package Index http://pypi.python.org/pyteomics, the source code repository at http://hg.theorchromo.ru/pyteomics, documentation at http://packages.python.org/pyteomics. Pyteomics.biolccc documentation is available at http://packages.python.org/pyteomics.biolccc/. Questions on installation and usage can be addressed to pyteomics mailing list: pyteomics@googlegroups.com.

  3. Algorithmic synthesis using Python compiler

    Science.gov (United States)

    Cieszewski, Radoslaw; Romaniuk, Ryszard; Pozniak, Krzysztof; Linczuk, Maciej

    2015-09-01

    This paper presents a python to VHDL compiler. The compiler interprets an algorithmic description of a desired behavior written in Python and translate it to VHDL. FPGA combines many benefits of both software and ASIC implementations. Like software, the programmed circuit is flexible, and can be reconfigured over the lifetime of the system. FPGAs have the potential to achieve far greater performance than software as a result of bypassing the fetch-decode-execute operations of traditional processors, and possibly exploiting a greater level of parallelism. This can be achieved by using many computational resources at the same time. Creating parallel programs implemented in FPGAs in pure HDL is difficult and time consuming. Using higher level of abstraction and High-Level Synthesis compiler implementation time can be reduced. The compiler has been implemented using the Python language. This article describes design, implementation and results of created tools.

  4. Accessing the VO with Python

    Science.gov (United States)

    Plante, R.; Fitzpatrick, M.; Graham, M.; Tody, D.; Young, W.

    2014-05-01

    We introduce two products for accessing the VO from Python: PyVO and VOClient. PyVO is built on the widely-used Astropy package and is well suited for integrating automated access to astronomical data into highly customizable scripts and applications for data analysis in Python. VOClient is built on a collection of C-libraries and is well suited for integrating with multi-language analysis packages. It also provides a framework for integrating legacy software into the Python environment. In this demo, we will run through several examples demonstrate basic data discovery and retrieval of data. This includes finding archives containing data of interest (VO registry), retrieving datasets (SIA, SSA), and exploring (Cone Search, SLAP). VOClient features some extended capabilities including the ability to communicate to other desktop applications from a script using the SAMP protocol.

  5. How Reasoning, Judgment, and Decision Making are Colored by Gist-based Intuition: A Fuzzy-Trace Theory Approach.

    Science.gov (United States)

    Corbin, Jonathan C; Reyna, Valerie F; Weldon, Rebecca B; Brainerd, Charles J

    2015-12-01

    Fuzzy-trace theory distinguishes verbatim (literal, exact) from gist (meaningful) representations, predicting that reliance on gist increases with experience and expertise. Thus, many judgment-and-decision-making biases increase with development, such that cognition is colored by context in ways that violate logical coherence and probability theories. Nevertheless, this increase in gist-based intuition is adaptive: Gist is stable, less sensitive to interference, and easier to manipulate. Moreover, gist captures the functionally significant essence of information, supporting healthier and more robust decision processes. We describe how fuzzy-trace theory accounts for judgment-and-decision making phenomena, predicting the paradoxical arc of these processes with the development of experience and expertise. We present data linking gist memory processes to gist processing in decision making and provide illustrations of gist reliance in medicine, public health, and intelligence analysis.

  6. Building machine learning systems with Python

    CERN Document Server

    Coelho, Luis Pedro

    2015-01-01

    This book primarily targets Python developers who want to learn and use Python's machine learning capabilities and gain valuable insights from data to develop effective solutions for business problems.

  7. Anatomy of the python heart.

    Science.gov (United States)

    Jensen, Bjarke; Nyengaard, Jens R; Pedersen, Michael; Wang, Tobias

    2010-12-01

    The hearts of all snakes and lizards consist of two atria and a single incompletely divided ventricle. In general, the squamate ventricle is subdivided into three chambers: cavum arteriosum (left), cavum venosum (medial) and cavum pulmonale (right). Although a similar division also applies to the heart of pythons, this family of snakes is unique amongst snakes in having intracardiac pressure separation. Here we provide a detailed anatomical description of the cardiac structures that confer this functional division. We measured the masses and volumes of the ventricular chambers, and we describe the gross morphology based on dissections of the heart from 13 ball pythons (Python regius) and one Burmese python (P. molurus). The cavum venosum is much reduced in pythons and constitutes approximately 10% of the cavum arteriosum. We suggest that shunts will always be less than 20%, while other studies conclude up to 50%. The high-pressure cavum arteriosum accounted for approximately 75% of the total ventricular mass, and was twice as dense as the low-pressure cavum pulmonale. The reptile ventricle has a core of spongious myocardium, but the three ventricular septa that separate the pulmonary and systemic chambers--the muscular ridge, the bulbuslamelle and the vertical septum--all had layers of compact myocardium. Pythons, however, have unique pads of connective tissue on the site of pressure separation. Because the hearts of varanid lizards, which also are endowed with pressure separation, share many of these morphological specializations, we propose that intraventricular compact myocardium is an indicator of high-pressure systems and possibly pressure separation.

  8. Learning Python with Raspberry Pi

    CERN Document Server

    Bradbury, Alex

    2014-01-01

    The must-have companion guide to the Raspberry Pi User Guide! Raspberry Pi chose Python as its teaching language of choice to encourage a new generation of programmers to learn how to program. This approachable book serves as an ideal resource for anyone wanting to use Raspberry Pi to learn to program and helps you get started with the Python programming language. Aimed at first-time developers with no prior programming language assumed, this beginner book gets you up and running.Covers variables, loops, and functionsAddresses 3D graphics programmingWalks you through programming MinecraftZero

  9. Infestation of Royal Python (Python regius) with ticks Amblyomma ...

    African Journals Online (AJOL)

    The Python/Boa Family is found in most part of tropics. It is a highly domesticated pet and can easily be handled (Cansdale 1962). Snakes are commonly infected by ticks more importantly the hand bodied ticks (Fowler, 1986).However, under captive condition, ticks usually exert a lot of burden on their hosts being carriers of ...

  10. Pancreatic insulinoma co-existing with gastric GIST in the absence of neurofibromatosis-1

    Directory of Open Access Journals (Sweden)

    O'Sullivan Brendan

    2009-02-01

    Full Text Available Abstract Background Gastrointestinal stromal tumours (GIST frequently occur in patients with neurofibromatosis type 1 (NF-1. It has been reported that GIST may co-exist with pancreatic endocrine tumors but this has only been in association with NF-1. Case presentation A 76 year old woman presented with a 12 month history of hypoglycaemia symptoms. Abdominal CT scan demonstrated a 13 mm insulinoma localized in the tail of her pancreas. She was commenced on diazoxide and later underwent surgery for enucleation of insulinoma when a small ( Conclusion This is the first case report of a pancreatic insulinoma co-existing with a GIST in a patient without NF-1. In addition, we make the first report of rapidly growing cystic GIST recurrence following resection of a primary GIST tumour.

  11. Cyclin H expression is increased in GIST with very-high risk of malignancy

    International Nuclear Information System (INIS)

    Dorn, Julian; Spatz, Hanno; Schmieder, Michael; Barth, Thomas FE; Blatz, Annette; Henne-Bruns, Doris; Knippschild, Uwe; Kramer, Klaus

    2010-01-01

    Risk estimation of gastrointestinal stromal tumours (GIST) is based on tumour size and mitotic rate according to the National Institutes of Health consensus classification. The indication for adjuvant treatment of patients with high risk GIST after R 0 resection with small molecule inhibitors is still a controversial issue, since these patients represent a highly heterogeneous population. Therefore, additional prognostic indicators are needed. Here, we evaluated the prognostic value of cyclin H expression in GIST. In order to identify prognostic factors of GIST we evaluated a single centre cohort of ninety-five GIST patients. First, GISTs were classified with regard to tumour size, mitotic rate and localisation according to the NIH consensus and to three additional suggested risk classifications. Second, Cyclin H expression was analysed. Of ninety-five patients with GIST (53 female/42 male; median age: 66.78a; range 17-94a) risk classification revealed: 42% high risk, 20% intermediate risk, 23% low risk and 15% very low risk GIST. In patients with high risk GIST, the expression of cyclin H was highly predictive for reduced disease-specific survival (p = 0.038). A combination of cyclin H expression level and high risk classification yielded the strongest prognostic indicator for disease-specific and disease-free survival (p ≤ 0.001). Moreover, in patients with tumour recurrence and/or metastases, cyclin H positivity was significantly associated with reduced disease-specific survival (p = 0.016) regardless of risk-classification. Our data suggest that, in addition to high risk classification, cyclin H expression might be an indicator for 'very-high risk' GIST

  12. Implicit and explicit forgetting: when is gist remembered?

    Science.gov (United States)

    Dorfman, J; Mandler, G

    1994-08-01

    Recognition (YES/NO) and stem completion (cued: complete with a word from the list; and uncued: complete with the first word that comes to mind) were tested following either semantic or non-semantic processing of a categorized input list. Item/instance information was tested by contrasting target items from the input list with new items that were categorically related to them; gist/categorical information was tested by comparing target items semantically related to the input items with unrelated new items. For both recognition and stem completion, regardless of initial processing condition, item information decayed rapidly over a period of one week. Gist information was maintained over the same period when initial processing was semantic but only in the cued condition for completion. These results are discussed in terms of dual process theory, which postulates activation/integration of a representation as primarily relevant to implicit item information and elaboration of a representation as mainly relevant to semantic (i.e. categorical) information.

  13. Imagining a Stata / Python Combination

    Science.gov (United States)

    Fiedler, James

    2012-01-01

    There are occasions when a task is difficult in Stata, but fairly easy in a more general programming language. Python is a popular language for a range of uses. It is easy to use, has many high ]quality packages, and programs can be written relatively quickly. Is there any advantage in combining Stata and Python within a single interface? Stata already offers support for user-written programs, which allow extensive control over calculations, but somewhat less control over graphics. Also, except for specifying output, the user has minimal programmatic control over the user interface. Python can be used in a way that allows more control over the interface and graphics, and in so doing provide a roundabout method for satisfying some user requests (e.g., transparency levels in graphics and the ability to clear the results window). My talk will explore these ideas, present a possible method for combining Stata and Python, and give examples to demonstrate how this combination might be useful.

  14. Python pocket reference, version 2.4

    CERN Document Server

    Lutz, Mark

    2005-01-01

    Python is optimized for quality, productivity, portability, and integration. Hundreds of thousands of Python developers around the world rely on Python for general-purpose tasks, Internet scripting, systems programming, user interfaces, and product customization. Available on all major computing platforms, including commercial versions of Unix, Linux, Windows, and Mac OS X, Python is portable, powerful and remarkable easy to use. With its convenient, quick-reference format, Python Pocket Reference, 3rd Edition is the perfect on-the-job reference. More importantly, it's now been refreshed

  15. OMPC: an Open-Source MATLAB-to-Python Compiler.

    Science.gov (United States)

    Jurica, Peter; van Leeuwen, Cees

    2009-01-01

    Free access to scientific information facilitates scientific progress. Open-access scientific journals are a first step in this direction; a further step is to make auxiliary and supplementary materials that accompany scientific publications, such as methodological procedures and data-analysis tools, open and accessible to the scientific community. To this purpose it is instrumental to establish a software base, which will grow toward a comprehensive free and open-source language of technical and scientific computing. Endeavors in this direction are met with an important obstacle. MATLAB((R)), the predominant computation tool in many fields of research, is a closed-source commercial product. To facilitate the transition to an open computation platform, we propose Open-source MATLAB((R))-to-Python Compiler (OMPC), a platform that uses syntax adaptation and emulation to allow transparent import of existing MATLAB((R)) functions into Python programs. The imported MATLAB((R)) modules will run independently of MATLAB((R)), relying on Python's numerical and scientific libraries. Python offers a stable and mature open source platform that, in many respects, surpasses commonly used, expensive commercial closed source packages. The proposed software will therefore facilitate the transparent transition towards a free and general open-source lingua franca for scientific computation, while enabling access to the existing methods and algorithms of technical computing already available in MATLAB((R)). OMPC is available at http://ompc.juricap.com.

  16. Strike kinematics and performance in juvenile ball pythons (Python regius).

    Science.gov (United States)

    Ryerson, William G; Tan, Weimin

    2017-08-01

    The rapid strike of snakes has interested researchers for decades. Although most work has focused on the strike performance of vipers, recent work has shown that other snakes outside of the Viperidae can strike with the same velocities and accelerations. However, to date all of these examples focus on performance in adult snakes. Here, we use high-speed video to measure the strike kinematics and performance of 10 juvenile (pythons, Python regius. We find that juvenile P. regius strike at levels comparable to larger snakes, but with shorter durations and over shorter distances. We conclude that the juvenile P. regius maintain performance likely through manipulation of the axial musculature and accompanying elastic tissues, and that this is a first step to understanding ontogenetic changes in behavior and a potential avenue for understanding how captivity may also impact behavior. © 2017 Wiley Periodicals, Inc.

  17. VPython: Python plus Animations in Stereo 3D

    Science.gov (United States)

    Sherwood, Bruce

    2004-03-01

    Python is a modern object-oriented programming language. VPython (http://vpython.org) is a combination of Python (http://python.org), the Numeric module from LLNL (http://www.pfdubois.com/numpy), and the Visual module created by David Scherer, all of which have been under continuous development as open source projects. VPython makes it easy to write programs that generate real-time, navigable 3D animations. The Visual module includes a set of 3D objects (sphere, cylinder, arrow, etc.), tools for creating other shapes, and support for vector algebra. The 3D renderer runs in a parallel thread, and animations are produced as a side effect of computations, freeing the programmer to concentrate on the physics. Applications include educational and research visualization. In the Fall of 2003 Hugh Fisher at the Australian National University, John Zelle at Wartburg College, and I contributed to a new stereo capability of VPython. By adding a single statement to an existing VPython program, animations can be viewed in true stereo 3D. One can choose several modes: active shutter glasses, passive polarized glasses, or colored glasses (e.g. red-cyan). The talk will demonstrate the new stereo capability and discuss the pros and cons of various schemes for display of stereo 3D for a large audience. Supported in part by NSF grant DUE-0237132.

  18. Racing with friends: Resistance to peer influence, gist and specific risk beliefs.

    Science.gov (United States)

    Mirman, Jessica H; Curry, Allison E

    2016-11-01

    Studies assessing young drivers' risk appraisals with their driving behavior have shown both positive and inverse associations, possibly due to differences in survey items that cue gist appraisals about risk (i.e., beliefs that are focused on meaning) or specific appraisals (i.e., beliefs that are focused on discrete instances). Prior research has indicated that gist-based reasoning is protective against engaging in risk behavior and that use of gist appraisals increases with development. Additionally, although much of adolescents' risk-taking occurs in groups, almost no research examines how adolescents' resistance to peer influence may relate to their specific and gist beliefs about socially-bound risk behavior, as well as their future engagement in such behavior. One hundred and thirty-two adolescent drivers participated in a prospective self-report study on racing behavior. Surveys measured specific and gist risk appraisals, resistance to peer influence, and racing behavior at two time points three months apart. We hypothesized that stronger specific appraisals would be associated with greater likelihood of racing, and stronger gist appraisals would be protective. Further, we hypothesized that resistance to peer influence would be positively associated with gist appraisals and negatively associated with specific risk appraisals; and would also be inversely associate with racing. Specific risk appraisals and gist appraisals were predictive of racing behavior as hypothesized. Resistance to peer influence did not predict racing, but was associated with each type of risk appraisal as predicted at Time 1, although the association between specific risk and resistance to peer influence was non-significant at the second time point. Gist beliefs and the ability to resist influence from friends might be indicative of an underlying strength of one's own beliefs about the self as a non-risk taking person who stands up for his or her beliefs, which is protective against

  19. Effects of Higher-order Cognitive Strategy Training on Gist Reasoning and Fact Learning in Adolescents

    Directory of Open Access Journals (Sweden)

    Jacquelyn F Gamino

    2010-12-01

    Full Text Available Improving the reasoning skills of adolescents across the United States has become a major concern for educators and scientists who are dedicated to identifying evidence-based protocols to improve student outcome. This small sample randomized, control pilot study sought to determine the efficacy of higher-order cognitive training on gist-reasoning and fact-learning in an inner-city public middle school. The study compared gist-reasoning and fact-learning performances after training in a smaller sample when tested in Spanish, many of the students’ native language, versus English. The 54 eighth grade students who participated in this pilot study were enrolled in an urban middle school, predominantly from lower socio-economic status families, and were primarily of minority descent. The students were randomized into one of three groups, one that learned cognitive strategies promoting abstraction of meaning, a group that learned rote memory strategies, or a control group to ascertain the impact of each program on gist-reasoning and fact-learning from text-based information. We found that the students who had cognitive strategy instruction that entailed abstraction of meaning significantly improved their gist-reasoning and fact-learning ability. The students who learned rote memory strategies significantly improved their fact-learning scores from a text but not gist-reasoning ability. The control group showed no significant change in either gist-reasoning or fact-learning ability. A trend toward significant improvement in overall reading scores for the group that learned to abstract meaning as well as a significant correlation between gist-reasoning ability and the critical thinking on a state-mandated standardized reading test was also found. There were no significant differences between English and Spanish performance of gist reasoning and fact learning. Our findings suggest that teaching higher-order cognitive strategies facilitates gist

  20. Learning scientific programming with Python

    CERN Document Server

    Hill, Christian

    2015-01-01

    Learn to master basic programming tasks from scratch with real-life scientifically relevant examples and solutions drawn from both science and engineering. Students and researchers at all levels are increasingly turning to the powerful Python programming language as an alternative to commercial packages and this fast-paced introduction moves from the basics to advanced concepts in one complete volume, enabling readers to quickly gain proficiency. Beginning with general programming concepts such as loops and functions within the core Python 3 language, and moving onto the NumPy, SciPy and Matplotlib libraries for numerical programming and data visualisation, this textbook also discusses the use of IPython notebooks to build rich-media, shareable documents for scientific analysis. Including a final chapter introducing challenging topics such as floating-point precision and algorithm stability, and with extensive online resources to support advanced study, this textbook represents a targeted package for students...

  1. Beyond the GIST: Mesenchymal Tumors of the Stomach

    Science.gov (United States)

    Menias, Christine O.; Gaballah, Ayman H.; Shroff, Stuti; Taggart, Melissa W.; Garg, Naveen; Elsayes, Khaled M.

    2013-01-01

    Intramural gastric masses arise in the wall of the stomach (generally within the submucosa or muscularis propria), often with intact overlying mucosa. These tumors are typically mesenchymal in origin and have overlapping radiologic appearances. A combination of features such as location, attenuation, enhancement, and growth pattern may suggest one diagnosis over another. Gastrointestinal stromal tumors (GISTs) account for the majority of intramural tumors and can vary widely in appearance, from small intraluminal lesions to exophytic masses that protrude into the peritoneal cavity, commonly with areas of hemorrhage or necrosis. A well-circumscribed mass measuring −70 to −120 HU is a lipoma. Leiomyomas usually manifest as low-attenuation masses at the gastric cardia. Homogeneous attenuation is a noteworthy characteristic of schwannomas, particularly for larger lesions that might otherwise be mistaken for GISTs. A hypervascular mass in the antrum is a common manifestation of glomus tumors. Hemangiomas are also hypervascular but often manifest in childhood. Inflammatory fibroid polyps usually arise as a polypoid mass in the antrum. Inflammatory myofibroblastic tumors are infiltrative neoplasms with a propensity for local recurrence. Plexiform fibromyxomas are rare, usually antral tumors. Carcinoid tumors are epithelial in origin, but often submucosal in location, and therefore should be distinguished from other intramural lesions. Multiple carcinoid tumors are associated with hypergastrinemia, either in the setting of chronic atrophic gastritis or Zollinger-Ellison syndrome. Sporadic solitary carcinoid tumors not associated with hypergastrinemia have a higher rate of metastasis. Histopathologic analysis, including immunohistochemistry, is usually required for diagnosis of intramural masses. © RSNA, 2013 PMID:24108557

  2. Counting Word Frequencies with Python

    Directory of Open Access Journals (Sweden)

    William J. Turkel

    2012-07-01

    Full Text Available Your list is now clean enough that you can begin analyzing its contents in meaningful ways. Counting the frequency of specific words in the list can provide illustrative data. Python has an easy way to count frequencies, but it requires the use of a new type of variable: the dictionary. Before you begin working with a dictionary, consider the processes used to calculate frequencies in a list.

  3. Flexible Environmental Modeling with Python and Open - GIS

    Science.gov (United States)

    Pryet, Alexandre; Atteia, Olivier; Delottier, Hugo; Cousquer, Yohann

    2015-04-01

    Numerical modeling now represents a prominent task of environmental studies. During the last decades, numerous commercial programs have been made available to environmental modelers. These software applications offer user-friendly graphical user interfaces that allow an efficient management of many case studies. However, they suffer from a lack of flexibility and closed-source policies impede source code reviewing and enhancement for original studies. Advanced modeling studies require flexible tools capable of managing thousands of model runs for parameter optimization, uncertainty and sensitivity analysis. In addition, there is a growing need for the coupling of various numerical models associating, for instance, groundwater flow modeling to multi-species geochemical reactions. Researchers have produced hundreds of open-source powerful command line programs. However, there is a need for a flexible graphical user interface allowing an efficient processing of geospatial data that comes along any environmental study. Here, we present the advantages of using the free and open-source Qgis platform and the Python scripting language for conducting environmental modeling studies. The interactive graphical user interface is first used for the visualization and pre-processing of input geospatial datasets. Python scripting language is then employed for further input data processing, call to one or several models, and post-processing of model outputs. Model results are eventually sent back to the GIS program, processed and visualized. This approach combines the advantages of interactive graphical interfaces and the flexibility of Python scripting language for data processing and model calls. The numerous python modules available facilitate geospatial data processing and numerical analysis of model outputs. Once input data has been prepared with the graphical user interface, models may be run thousands of times from the command line with sequential or parallel calls. We

  4. galpy: A python LIBRARY FOR GALACTIC DYNAMICS

    International Nuclear Information System (INIS)

    Bovy, Jo

    2015-01-01

    I describe the design, implementation, and usage of galpy, a python package for galactic-dynamics calculations. At its core, galpy consists of a general framework for representing galactic potentials both in python and in C (for accelerated computations); galpy functions, objects, and methods can generally take arbitrary combinations of these as arguments. Numerical orbit integration is supported with a variety of Runge-Kutta-type and symplectic integrators. For planar orbits, integration of the phase-space volume is also possible. galpy supports the calculation of action-angle coordinates and orbital frequencies for a given phase-space point for general spherical potentials, using state-of-the-art numerical approximations for axisymmetric potentials, and making use of a recent general approximation for any static potential. A number of different distribution functions (DFs) are also included in the current release; currently, these consist of two-dimensional axisymmetric and non-axisymmetric disk DFs, a three-dimensional disk DF, and a DF framework for tidal streams. I provide several examples to illustrate the use of the code. I present a simple model for the Milky Way's gravitational potential consistent with the latest observations. I also numerically calculate the Oort functions for different tracer populations of stars and compare them to a new analytical approximation. Additionally, I characterize the response of a kinematically warm disk to an elliptical m = 2 perturbation in detail. Overall, galpy consists of about 54,000 lines, including 23,000 lines of code in the module, 11,000 lines of test code, and about 20,000 lines of documentation. The test suite covers 99.6% of the code. galpy is available at http://github.com/jobovy/galpy with extensive documentation available at http://galpy.readthedocs.org/en/latest

  5. Implementing Python for DrRacket

    OpenAIRE

    Ramos, Pedro Palma; Leitão, António Menezes

    2014-01-01

    The Python programming language is becoming increasingly popular in a variety of areas, most notably among novice programmers. On the other hand, Racket and other Scheme dialects are considered excellent vehicles for introducing Computer Science concepts. This paper presents an implementation of Python for Racket and the DrRacket IDE. This allows Python programmers to use Racket libraries and vice versa, as well as using DrRacket's pedagogic features. In particular, it allows architects and d...

  6. Creating and Viewing HTML Files with Python

    Directory of Open Access Journals (Sweden)

    William J. Turkel

    2012-07-01

    Full Text Available This lesson uses Python to create and view an HTML file. If you write programs that output HTML, you can use any browser to look at your results. This is especially convenient if your program is automatically creating hyperlinks or graphic entities like charts and diagrams. Here you will learn how to create HTML files with Python scripts, and how to use Python to automatically open an HTML file in Firefox.

  7. Programming ArcGIS with Python cookbook

    CERN Document Server

    Pimpler, Eric

    2015-01-01

    Programming ArcGIS with Python Cookbook, Second Edition, is written for GIS professionals who wish to revolutionize their ArcGIS workflow with Python. Whether you are new to ArcGIS or a seasoned professional, you almost certainly spend time each day performing various geoprocessing tasks. This book will teach you how to use the Python programming language to automate these geoprocessing tasks and make you a more efficient and effective GIS professional.

  8. Creating and Viewing HTML Files with Python

    OpenAIRE

    William J. Turkel; Adam Crymble

    2012-01-01

    This lesson uses Python to create and view an HTML file. If you write programs that output HTML, you can use any browser to look at your results. This is especially convenient if your program is automatically creating hyperlinks or graphic entities like charts and diagrams. Here you will learn how to create HTML files with Python scripts, and how to use Python to automatically open an HTML file in Firefox.

  9. RKAS loodab müügist saada 400 miljonit / Anne Oja

    Index Scriptorium Estoniae

    Oja, Anne, 1970-

    2008-01-01

    Riigi Kinnisvara AS on kuulutanud enampakkumise välja neljale hoonestatud kinnistule, augustikuu jooksul peaks lisanduma veel seitse objekti. Kokku loodab RKAS müügist saada pisut üle 409 miljoni krooni

  10. Python for Unix and Linux system administration

    CERN Document Server

    Gift, Noah

    2007-01-01

    Python is an ideal language for solving problems, especially in Linux and Unix networks. With this pragmatic book, administrators can review various tasks that often occur in the management of these systems, and learn how Python can provide a more efficient and less painful way to handle them. Each chapter in Python for Unix and Linux System Administration presents a particular administrative issue, such as concurrency or data backup, and presents Python solutions through hands-on examples. Once you finish this book, you'll be able to develop your own set of command-line utilities with Pytho

  11. Enhanced OpenModelica Python Interface

    OpenAIRE

    Bajracharya, Sudeep

    2016-01-01

    OMPython is a Python library for OpenModelica, which provides a Python interface to OpenModelica. This thesis significantly improves OMPython by an enhanced, more powerful and easier to use API. It presents how a user can use the Python interface to simulate and access Modelica models using Python objects. The enhanced OMPython includes the list of functions that have been implemented such as getXXXNames(), getXXXValues(), setXXXValues(), getXXXOptions(), setXXXOptions(), and simulate(), etc....

  12. Recommendations for diagnostics and therapy of gastrointestinal stromal tumors (GIST) in 2010

    International Nuclear Information System (INIS)

    Rutkowski, P.; Kulig, J.; Osuch, C.

    2011-01-01

    Gastrointestinal stromal tumors (GIST) are the most common mesenchymal tumors of the gastrointestinal tract. Over the last years advances in the understanding of the molecular mechanisms of GIST pathogenesis have resulted in the emerging of GIST as a distinct sarcoma entity. This paper presents the guidelines for diagnostics and therapy of these tumors based on scientific research and experts' experience, These guidelines are commonly accepted and worthy of recommendation. Overexpression of the KIT receptor, as a consequence of mutation of the KIT protooncogene is highly specific for GIST and enables immunohistochemical detection staining (CD117) in tumor specimens. It is the most important criterion in microscopic diagnostics and for indicating treatment with small-molecule tyrosine kinase inhibitors. Sending material for molecular analysis is strongly recommended (for KIT and PDGFRA genotyping). Radical surgery is still the mainstay treatment for primary, localized, resectable GISTs, although although a significant ratio of patients after potentially curative operations develop recurrent or metastatic disease. In inoperable/metastatic lesions the treatment of choice is a tyrosine kinase inhibitor - imatynib mesylate - the first effective systemic therapy in advanced CD117(+) GIST. The recommended initial dose should be 400 mg daily (800 mg for exon 9 KIT mutants). Treatment monitoring should be based on serial computed tomography imaging of the abdominal cavity with the assessment of changes of tumor size and density. In case of disease progression the increase of imatynib dose to 800 mg daily is recommended and - if progression maintains - sunitinib in the initial dose of 50 mg daily should be introduced. Clinical trials evaluating the role of surgery combined with imatynib and the efficacy of other molecular targeted drugs in resistant cases are ongoing. Existing data indicate the beneficial role of adjuvant imatynib therapy in terms of relapse-free survival

  13. Computed tomography of ball pythons (Python regius) in curled recumbency.

    Science.gov (United States)

    Hedley, Joanna; Eatwell, Kevin; Schwarz, Tobias

    2014-01-01

    Anesthesia and tube restraint methods are often required for computed tomography (CT) of snakes due to their natural tendency to curl up. However, these restraint methods may cause animal stress. The aim of this study was to determine whether the CT appearance of the lungs differs for ball pythons in a curled position vs. tube restraint. Whole body CT was performed on ten clinically healthy ball pythons, first in curled and then in straight positions restrained in a tube. Curved multiplanar reformatted (MPR) lung images from curled position scans were compared with standard MPR lung images from straight position scans. Lung attenuation and thickness were measured at three locations for each scan. Time for positioning and scanning was 12 ± 5 min shorter for curled snakes compared to tube restraint. Lung parenchyma thickness and attenuation declined from cranial to caudal on both straight and curled position images. Mean lung parenchyma thickness was greater in curled images at locations 1 (P = 0.048) and 3 (P = 0.044). Mean lung parenchyma thickness decreased between location 1 and 2 by 86-87% (straight: curled) and between location 1 and 3 by 51-50% (straight: curled). Mean lung attenuation at location 1 was significantly greater on curled position images than tube restraint images (P = 0.043). Findings indicated that CT evaluation of the lungs is feasible for ball pythons positioned in curled recumbency if curved MPR is available. However, lung parenchyma thickness and attenuation in some locations may vary from those acquired using tube restraint. © 2014 American College of Veterinary Radiology.

  14. MTpy: A Python toolbox for magnetotellurics

    Science.gov (United States)

    Krieger, Lars; Peacock, Jared R.

    2014-11-01

    We present the software package MTpy that allows handling, processing, and imaging of magnetotelluric (MT) data sets. Written in Python, the code is open source, containing sub-packages and modules for various tasks within the standard MT data processing and handling scheme. Besides the independent definition of classes and functions, MTpy provides wrappers and convenience scripts to call standard external data processing and modelling software. In its current state, modules and functions of MTpy work on raw and pre-processed MT data. However, opposite to providing a static compilation of software, we prefer to introduce MTpy as a flexible software toolbox, whose contents can be combined and utilised according to the respective needs of the user. Just as the overall functionality of a mechanical toolbox can be extended by adding new tools, MTpy is a flexible framework, which will be dynamically extended in the future. Furthermore, it can help to unify and extend existing codes and algorithms within the (academic) MT community. In this paper, we introduce the structure and concept of MTpy. Additionally, we show some examples from an everyday work-flow of MT data processing: the generation of standard EDI data files from raw electric (E-) and magnetic flux density (B-) field time series as input, the conversion into MiniSEED data format, as well as the generation of a graphical data representation in the form of a Phase Tensor pseudosection.

  15. Sleep Supports the Slow Abstraction of Gist from Visual Perceptual Memories.

    Science.gov (United States)

    Lutz, Nicolas D; Diekelmann, Susanne; Hinse-Stern, Patricia; Born, Jan; Rauss, Karsten

    2017-02-17

    Sleep benefits the consolidation of individual episodic memories. In the long run, however, it may be more efficient to retain the abstract gist of single, related memories, which can be generalized to similar instances in the future. While episodic memory is enhanced after one night of sleep, effective gist abstraction is thought to require multiple nights. We tested this hypothesis using a visual Deese-Roediger-McDermott paradigm, examining gist abstraction and episodic-like memory consolidation after 20 min, after 10 hours, as well as after one year of retention. While after 10 hours, sleep enhanced episodic-like memory for single items, it did not affect gist abstraction. One year later, however, we found significant gist knowledge only if subjects had slept immediately after encoding, while there was no residual memory for individual items. These findings indicate that sleep after learning strengthens episodic-like memories in the short term and facilitates long-term gist abstraction.

  16. Internationalization and Localization in Python

    CERN Multimedia

    CERN. Geneva

    2016-01-01

    Internationalization and Localization are increasingly important in an interconnected world. Regardless of that, developers tend to treat them as secondary issues, very often choosing to address them properly when it's already too late. The fact that most programming language standard libraries choose to ignore the matter doesn't help either. In this talk we will present some useful Python libraries and tools that can help you internationalize and localize your code with minimal effort. We will also describe some common pitfalls and problems.

  17. [Lecture Games] Python programming game

    OpenAIRE

    Johnsen, Andreas Lyngstad; Ushakov, Georgy

    2011-01-01

    Pythia is a programming game that allows the player to change pieces of theirenvironment through use of the programming language Python. The idea is that thegame could be used as a part of teaching simple programming to first year universitystudents. The game should be fun enough for the students to keep playing, teachenough for it to earn a place as a teaching tool, and it should be usable by allstudents. It should also be possible for a teacher to create their own content for theg...

  18. Python 3 for Absolute Beginners

    CERN Document Server

    Hall, Tim

    2009-01-01

    There are many more people who want to study programming other than aspiring computer scientists with a passing grade in advanced calculus. This guide appeals to your intelligence and ability to solve practical problems, while gently teaching the most recent revision of the programming language Python. You can learn solid software design skills and accomplish practical programming tasks, like extending applications and automating everyday processes, even if you have no programming experience at all. Authors Tim Hall and J-P Stacey use everyday language to decode programming jargon and teach Py

  19. A field test of attractant traps for invasive Burmese pythons (Python molurus bivittatus) in southern Florida

    Science.gov (United States)

    Reed, Robert N.; Hart, Kristen M.; Rodda, Gordon H.; Mazzotti, Frank J.; Snow, Ray W.; Cherkiss, Michael; Rozar, Rondald; Goetz, Scott

    2011-01-01

    Context: Invasive Burmese pythons (Python molurus bivittatus) are established over thousands of square kilometres of southern Florida, USA, and consume a wide range of native vertebrates. Few tools are available to control the python population, and none of the available tools have been validated in the field to assess capture success as a proportion of pythons available to be captured. Aims: Our primary aim was to conduct a trap trial for capturing invasive pythons in an area east of Everglades National Park, where many pythons had been captured in previous years, to assess the efficacy of traps for population control. We also aimed to compare results of visual surveys with trap capture rates, to determine capture rates of non-target species, and to assess capture rates as a proportion of resident pythons in the study area. Methods: We conducted a medium-scale (6053 trap nights) experiment using two types of attractant traps baited with live rats in the Frog Pond area east of Everglades National Park. We also conducted standardised and opportunistic visual surveys in the trapping area. Following the trap trial, the area was disc harrowed to expose pythons and allow calculation of an index of the number of resident pythons. Key results: We captured three pythons and 69 individuals of various rodent, amphibian, and reptile species in traps. Eleven pythons were discovered during disc harrowing operations, as were large numbers of rodents.

  20. On Parallel Software Engineering Education Using Python

    Science.gov (United States)

    Marowka, Ami

    2018-01-01

    Python is gaining popularity in academia as the preferred language to teach novices serial programming. The syntax of Python is clean, easy, and simple to understand. At the same time, it is a high-level programming language that supports multi programming paradigms such as imperative, functional, and object-oriented. Therefore, by default, it is…

  1. Learning selenium testing tools with Python

    CERN Document Server

    Gundecha, Unmesh

    2014-01-01

    If you are a quality testing professional, or a software or web application developer looking to create automation test scripts for your web applications, with an interest in Python, then this is the perfect guide for you. Python developers who need to do Selenium testing need not learn Java, as they can directly use Selenium for testing with this book.

  2. Get the gist? The effects of processing depth on false recognition in short-term and long-term memory

    OpenAIRE

    Flegal, Kristin E.; Reuter-Lorenz, Patricia A.

    2014-01-01

    Gist-based processing has been proposed to account for robust false memories in the converging-associates task. The deep-encoding processes known to enhance verbatim memory also strengthen gist memory and increase distortions of long-term memory (LTM). Recent research has demonstrated that compelling false memory illusions are relatively delay-invariant, also occurring under canonical short-term memory (STM) conditions. To investigate the contributions of gist to false memory at short and lon...

  3. Optics simulations: a Python workshop

    Science.gov (United States)

    Ghalila, H.; Ammar, A.; Varadharajan, S.; Majdi, Y.; Zghal, M.; Lahmar, S.; Lakshminarayanan, V.

    2017-08-01

    Numerical simulations allow teachers and students to indirectly perform sophisticated experiments that cannot be realizable otherwise due to cost and other constraints. During the past few decades there has been an explosion in the development of numerical tools concurrently with open source environments such as Python software. This availability of open source software offers an incredible opportunity for advancing teaching methodologies as well as in research. More specifically it is possible to correlate theoretical knowledge with experimental measurements using "virtual" experiments. We have been working on the development of numerical simulation tools using the Python program package and we have concentrated on geometric and physical optics simulations. The advantage of doing hands-on numerical experiments is that it allows the student learner to be an active participant in the pedagogical/learning process rather than playing a passive role as in the traditional lecture format. Even in laboratory classes because of constraints of space, lack of equipment and often-large numbers of students, many students play a passive role since they work in groups of 3 or more students. Furthermore these new tools help students get a handle on numerical methods as well simulations and impart a "feel" for the physics under investigation.

  4. TEACHING ALGORITHMIZATION AND PROGRAMMING USING PYTHON LANGUAGE

    Directory of Open Access Journals (Sweden)

    M. Lvov

    2014-07-01

    Full Text Available The article describes requirements to educational programming languages and considers the use of Python as the first programming language. The issues of introduction of this programming language into teaching and replacing Pascal by Python are examined. The advantages of such approach are regarded. The comparison of popular programming languages is represented from the point of view of their convenience of use for teaching algorithmization and programming. Python supports lots of programming paradigms: structural, object-oriented, functional, imperative and aspect-oriented, and learning can be started without any preparation. There is one more advantage of the language: all algorithms are written easily and structurally in Python. Therefore, due to all mentioned above, it is possible to affirm that Python pretends to become a decent replacement for educational programming language PASCAL both at schools and on the first courses of higher education establishments.

  5. Initial evaluation of an interactive test of sentence gist recognition.

    Science.gov (United States)

    Tye-Murray, N; Witt, S; Castelloe, J

    1996-12-01

    The laser videodisc-based Sentence Gist Recognition (SGR) test consists of sets of topically related sentences that are cued by short film clips. Clients respond to test items by selecting picture illustrations and may interact with the talker by using repair strategies when they do not recognize a test item. The two experiments, involving 40 and 35 adult subjects, respectively, indicated that the SGR may better predict subjective measures of speechreading and listening performance than more traditional audiologic sentence and nonsense syllable tests. Data from cochlear implant users indicated that the SGR accounted for a greater percentage of the variance for selected items of the Communication Profile for the Hearing-Impaired and the Speechreading Questionnaire for Cochlear-Implant Users than two other audiologic tests. As in previous work, subjects were most apt to ask the talker to repeat an utterance that they did not recognize than to ask the talker to restructure it. It is suggested that the SGR may reflect the interactive nature of conversation and provide a simulated real-world listening and/or speechreading task. The principles underlaying this test are consistent with the development of other computer technologies and concepts, such as compact discinteractive and virtual reality.

  6. User-friendly parallelization of GAUDI applications with Python

    International Nuclear Information System (INIS)

    Mato, Pere; Smith, Eoin

    2010-01-01

    GAUDI is a software framework in C++ used to build event data processing applications using a set of standard components with well-defined interfaces. Simulation, high-level trigger, reconstruction, and analysis programs used by several experiments are developed using GAUDI. These applications can be configured and driven by simple Python scripts. Given the fact that a considerable amount of existing software has been developed using serial methodology, and has existed in some cases for many years, implementation of parallelisation techniques at the framework level may offer a way of exploiting current multi-core technologies to maximize performance and reduce latencies without re-writing thousands/millions of lines of code. In the solution we have developed, the parallelization techniques are introduced to the high level Python scripts which configure and drive the applications, such that the core C++ application code requires no modification, and that end users need make only minimal changes to their scripts. The developed solution leverages from existing generic Python modules that support parallel processing. Naturally, the parallel version of a given program should produce results consistent with its serial execution. The evaluation of several prototypes incorporating various parallelization techniques are presented and discussed.

  7. User-friendly parallelization of GAUDI applications with Python

    Energy Technology Data Exchange (ETDEWEB)

    Mato, Pere; Smith, Eoin, E-mail: pere.mato@cern.c [PH Department, CERN, 1211 Geneva 23 (Switzerland)

    2010-04-01

    GAUDI is a software framework in C++ used to build event data processing applications using a set of standard components with well-defined interfaces. Simulation, high-level trigger, reconstruction, and analysis programs used by several experiments are developed using GAUDI. These applications can be configured and driven by simple Python scripts. Given the fact that a considerable amount of existing software has been developed using serial methodology, and has existed in some cases for many years, implementation of parallelisation techniques at the framework level may offer a way of exploiting current multi-core technologies to maximize performance and reduce latencies without re-writing thousands/millions of lines of code. In the solution we have developed, the parallelization techniques are introduced to the high level Python scripts which configure and drive the applications, such that the core C++ application code requires no modification, and that end users need make only minimal changes to their scripts. The developed solution leverages from existing generic Python modules that support parallel processing. Naturally, the parallel version of a given program should produce results consistent with its serial execution. The evaluation of several prototypes incorporating various parallelization techniques are presented and discussed.

  8. ELLIPT2D: A Flexible Finite Element Code Written Python

    International Nuclear Information System (INIS)

    Pletzer, A.; Mollis, J.C.

    2001-01-01

    The use of the Python scripting language for scientific applications and in particular to solve partial differential equations is explored. It is shown that Python's rich data structure and object-oriented features can be exploited to write programs that are not only significantly more concise than their counter parts written in Fortran, C or C++, but are also numerically efficient. To illustrate this, a two-dimensional finite element code (ELLIPT2D) has been written. ELLIPT2D provides a flexible and easy-to-use framework for solving a large class of second-order elliptic problems. The program allows for structured or unstructured meshes. All functions defining the elliptic operator are user supplied and so are the boundary conditions, which can be of Dirichlet, Neumann or Robbins type. ELLIPT2D makes extensive use of dictionaries (hash tables) as a way to represent sparse matrices.Other key features of the Python language that have been widely used include: operator over loading, error handling, array slicing, and the Tkinter module for building graphical use interfaces. As an example of the utility of ELLIPT2D, a nonlinear solution of the Grad-Shafranov equation is computed using a Newton iterative scheme. A second application focuses on a solution of the toroidal Laplace equation coupled to a magnetohydrodynamic stability code, a problem arising in the context of magnetic fusion research

  9. Development of hemipenes in the ball python snake Python regius.

    Science.gov (United States)

    Leal, Francisca; Cohn, Martin J

    2015-01-01

    Within amniotes, external copulatory organs have undergone extensive morphological diversification. One of the most extreme examples is squamate (lizards and snakes) hemipenes, which are paired copulatory organs that extend from the lateral margins of the cloaca. Here, we describe the development of hemipenes in a basal snake, the ball python (Python regius). Snake hemipenes arise as a pair of lateral swellings on either side of the caudal part of the cloaca, and these paired outgrowths persist to form the left and right hemipenes. In non-squamate amniotes, external genitalia form from paired swellings that arise on the anterior side of the cloaca, which then fuse medially to form a single genital tubercle, the anlagen of the penis or clitoris. Whereas in non-squamate amniotes, Sonic hedgehog (Shh)-expressing cells of the cloacal endoderm form the urethral or sulcus epithelium and are required for phallus outgrowth, the hemipenes of squamates lack an endodermal contribution, and the sulcus does not express Shh. Thus, snake hemipenes differ from the genital tubercles of non-squamate amniotes both in their embryonic origins and in at least part of patterning mechanisms, which raises the possibility that hemipenes may not be direct homologs of the unpaired amniote penis. Nonetheless, we find that some developmental genes show similar expression patterns in snake hemipenes buds and non-squamate genital tubercles, suggesting that homologous developmental mechanisms are involved in aspects of external genital development across amniotes, even when these structures may have different developmental origins and may have arisen independently during evolution.

  10. Python : the holy grail of programming

    CERN Multimedia

    2006-01-01

    From 3 to 5 July, CERN hosted the fifth EuroPython Conference bringing together 300 users of Python, an open source programming language, which is more and more appreciated, especially at CERN. The local organisation of Euopython 2006 was managed by a small team from the PH/SFT group. Above, David Quarrie presenting the use of Python in Atlas analyses. If you visited Building 40 at the beginning of July, you may have come across a long orange and yellow snake. This had no relation with the Football World Championship! It was just the mascot of the fifth EuroPython Conference that saw almost 300 software developers, designers and business people gathering at CERN for the annual meeting of the European Python community. Python is an open source programming language actively used in industry and academia for a wide variety of purposes. As CERN decided to host this conference, it is perhaps not surprising to learn that Python is increasingly used in our Laboratory in both computing and physics application domai...

  11. Pyomo optimization modeling in Python

    CERN Document Server

    Hart, William E; Watson, Jean-Paul; Woodruff, David L; Hackebeil, Gabriel A; Nicholson, Bethany L; Siirola, John D

    2017-01-01

    This book provides a complete and comprehensive guide to Pyomo (Python Optimization Modeling Objects) for beginning and advanced modelers, including students at the undergraduate and graduate levels, academic researchers, and practitioners. Using many examples to illustrate the different techniques useful for formulating models, this text beautifully elucidates the breadth of modeling capabilities that are supported by Pyomo and its handling of complex real-world applications. This second edition provides an expanded presentation of Pyomo’s modeling capabilities, providing a broader description of the software that will enable the user to develop and optimize models. Introductory chapters have been revised to extend tutorials; chapters that discuss advanced features now include the new functionalities added to Pyomo since the first edition including generalized disjunctive programming, mathematical programming with equilibrium constraints, and bilevel programming. Pyomo is an open source software package fo...

  12. Test-beam with Python

    CERN Multimedia

    CERN. Geneva

    2016-01-01

    The talk will show the current implementation of the software tool developed by Silab (Bonn) and Oxford University to analyze test beam data with Mimosa telescope. Data collected from the telescope are merged with hits recorded on pixel detectors with a FE-I4 chips, the official read-out chip of the Atlas Pixel Detector. The software tool used to collect data, pyBAR, is developed with Python as well. The test-beam analysis tool parses the data-sets, recreates the tracks, aligns the telescope planes and allows to investigate the detectors spatial properties with high resolution. This has just allowed to study the properties of brand new devices that stand as possible candidate to replace the current pixel detector in Atlas.

  13. Introducing Python tools for magnetotellurics: MTpy

    Science.gov (United States)

    Krieger, L.; Peacock, J.; Inverarity, K.; Thiel, S.; Robertson, K.

    2013-12-01

    Within the framework of geophysical exploration techniques, the magnetotelluric method (MT) is relatively immature: It is still not as widely spread as other geophysical methods like seismology, and its processing schemes and data formats are not thoroughly standardized. As a result, the file handling and processing software within the academic community is mainly based on a loose collection of codes, which are sometimes highly adapted to the respective local specifications. Although tools for the estimation of the frequency dependent MT transfer function, as well as inversion and modelling codes, are available, the standards and software for handling MT data are generally not unified throughout the community. To overcome problems that arise from missing standards, and to simplify the general handling of MT data, we have developed the software package "MTpy", which allows the handling, processing, and imaging of magnetotelluric data sets. It is written in Python and the code is open-source. The setup of this package follows the modular approach of successful software packages like GMT or Obspy. It contains sub-packages and modules for various tasks within the standard MT data processing and handling scheme. Besides pure Python classes and functions, MTpy provides wrappers and convenience scripts to call external software, e.g. modelling and inversion codes. Even though still under development, MTpy already contains ca. 250 functions that work on raw and preprocessed data. However, as our aim is not to produce a static collection of software, we rather introduce MTpy as a flexible framework, which will be dynamically extended in the future. It then has the potential to help standardise processing procedures and at same time be a versatile supplement for existing algorithms. We introduce the concept and structure of MTpy, and we illustrate the workflow of MT data processing utilising MTpy on an example data set collected over a geothermal exploration site in South

  14. Beginning programming with Python for dummies

    CERN Document Server

    Mueller, John Paul

    2014-01-01

    Learn Python-the fun and easy way-and get in the programming game today! Python is one of the fastest growing programming languages, and no wonder. It requires three to five times less time than developing in Java, is a great building block for learning both procedural and object-oriented programming concepts, and is an ideal language for data analysis. Beginning Programming with Python For Dummies is the perfect guide to this dynamic and powerful programming language-even if you''ve never coded before! Author John Paul Mueller draws on his vast programming knowledge and experience to guide yo

  15. Pyception: Teaching Python with a Serious Game

    OpenAIRE

    Laskemoen, Kristian

    2013-01-01

    This thesis set out to study how an online serious game could affect users? motivation on learning Python. One of the projects core goals is to find out whether learning Python is more motivating when having an effortless start through a web based game. A second goal is to find out if Python as a programming language are well suited for a serious game.After the development and implementation of the game, it was performed a user experiment in order to receive feedback. Data from this user expe...

  16. Python based high-level synthesis compiler

    Science.gov (United States)

    Cieszewski, Radosław; Pozniak, Krzysztof; Romaniuk, Ryszard

    2014-11-01

    This paper presents a python based High-Level synthesis (HLS) compiler. The compiler interprets an algorithmic description of a desired behavior written in Python and map it to VHDL. FPGA combines many benefits of both software and ASIC implementations. Like software, the mapped circuit is flexible, and can be reconfigured over the lifetime of the system. FPGAs therefore have the potential to achieve far greater performance than software as a result of bypassing the fetch-decode-execute operations of traditional processors, and possibly exploiting a greater level of parallelism. Creating parallel programs implemented in FPGAs is not trivial. This article describes design, implementation and first results of created Python based compiler.

  17. Building probabilistic graphical models with Python

    CERN Document Server

    Karkera, Kiran R

    2014-01-01

    This is a short, practical guide that allows data scientists to understand the concepts of Graphical models and enables them to try them out using small Python code snippets, without being too mathematically complicated. If you are a data scientist who knows about machine learning and want to enhance your knowledge of graphical models, such as Bayes network, in order to use them to solve real-world problems using Python libraries, this book is for you. This book is intended for those who have some Python and machine learning experience, or are exploring the machine learning field.

  18. TelluSim: A Python Plug-in Based Computational Framework for Spatially Distributed Environmental and Earth Sciences Modelling

    Science.gov (United States)

    Willgoose, G. R.

    2008-12-01

    TelluSim is a python-based computational framework for integrating and manipulating modules written in a variety of computer languages. TelluSim consists of a main program that dynamically, at run time, assembles a series of modules. These modules can be written in any language that can be accessed by Python. Currently we have modules in Fortran and Python, with C to be supported soon. New modules are incorporated as plug-ins like done for a browser or Photoshop, simply by copying the module binary into a plug-in directory. TelluSim automatically generates a GUI for parameter and state I/O, and automatically creates the intermodule communication mechanisms needed for the computations. A decision to use Python was arrived at after detailed trials using other languages including C, Tcl/Tk and Fortran. An important aspect of the design of TelluSim was to minimise the overhead in interfacing the modules with TelluSim, and minimise any requirement for recoding of existing software, so eliminating a major disadvantage of more complex frameworks (e.g. JAMS, openMI). Several significant Fortran codes developed by the author have been incorporated as part of the design process and as proof of concept. In particular the SIBERIA landform evolution code (a high performance F90 code, including parallel capability) has been broken up into a series of TelluSim modules, so that the SIBERIA now consists of a Python script of 20 lines. These 20 lines assemble and run the underlying modules (about 50,000 lines of Fortran code). The presentation will discuss in more detail the design of TelluSim, and our experiences of the advantages and disadvantages of using Python relative to other approaches.

  19. Analyzing rasters, vectors and time series using new Python interfaces in GRASS GIS 7

    Science.gov (United States)

    Petras, Vaclav; Petrasova, Anna; Chemin, Yann; Zambelli, Pietro; Landa, Martin; Gebbert, Sören; Neteler, Markus; Löwe, Peter

    2015-04-01

    GRASS GIS 7 is a free and open source GIS software developed and used by many scientists (Neteler et al., 2012). While some users of GRASS GIS prefer its graphical user interface, significant part of the scientific community takes advantage of various scripting and programing interfaces offered by GRASS GIS to develop new models and algorithms. Here we will present different interfaces added to GRASS GIS 7 and available in Python, a popular programming language and environment in geosciences. These Python interfaces are designed to satisfy the needs of scientists and programmers under various circumstances. PyGRASS (Zambelli et al., 2013) is a new object-oriented interface to GRASS GIS modules and libraries. The GRASS GIS libraries are implemented in C to ensure maximum performance and the PyGRASS interface provides an intuitive, pythonic access to their functionality. GRASS GIS Python scripting library is another way of accessing GRASS GIS modules. It combines the simplicity of Bash and the efficiency of the Python syntax. When full access to all low-level and advanced functions and structures from GRASS GIS library is required, Python programmers can use an interface based on the Python ctypes package. Ctypes interface provides complete, direct access to all functionality as it would be available to C programmers. GRASS GIS provides specialized Python library for managing and analyzing spatio-temporal data (Gebbert and Pebesma, 2014). The temporal library introduces space time datasets representing time series of raster, 3D raster or vector maps and allows users to combine various spatio-temporal operations including queries, aggregation, sampling or the analysis of spatio-temporal topology. We will also discuss the advantages of implementing scientific algorithm as a GRASS GIS module and we will show how to write such module in Python. To facilitate the development of the module, GRASS GIS provides a Python library for testing (Petras and Gebbert, 2014) which

  20. Training course "Porting code from Matlab to Python"

    OpenAIRE

    Diaz, Sandra; Klijn, Wouter; Deepu, Rajalekshmi; Peyser, Alexander; Oden, Lena

    2017-01-01

    Python is becoming a popular language for scientific applications and is increasingly used for high performance computing. In this course we want to introduce Matlab programmers to the usage of Python. Matlab and Python have a comparable language philosophy, but Python can offer better performance using its optimizations and parallelization interfaces. Python also increases the portability and flexibility (interaction with other open source and proprietary software packages) of solutions, and...

  1. Viisnurk saab üksuste müügist heal juhul 170 miljonit krooni / Annika Matson

    Index Scriptorium Estoniae

    Matson, Annika, 1976-

    2004-01-01

    AS Viisnurk müüb ehitus- ja spordikaupade divisjonid, liimpuiduvabriku ning vabrikualuse maa. Viisnurga endine tegevjuht Meelis Kukk ning konkureerivate ettevõtete esindajad prognoosivad müügist saadavat tulu. Diagramm: Suurimat tulu loodetakse kasumis ehitusmaterjalide tootmise müügist. Vt. samas: Adrenaliini armastav investor võiks Viisnurga aktsiat osta

  2. Python forensics a workbench for inventing and sharing digital forensic technology

    CERN Document Server

    Hosmer, Chet

    2014-01-01

    Python Forensics provides many never-before-published proven forensic modules, libraries, and solutions that can be used right out of the box. In addition, detailed instruction and documentation provided with the code samples will allow even novice Python programmers to add their own unique twists or use the models presented to build new solutions. Rapid development of new cybercrime investigation tools is an essential ingredient in virtually every case and environment. Whether you are performing post-mortem investigation, executing live triage, extracting evidence from mobile devices or cl

  3. Laparoscopic total gastrectomy for a giant gastrointestinal stromal tumor (GIST) with acute massive gastrointestinal bleeding: a case report.

    Science.gov (United States)

    Kermansaravi, Mohammad; Rokhgireh, Samaneh; Darabi, Sattar; Pazouki, Abdolreza

    2017-09-01

    Gastrointestinal stromal tumors (GISTs) include 80% of gastrointestinal mesenchymal tumors that originate from interstitial Cajal cells and include 0.1-3% of GI malignancies, and the stomach is the most commonly involved organ. The only potentially curative treatment is surgical resection with clear margins. Although laparoscopic resection of small GISTs is a standard treatment, there is controversy about laparoscopic surgical resection for large and giant GISTs. A 52-year-old woman, a known case of large GIST of the stomach that was under neoadjuvant imatinib therapy, was admitted to the emergency department due to acute massive gastrointestinal bleeding (GIB). The patient underwent laparoscopic total gastrectomy and received adjuvant imatinib after surgery. Laparoscopic resection is a safe and feasible method in large and giant GISTs with oncologic and long-term outcomes comparable to open surgery, and with better short-term outcomes.

  4. A Python Library for Historical Comparative Linguistics

    OpenAIRE

    Moran , Steven; List , Johann-Mattis

    2012-01-01

    Awarded best paper award; International audience; In this talk we will discuss a European Research Council funded collaborative effort to build a Python library for undertaking academic research in historical-comparative linguistics. Our aim of implementing quantitative methods, specifically in Python, is to transform historical-comparative linguistics from a primarily handcrafted scientific scholarly endeavor, performed by individual researchers, into a quantitative and collaborative field o...

  5. Python 3 Web Development Beginner's Guide

    CERN Document Server

    Anders, Michel

    2011-01-01

    Part of Packt's Beginner's Guide Series, this book follows a sample application, with lots of screenshots, to help you get to grips with the techniques as quickly as possible. Moderately experienced Python programmers who want to learn how to create fairly complex, database-driven, cross browser compatible web apps that are maintainable and look good will find this book of most use. All key technologies except for Python 3 are explained in detail.

  6. Introduction to Python for CMF Authority Users

    Energy Technology Data Exchange (ETDEWEB)

    Pritchett-Sheats, Lori A. [Los Alamos National Lab. (LANL), Los Alamos, NM (United States)

    2017-03-14

    This talk is a very broad over view of Python that highlights key features in the language used in the Common Model Framework (CMF). I assume that the audience has some programming experience in a shell scripting language (C shell, Bash, PERL) or other high level language (C/C++/ Fortran). The talk will cover Python data types, classes (objects) and basic programming constructs. The talk concludes with slides describing how I developed the basic classes for a TITANS homework assignment.

  7. The atomic simulation environment-a Python library for working with atoms.

    Science.gov (United States)

    Hjorth Larsen, Ask; Jørgen Mortensen, Jens; Blomqvist, Jakob; Castelli, Ivano E; Christensen, Rune; Dułak, Marcin; Friis, Jesper; Groves, Michael N; Hammer, Bjørk; Hargus, Cory; Hermes, Eric D; Jennings, Paul C; Bjerre Jensen, Peter; Kermode, James; Kitchin, John R; Leonhard Kolsbjerg, Esben; Kubal, Joseph; Kaasbjerg, Kristen; Lysgaard, Steen; Bergmann Maronsson, Jón; Maxson, Tristan; Olsen, Thomas; Pastewka, Lars; Peterson, Andrew; Rostgaard, Carsten; Schiøtz, Jakob; Schütt, Ole; Strange, Mikkel; Thygesen, Kristian S; Vegge, Tejs; Vilhelmsen, Lasse; Walter, Michael; Zeng, Zhenhua; Jacobsen, Karsten W

    2017-07-12

    The atomic simulation environment (ASE) is a software package written in the Python programming language with the aim of setting up, steering, and analyzing atomistic simulations. In ASE, tasks are fully scripted in Python. The powerful syntax of Python combined with the NumPy array library make it possible to perform very complex simulation tasks. For example, a sequence of calculations may be performed with the use of a simple 'for-loop' construction. Calculations of energy, forces, stresses and other quantities are performed through interfaces to many external electronic structure codes or force fields using a uniform interface. On top of this calculator interface, ASE provides modules for performing many standard simulation tasks such as structure optimization, molecular dynamics, handling of constraints and performing nudged elastic band calculations.

  8. A high level interface to SCOP and ASTRAL implemented in Python

    Directory of Open Access Journals (Sweden)

    Saqi Mansoor AS

    2006-01-01

    Full Text Available Abstract Background Benchmarking algorithms in structural bioinformatics often involves the construction of datasets of proteins with given sequence and structural properties. The SCOP database is a manually curated structural classification which groups together proteins on the basis of structural similarity. The ASTRAL compendium provides non redundant subsets of SCOP domains on the basis of sequence similarity such that no two domains in a given subset share more than a defined degree of sequence similarity. Taken together these two resources provide a 'ground truth' for assessing structural bioinformatics algorithms. We present a small and easy to use API written in python to enable construction of datasets from these resources. Results We have designed a set of python modules to provide an abstraction of the SCOP and ASTRAL databases. The modules are designed to work as part of the Biopython distribution. Python users can now manipulate and use the SCOP hierarchy from within python programs, and use ASTRAL to return sequences of domains in SCOP, as well as clustered representations of SCOP from ASTRAL. Conclusion The modules make the analysis and generation of datasets for use in structural genomics easier and more principled.

  9. Pythran: enabling static optimization of scientific Python programs

    Science.gov (United States)

    Guelton, Serge; Brunet, Pierrick; Amini, Mehdi; Merlini, Adrien; Corbillon, Xavier; Raynaud, Alan

    2015-01-01

    Pythran is an open source static compiler that turns modules written in a subset of Python language into native ones. Assuming that scientific modules do not rely much on the dynamic features of the language, it trades them for powerful, possibly inter-procedural, optimizations. These optimizations include detection of pure functions, temporary allocation removal, constant folding, Numpy ufunc fusion and parallelization, explicit thread-level parallelism through OpenMP annotations, false variable polymorphism pruning, and automatic vector instruction generation such as AVX or SSE. In addition to these compilation steps, Pythran provides a C++ runtime library that leverages the C++ STL to provide generic containers, and the Numeric Template Toolbox for Numpy support. It takes advantage of modern C++11 features such as variadic templates, type inference, move semantics and perfect forwarding, as well as classical idioms such as expression templates. Unlike the Cython approach, Pythran input code remains compatible with the Python interpreter. Output code is generally as efficient as the annotated Cython equivalent, if not more, but without the backward compatibility loss.

  10. Apprendre à programmer avec Python

    CERN Document Server

    Swinnen, Gérard

    2009-01-01

    Quel meilleur choix pour apprendre la programmation qu'un langage moderne et élégant tel que Python, aussi bon pour le développement d'applications web que pour la réalisation de scripts système ou l'analyse de fichiers textuels ? Un support de cours réputé et adopté par de nombreux enseignants, avec 40 pages d'exercices corrigés Reconnu et utilisé par les enseignants de nombreuses écoles et IUT, complété d'exercices accompagnés de leurs corrigés, cet ouvrage original et érudit est une référence sur tous les fondamentaux de la programmation : choix d'une structure de données, paramétrage, modularité, orientation objet et héritage, conception d'interface, multithreading et gestion d'événements, protocoles de communication et gestion réseau, formulaires web et (GI, bases de données) jusqu'à la désormais indispensable norme Unicode (le format UTF-8).

  11. Pybel: a Python wrapper for the OpenBabel cheminformatics toolkit

    Directory of Open Access Journals (Sweden)

    Morley Chris

    2008-03-01

    Full Text Available Abstract Background Scripting languages such as Python are ideally suited to common programming tasks in cheminformatics such as data analysis and parsing information from files. However, for reasons of efficiency, cheminformatics toolkits such as the OpenBabel toolkit are often implemented in compiled languages such as C++. We describe Pybel, a Python module that provides access to the OpenBabel toolkit. Results Pybel wraps the direct toolkit bindings to simplify common tasks such as reading and writing molecular files and calculating fingerprints. Extensive use is made of Python iterators to simplify loops such as that over all the molecules in a file. A Pybel Molecule can be easily interconverted to an OpenBabel OBMol to access those methods or attributes not wrapped by Pybel. Conclusion Pybel allows cheminformaticians to rapidly develop Python scripts that manipulate chemical information. It is open source, available cross-platform, and offers the power of the OpenBabel toolkit to Python programmers.

  12. Unilateral microphthalmia or anophthalmia in eight pythons (Pythonidae)

    DEFF Research Database (Denmark)

    Da Silva, Mari-Ann Otkjær; Berthelsen, MF; Wang, T

    2015-01-01

    OBJECTIVE: To provide morphological descriptions of microphthalmia or anophthalmia in eight pythons using microcomputerized tomography (μCT), magnetic resonance imaging (MRI), and histopathology. ANIMALS STUDIED: Seven Burmese pythons (Python bivittatus) and one ball python (P. regius) with clini......OBJECTIVE: To provide morphological descriptions of microphthalmia or anophthalmia in eight pythons using microcomputerized tomography (μCT), magnetic resonance imaging (MRI), and histopathology. ANIMALS STUDIED: Seven Burmese pythons (Python bivittatus) and one ball python (P. regius...... macroscopic anomalies. CONCLUSIONS: Eight pythons with unilateral left-sided microphthalmia or anophthalmia had one normal eye and a left orbit with malformed or incompletely developed ocular structures along with remnants of fetal structures. These cases lend further information to a condition that is often...

  13. Ultrasonographic anatomy of the coelomic organs of boid snakes (Boa constrictor imperator, Python regius, Python molurus molurus, and Python curtus).

    Science.gov (United States)

    Banzato, Tommaso; Russo, Elisa; Finotti, Luca; Milan, Maria C; Gianesella, Matteo; Zotti, Alessandro

    2012-05-01

    To determine the ultrasonographic features of the coelomic organs of healthy snakes belonging to the Boidae and Pythonidae families. 16 ball pythons (Python regius; 7 males, 8 females, and 1 sexually immature), 10 Indian rock pythons (Python molurus molurus; 5 males, 4 females, and 1 sexually immature), 12 Python curtus (5 males and 7 females), and 8 boa constrictors (Boa constrictor imperator; 4 males and 4 females). All snakes underwent complete ultrasonographic evaluation of the coelomic cavity; chemical restraint was not necessary. A dorsolateral approach to probe placement was chosen to increase image quality and to avoid injury to the snakes and operators. Qualitative and quantitative observations were recorded. The liver, stomach, gallbladder, pancreas, small and large intestines, kidneys, cloaca, and scent glands were identified in all snakes. The hemipenes were identified in 10 of the 21 (48%) male snakes. The spleen was identified in 5 of the 46 (11%) snakes, and ureters were identified in 6 (13%). In 2 sexually immature snakes, the gonads were not visible. One (2%) snake was gravid, and 7 (15%) had small amounts of free fluid in the coelomic cavity. A significant positive correlation was identified between several measurements (diameter and thickness of scent glands, gastric and pyloric walls, and colonic wall) and body length (snout to vent) and body weight. The study findings can be used as an atlas of the ultrasonographic anatomy of the coelomic cavity in healthy boid snakes. Ultrasonography was reasonably fast to perform and was well tolerated in conscious snakes.

  14. Postprandial increase of oleoylethanolamide mobilization in small intestine of the Burmese python (Python molurus)

    DEFF Research Database (Denmark)

    Astarita, Giuseppe; Rourke, Bryan C; Andersen, Johnnie Bremholm

    2006-01-01

    to the induction of between-meal satiety. Here we examined whether feeding-induced OEA mobilization also occurs in Burmese pythons (Python molurus), a species of ambush-hunting snakes that consumes huge meals after months of fasting and undergoes massive feeding-dependent changes in gastrointestinal hormonal...... release and gut morphology. Using liquid-chromatography/mass-spectrometry (LC/MS), we measured OEA levels in the gastrointestinal tract of fasted (28 days) and fed (48h after feeding) pythons. We observed a nearly 300-fold increase in OEA levels in the small intestine of fed compared to fasted animals......-unsaturated, but not polyunsaturated fatty-acid ethanolamides (FAE) in the small intestine of fed pythons. The identification of OEA and other FAEs in the gastrointestinal tract of Python molurus suggests that this class of lipid messengers may be widespread among vertebrate groups and may represent an evolutionarily ancient means...

  15. A Python Script for Aligning the STIS Echelle Blaze Function

    Science.gov (United States)

    Baer, Malinda; Proffitt, Charles R.; Lockwood, Sean A.

    2018-01-01

    Accurate flux calibration for the STIS echelle modes is heavily dependent on the proper alignment of the blaze function for each spectral order. However, due to changes in the instrument alignment over time and between exposures, the blaze function can shift in wavelength. This may result in flux calibration inconsistencies of up to 10%. We present the stisblazefix Python module as a tool for STIS users to correct their echelle spectra. The stisblazefix module assumes that the error in the blaze alignment is a linear function of spectral order, and finds the set of shifts that minimizes the flux inconsistencies in the overlap between spectral orders. We discuss the uses and limitations of this tool, and show that its use can provide significant improvements to the default pipeline flux calibration for many observations.

  16. The Relationship Between Confrontation Naming and Story Gist Production in Aphasia.

    Science.gov (United States)

    Richardson, Jessica D; Dalton, Sarah Grace; Fromm, Davida; Forbes, Margaret; Holland, Audrey; MacWhinney, Brian

    2018-03-01

    The purpose of this study was to examine the relationship between picture naming performance and the ability to communicate the gist, or essential elements, of a story. We also sought to determine if this relationship varied according to Western Aphasia Battery-Revised (WAB-R; Kertesz, 2007) aphasia subtype. Demographic information, test scores, and transcripts of 258 individuals with aphasia completing 3 narrative tasks were retrieved from the AphasiaBank database. Narratives were subjected to a main concept analysis to determine gist production. A correlation analysis was used to investigate the relationship between naming scores and main concept production for the whole group of persons with aphasia and for WAB-R subtypes separately. We found strong correlations between naming test scores and narrative gist production for the large sample of persons with aphasia. However, the strength of the correlations varied by WAB-R subtype. Picture naming may accurately predict gist production for individuals with Broca's and Wernicke's aphasia, but not for other WAB-R subtypes. Given the current reprioritization of outcome measurement, picture naming may not be an appropriate surrogate measure for functional communication for all persons with aphasia. https://doi.org/10.23641/asha.5851848.

  17. Evidence mapping based on systematic reviews of therapeutic interventions for gastrointestinal stromal tumors (GIST

    Directory of Open Access Journals (Sweden)

    Mónica Ballesteros

    2017-09-01

    Full Text Available Abstract Background Gastrointestinal Stromal Tumours (GISTs are the most common mesenchymal tumours. Currently, different pharmacological and surgical options are used to treat localised and metastatic GISTs, although this research field is broad and the body of evidence is scattered and expanding. Our objectives are to identify, describe and organise the current available evidence for GIST through an evidence mapping approach. Methods We followed the methodology of Global Evidence Mapping (GEM. We searched Pubmed, EMBASE, The Cochrane Library and Epistemonikos in order to identify systematic reviews (SRs with or without meta-analyses published between 1990 and March 2016. Two authors assessed eligibility and extracted data. Methodological quality of the included systematic reviews was assessed using AMSTAR. We organised the results according to identified PICO questions and presented the evidence map in tables and a bubble plot. Results A total of 17 SRs met eligibility criteria. These reviews included 66 individual studies, of which three quarters were either observational or uncontrolled clinical trials. Overall, the quality of the included SRs was moderate or high. In total, we extracted 14 PICO questions from them and the corresponding results mostly favoured the intervention arm. Conclusions The most common type of study used to evaluate therapeutic interventions in GIST sarcomas has been non-experimental studies. However, the majority of the interventions are reported as beneficial or probably beneficial by the respective authors of SRs. The evidence mapping is a useful and reliable methodology to identify and present the existing evidence about therapeutic interventions.

  18. Emergency surgery due to complications during molecular targeted therapy in advanced gastrointestinal stromal tumors (GIST)

    International Nuclear Information System (INIS)

    Rutkowski, P.; Nowecki, Z. I.; Dziewirski, W.; Ruka, W.; Siedlecki, J. A.; Grzesiakowska, U.

    2010-01-01

    Aim. The aim of the study was to assess the frequency and results of disease/treatment-related emergency operations during molecular targeted therapy of advanced gastrointestinal stromal tumors (GISTs). Methods. We analyzed emergency operations in patients with metastatic/inoperable GISTs treated with 1 st -line imatinib - IM (group I: 232 patients; median follow-up time 31 months) and 2 nd -line sunitinib - SU (group II: 43 patients; median follow-up 13 months; 35 patients in trial A6181036) enrolled into the Polish Clinical GIST Registry. Results. In group I 3 patients (1.3%) underwent emergency surgery due to disease/treatment related complications: one due to bleeding from a ruptured liver tumor (1 month after IM onset) and two due to bowel perforation on the tumor with subsequent intraperitoneal abscess (both 2 months after IM onset). IM was restarted 5-8 days after surgery and no complications in wound healing were observed. In group II 4 patients (9.5%) underwent emergency operations due to disease/treatment related complications: three due to bowel perforations on the tumor (2 days, 20 days and 10 months after SU onset; 1 subsequent death) and one due to intraperitoneal bleeding from ruptured, necrotic tumor (3.5 months after SU start). SU was restarted 12-18 days after surgery and no complications in wound healing were observed. Conclusions. Emergency operations associated with disease or therapy during imatinib treatment of advanced GISTs are rare. The frequency of emergency operations during sunitinib therapy is considered to be higher than during first line therapy with imatinib which may be associated with more advanced and more resistant disease or to the direct mechanism of sunitinib action, i.e. combining cytotoxic and antiangiogenic activity and thus leading to dramatic tumor response. Molecular targeted therapy in GISTs should always be conducted in cooperation with an experienced surgeon. (authors)

  19. MTpy - Python Tools for Magnetotelluric Data Processing and Analysis

    Science.gov (United States)

    Krieger, Lars; Peacock, Jared; Thiel, Stephan; Inverarity, Kent; Kirkby, Alison; Robertson, Kate; Soeffky, Paul; Didana, Yohannes

    2014-05-01

    We present the Python package MTpy, which provides functions for the processing, analysis, and handling of magnetotelluric (MT) data sets. MT is a relatively immature and not widely applied geophysical method in comparison to other geophysical techniques such as seismology. As a result, the data processing within the academic MT community is not thoroughly standardised and is often based on a loose collection of software, adapted to the respective local specifications. We have developed MTpy to overcome problems that arise from missing standards, and to provide a simplification of the general handling of MT data. MTpy is written in Python, and the open-source code is freely available from a GitHub repository. The setup follows the modular approach of successful geoscience software packages such as GMT or Obspy. It contains sub-packages and modules for the various tasks within the standard work-flow of MT data processing and interpretation. In order to allow the inclusion of already existing and well established software, MTpy does not only provide pure Python classes and functions, but also wrapping command-line scripts to run standalone tools, e.g. modelling and inversion codes. Our aim is to provide a flexible framework, which is open for future dynamic extensions. MTpy has the potential to promote the standardisation of processing procedures and at same time be a versatile supplement for existing algorithms. Here, we introduce the concept and structure of MTpy, and we illustrate the workflow of MT data processing, interpretation, and visualisation utilising MTpy on example data sets collected over different regions of Australia and the USA.

  20. SunPy—Python for solar physics

    International Nuclear Information System (INIS)

    Community, The SunPy; Mumford, Stuart J; Freij, Nabil; Bennett, Samuel M; Christe, Steven; Ireland, Jack; Shih, Albert Y; Inglis, Andrew R; Pérez-Suárez, David; Liedtke, Simon; Hewett, Russell J; Mayer, Florian; Hughitt, Keith; Meszaros, Tomas; Malocha, Michael; Evans, John; Agrawal, Ankit; Leonard, Andrew J; Robitaille, Thomas P; Mampaey, Benjamin

    2015-01-01

    This paper presents SunPy (version 0.5), a community-developed Python package for solar physics. Python, a free, cross-platform, general-purpose, high-level programming language, has seen widespread adoption among the scientific community, resulting in the availability of a large number of software packages, from numerical computation (NumPy, SciPy) and machine learning (scikit-learn) to visualization and plotting (matplotlib). SunPy is a data-analysis environment specializing in providing the software necessary to analyse solar and heliospheric data in Python. SunPy is open-source software (BSD licence) and has an open and transparent development workflow that anyone can contribute to. SunPy provides access to solar data through integration with the Virtual Solar Observatory (VSO), the Heliophysics Event Knowledgebase (HEK), and the HELiophysics Integrated Observatory (HELIO) webservices. It currently supports image data from major solar missions (e.g., SDO, SOHO, STEREO, and IRIS), time-series data from missions such as GOES, SDO/EVE, and PROBA2/LYRA, and radio spectra from e-Callisto and STEREO/SWAVES. We describe SunPy's functionality, provide examples of solar data analysis in SunPy, and show how Python-based solar data-analysis can leverage the many existing tools already available in Python. We discuss the future goals of the project and encourage interested users to become involved in the planning and development of SunPy. (paper)

  1. Clinicopathological characteristic and clinical handling of the patients with 2 cm or less gastric GISTs.

    Science.gov (United States)

    Kataoka, Mikinori; Kawai, Takashi; Ikemiyagi, Hidekazu; Fujii, Takashi; Fukuzawa, Mari; Fukuzawa, Masakatsu; Kubota, Keisuke; Yoshida, Masashi; Suzuki, Shinji; Kitajima, Masaki

    2013-01-01

    We previously reported that safety and efficacy of mucosal cutting biopsy for diagnosing included 2 cm or less gastric GISTs. However, there have been no reports stating the clinicopathological characteristic and clinical handling of the patients with 2 cm or less gastric GISTs. The aim of our study is to investigate the clinicopathological characteristic and clinical handling of the patients with 2 cm or less gastric GISTs. The 19 patients diagnosed with GIST by mucosal cutting biopsy were divided into 2 groups: Group I; subjects were GISTs with 2 cm or less, Group II; subjects were GISTs >2 cm. We compared the 2 groups in terms of mean age, tumor size, tumor site, histopathological risk grade. In cases that underwent surgery with a diagnosis of GIST, we compared the pre- and postoperative histopathological diagnosis, and the histopathlogical risk grade within each group. The mean age and tumor size were significantly higher in Group I than in Group II. Meanwhile, there were no significant differences between the 2 groups, sex ratio, tumor site. All lesions were at histopathological risk grade at very low risk and low risk respectively. In 17 patients with GIST who underwent surgery, the histopathological diagnoses, immunostaining were in agreement with those from the mucosal cutting biopsy specimens in all cases, but mitotic count of one patient was not in agreement in group II. The 2 cm or less gastric GISTs diagnosed with histpathlogical very low risk can be considered acceptable to follow-up.

  2. Towards Python-based Domain-specific Languages for Self-reconfigurable Modular Robotics Research

    DEFF Research Database (Denmark)

    Moghadam, Mikael; Johan Christensen, David; Brandt, David

    2013-01-01

    This paper explores the role of operating system and high-level languages in the development of software and domain-specific languages (DSLs) for self-reconfigurable robotics. We review some of the current trends in self-reconfigurable robotics and describe the development of a software system...... for ATRON II which utilizes Linux and Python to significantly improve software abstraction and portability while providing some basic features which could prove useful when using Python, either stand-alone or via a DSL, on a self-reconfigurable robot system. These features include transparent socket...... communication, module identification, easy software transfer and reliable module-to-module communication. The end result is a software platform for modular robots that where appropriate builds on existing work in operating systems, virtual machines, middleware and high-level languages....

  3. Hemodynamic consequences of cardiac malformations in two juvenile ball pythons (Python regius).

    Science.gov (United States)

    Jensen, Bjarke; Wang, Tobias

    2009-12-01

    Two cases of bifid ventricles and cardiac malformations in juvenile ball python (Python regius) were investigated by blood pressure measurements and macro- and microscopic sectioning. A study of a normal ball python was included for reference. In both cases, all cardiac chambers were enlarged and abnormally shaped. Internal assessment of the ventricles revealed a pronounced defect of the muscular ridge, which normally is responsible for separating the systemic and pulmonary circuits. Consistent with the small muscular ridge, systolic pressures were identical in the pulmonary and systemic arteries, but, the snakes, nevertheless, lived to reach body weights severalfold of their hatchling weight.

  4. Building machine learning systems with Python

    CERN Document Server

    Richert, Willi

    2013-01-01

    This is a tutorial-driven and practical, but well-grounded book showcasing good Machine Learning practices. There will be an emphasis on using existing technologies instead of showing how to write your own implementations of algorithms. This book is a scenario-based, example-driven tutorial. By the end of the book you will have learnt critical aspects of Machine Learning Python projects and experienced the power of ML-based systems by actually working on them.This book primarily targets Python developers who want to learn about and build Machine Learning into their projects, or who want to pro

  5. DeepPy: Pythonic deep learning

    DEFF Research Database (Denmark)

    Larsen, Anders Boesen Lindbo

    This technical report introduces DeepPy – a deep learning framework built on top of NumPy with GPU acceleration. DeepPy bridges the gap between highperformance neural networks and the ease of development from Python/NumPy. Users with a background in scientific computing in Python will quickly...... be able to understand and change the DeepPy codebase as it is mainly implemented using high-level NumPy primitives. Moreover, DeepPy supports complex network architectures by letting the user compose mathematical expressions as directed graphs. The latest version is available at http...

  6. Raspberry Pi cookbook for Python programmers

    CERN Document Server

    Cox, Tim

    2014-01-01

    ""Raspberry Pi Cookbook for Python Programmers"" is written in a Cookbook format, presenting examples in the style of recipes.This allows you to go directly to your topic of interest, or follow topics throughout a chapter to gain a thorough in-depth knowledge.The aim of this book is to bring you a broad range of Python 3 examples and practical ideas which you can develop to suit your own requirements. By modifying and combining the examples to create your own projects you learn far more effectively with a much greater understanding. Each chapter is designed to become a foundation for further e

  7. Next-Generation Web Frameworks in Python

    CERN Document Server

    Daly, Liza

    2007-01-01

    With its flexibility, readability, and maturecode libraries, Python is a naturalchoice for developing agile and maintainableweb applications. Severalframeworks have emerged in the last fewyears that share ideas with Ruby on Railsand leverage the expressive nature of Python.This Short Cut will tell you whatyou need to know about the hottest fullstackframeworks: Django, Pylons, andTurboGears. Their philosophies, relativestrengths, and development status aredescribed in detail. What you won't find out is, "Which oneshould I use?" The short answer is thatall of them can be used to build web appl

  8. Python for signal processing featuring IPython notebooks

    CERN Document Server

    Unpingco, José

    2013-01-01

    This book covers the fundamental concepts in signal processing illustrated with Python code and made available via IPython Notebooks, which are live, interactive, browser-based documents that allow one to change parameters, redraw plots, and tinker with the ideas presented in the text. Everything in the text is computable in this format and thereby invites readers to ""experiment and learn"" as they read. The book focuses on the core, fundamental principles of signal processing. The code corresponding to this book uses the core functionality of the scientific Python toolchain that should remai

  9. A 3d game in python

    OpenAIRE

    Xu, Minghui

    2014-01-01

    3D game has widely been accepted and loved by many game players. More and more different kinds of 3D games were developed to feed people’s needs. The most common programming language for development of 3D game is C++ nowadays. Python is a high-level scripting language. It is simple and clear. The concise syntax could speed up the development cycle. This project was to develop a 3D game using only Python. The game is about how a cat lives in the street. In order to live, the player need...

  10. Python passive network mapping P2NMAP

    CERN Document Server

    Hosmer, Chet

    2015-01-01

    Python Passive Network Mapping: P2NMAP is the first book to reveal a revolutionary and open source method for exposing nefarious network activity. The ""Heartbleed"" vulnerability has revealed significant weaknesses within enterprise environments related to the lack of a definitive mapping of network assets. In Python Passive Network Mapping, Chet Hosmer shows you how to effectively and definitively passively map networks. Active or probing methods to network mapping have traditionally been used, but they have many drawbacks - they can disrupt operations, crash systems, and - most important

  11. TensorLy: Tensor Learning in Python

    OpenAIRE

    Kossaifi, Jean; Panagakis, Yannis; Pantic, Maja

    2016-01-01

    Tensors are higher-order extensions of matrices. While matrix methods form the cornerstone of machine learning and data analysis, tensor methods have been gaining increasing traction. However, software support for tensor operations is not on the same footing. In order to bridge this gap, we have developed \\emph{TensorLy}, a high-level API for tensor methods and deep tensorized neural networks in Python. TensorLy aims to follow the same standards adopted by the main projects of the Python scie...

  12. SymPy: symbolic computing in Python

    Directory of Open Access Journals (Sweden)

    Aaron Meurer

    2017-01-01

    Full Text Available SymPy is an open source computer algebra system written in pure Python. It is built with a focus on extensibility and ease of use, through both interactive and programmatic applications. These characteristics have led SymPy to become a popular symbolic library for the scientific Python ecosystem. This paper presents the architecture of SymPy, a description of its features, and a discussion of select submodules. The supplementary material provide additional examples and further outline details of the architecture and features of SymPy.

  13. Feasibility of Python in teaching programming

    Directory of Open Access Journals (Sweden)

    Rafael Martínez Estévez

    2014-03-01

    Full Text Available Given the diversity of the objectives of the programming courses in the Cuban educational system and the training of teachers, it is not easy to decide the language to be used in each case. The intention of this article is to bring to debate to our context a trend that has been growing in the last decade: Python as a first programming language. The aim of this study is to compile some inter national experiences in the use of Python in introductory programming courses, also analyzing their advantages and disadvantages.

  14. Data Visualization within the Python ecosystem

    CERN Multimedia

    CERN. Geneva

    2016-01-01

    Data analysis is integral to what we do at CERN. Data visualization is at the foundation of this workflow and is also an important part of the python stack. Python's plotting ecosystem offers numerous open source solutions. These solutions can offer ease of use, detailed configuration, interactivity and web readiness. This talk will cover three of the most robust and supported packages, matplotlib, bokeh, and plotly. It aims to provide an overview of these packages. In addition, give suggestions to where these tools might fit in an analysis workflow.

  15. Programming ArcGIS 10.1 with Python cookbook

    CERN Document Server

    Pimpler, Eric

    2013-01-01

    This book is written in a helpful, practical style with numerous hands-on recipes and chapters to help you save time and effort by using Python to power ArcGIS to create shortcuts, scripts, tools, and customizations.""Programming ArcGIS 10.1 with Python Cookbook"" is written for GIS professionals who wish to revolutionize their ArcGIS workflow with Python. Basic Python or programming knowledge is essential(?).

  16. Python bindings for the open source electromagnetic simulator Meep

    OpenAIRE

    Lambert, Emmanuel; Fiers, Martin; Nizamov, Shavkat; Tassaert, Martijn; Johnson, Steven G; Bienstman, Peter; Bogaerts, Wim

    2011-01-01

    Meep is a broadly used open source package for finite-difference time-domain electromagnetic simulations. Python bindings for Meep make it easier to use for researchers and open promising opportunities for integration with other packages in the Python ecosystem. As this project shows, implementing Python-Meep offers benefits for specific disciplines and for the wider research community.

  17. The zoonotic implications of pentastomiasis in the royal python (python regius).

    Science.gov (United States)

    Ayinmode, Ab; Adedokun, Ao; Aina, A; Taiwo, V

    2010-09-01

    Pentastomes are worm-like endoparasites of the phylum Pentastomida found principally in the respiratory tract of reptiles, birds, and mammals. They cause a zoonotic disease known as pentastomiasis in humans and other mammals. The autopsy of a Nigerian royal python (Python regius) revealed two yellowish-white parasites in the lungs, tissue necrosis and inflammatory lesions. The parasite was confirmed to be Armillifer spp (Pentastomid); this is the first recorded case of pentastomiasis in the royal python (Python regius) in Nigeria. This report may be an alert of the possibility of on-going zoonotic transmission of pentastomiasis from snake to man, especially in the sub-urban/rural areas of Nigeria and other West African countries where people consume snake meat.

  18. Python Materials Genomics (pymatgen): A robust, open-source python library for materials analysis

    OpenAIRE

    Ong, Shyue Ping; Richards, William Davidson; Jain, Anubhav; Hautier, Geoffroy; Kocher, Michael; Cholia, Shreyas; Gunter, Dan; Chevrier, Vincent L.; Persson, Kristin A.; Ceder, Gerbrand

    2012-01-01

    We present the Python Materials Genomics (pymatgen) library, a robust, open-source Python library for materials analysis. A key enabler in high-throughput computational materials science efforts is a robust set of software tools to perform initial setup for the calculations (e.g., generation of structures and necessary input files) and post-calculation analysis to derive useful material properties from raw calculated data. The pymatgen library aims to meet these needs by (1) defining core Pyt...

  19. The Zoonotic Implications of Pentastomiasis in the Royal Python (Python Regius)

    OpenAIRE

    Ayinmode, AB; Adedokun, AO; Aina, A; Taiwo, V

    2010-01-01

    Pentastomes are worm-like endoparasites of the phylum Pentastomida found principally in the respiratory tract of reptiles, birds, and mammals. They cause a zoonotic disease known as pentastomiasis in humans and other mammals. The autopsy of a Nigerian royal python (Python regius) revealed two yellowish-white parasites in the lungs, tissue necrosis and inflammatory lesions. The parasite was confirmed to be Armillifer spp (Pentastomid); this is the first recorded case of pentastomiasis in the r...

  20. Julia and Python in Astronomy: Better Together

    OpenAIRE

    Barbary, Kyle

    2016-01-01

    Astronomers love Python because it is open source, easy to learn, and has a tremendous ecosystem for scientific computing. The Julia programming language has many of those same characteristics. In this talk, I discuss Julia, its use in astronomy and the growing ecosystem of astronomy packages, particularly those managed by the JuliaAstro organization (http://JuliaAstro.github.io).

  1. Python scripting in the nengo simulator.

    Science.gov (United States)

    Stewart, Terrence C; Tripp, Bryan; Eliasmith, Chris

    2009-01-01

    Nengo (http://nengo.ca) is an open-source neural simulator that has been greatly enhanced by the recent addition of a Python script interface. Nengo provides a wide range of features that are useful for physiological simulations, including unique features that facilitate development of population-coding models using the neural engineering framework (NEF). This framework uses information theory, signal processing, and control theory to formalize the development of large-scale neural circuit models. Notably, it can also be used to determine the synaptic weights that underlie observed network dynamics and transformations of represented variables. Nengo provides rich NEF support, and includes customizable models of spike generation, muscle dynamics, synaptic plasticity, and synaptic integration, as well as an intuitive graphical user interface. All aspects of Nengo models are accessible via the Python interface, allowing for programmatic creation of models, inspection and modification of neural parameters, and automation of model evaluation. Since Nengo combines Python and Java, it can also be integrated with any existing Java or 100% Python code libraries. Current work includes connecting neural models in Nengo with existing symbolic cognitive models, creating hybrid systems that combine detailed neural models of specific brain regions with higher-level models of remaining brain areas. Such hybrid models can provide (1) more realistic boundary conditions for the neural components, and (2) more realistic sub-components for the larger cognitive models.

  2. MGtoolkit: A python package for implementing metagraphs

    Science.gov (United States)

    Ranathunga, D.; Nguyen, H.; Roughan, M.

    In this paper we present MGtoolkit: an open-source Python package for implementing metagraphs - a first of its kind. Metagraphs are commonly used to specify and analyse business and computer-network policies alike. MGtoolkit can help verify such policies and promotes learning and experimentation with metagraphs. The package currently provides purely textual output for visualising metagraphs and their analysis results.

  3. Python scripting in the Nengo simulator

    Directory of Open Access Journals (Sweden)

    Terrence C Stewart

    2009-03-01

    Full Text Available Nengo is an open-source neural simulator that has been greatly enhanced by the recent addition of a Python script interface. Nengo provides a wide range of features that are useful for physiological simulations, including unique features that facilitate development of population-coding models using the Neural Engineering Framework (NEF. This framework uses information theory, signal processing, and control theory to formalize the development of large-scale neural circuit models. Notably, it can also be used to determine the synaptic weights that underlie observed network dynamics and transformations of represented variables. Nengo provides rich NEF support, and includes customizable models of spike generation, muscle dynamics, synaptic plasticity, and synaptic integration, as well as an intuitive graphical user interface. All aspects of Nengo models are accessible via the Python interface, allowing for programmatic creation of models, inspection and modification of neural parameters, and automation of model evaluation. Since Nengo combines Python and Java, it can also be integrated with any existing Java or 100% Python code libraries. Current work includes connecting neural models in Nengo with existing symbolic cognitive models, creating hybrid systems that combine detailed neural models of specific brain regions with higher-level models of remaining brain areas. Such hybrid models can provide 1 more realistic boundary conditions for the neural components, and 2 more realistic sub-components for the larger cognitive models.

  4. TensorLy: Tensor Learning in Python

    NARCIS (Netherlands)

    Kossaifi, Jean; Panagakis, Yannis; Pantic, Maja

    2016-01-01

    Tensor methods are gaining increasing traction in machine learning. However, there are scant to no resources available to perform tensor learning and decomposition in Python. To answer this need we developed TensorLy. TensorLy is a state of the art general purpose library for tensor learning.

  5. My Journey from Python to R

    OpenAIRE

    Lorgat, Mohamed Wasim

    2018-01-01

    A lightning talk of my personal experiences in programming, from childhood with languages including Game Maker and DarkBASIC, to now with Python and R. I highlight the underlying principle which, I argue, separates the R community from others.See the reference for further reading material along this line.

  6. Recurrent Lower Gastrointestinal Bleeding: Ileal GIST Diagnosed by Video Capsule Endoscopy—A Case Report and Literature Review

    Directory of Open Access Journals (Sweden)

    Jie Ling

    2013-01-01

    Full Text Available Introduction. Gastrointestinal stromal tumor (GIST in the ileum is an extremely rare cause of recurrent lower gastrointestinal bleeding (GIB. Case Report. An 89-year-old man was admitted with melana. He had extensive PMH of CAD post-CABG/AICD, AAA repair, chronic anemia, myelodysplastic syndrome, lung cancer after resection, and recurrent GIB. Prior EGDs, colonoscopies, and upper device-assisted enteroscopy showed duodenal ulcer, A-V malformation s/p cauterization, and angioectasia. On admission, Hb was 6.0 g/dL. An endoscopic capsule study showed an ulcerated tumor in the ileum. CT showed no distant metastasis. The lesion was resected successfully and confirmed as a high-grade GIST. The patient was discharged with no further bleeding. Discussion. Early diagnosis for patients with ileal GIST is often challenging. Video capsule endoscopy and double balloon enteroscopy could be useful diagnostic tools. Surgical removal is the first line for a resectable GIST. Imatinib has become the standard therapy. Conclusion. This is a unique case of an ileal GIST in a patient with recurrent GIB which was diagnosed by video capsule. Complicated medical comorbidities often lead to a significant delay in diagnosis. Therefore, we recommend that if GIB does not resolve after appropriate treatments for known causes, the alternative diagnosis for occult GIB must be considered, including malignancy such as GIST.

  7. Predictive value and modeling analysis of MSCT signs in gastrointestinal stromal tumors (GISTs) to pathological risk degree.

    Science.gov (United States)

    Wang, J-K

    2017-03-01

    By analyzing MSCT (multi-slice computed tomography) signs with different risks in gastrointestinal stromal tumors, this paper aimed to discuss the predictive value and modeling analysis of MSCT signs in GISTs (gastrointestinal stromal tumor) to pathological risk degree. 100 cases of primary GISTs with abdominal and pelvic MSCT scan were involved in this study. All MSCT scan findings and enhanced findings were analyzed and compared among cases with different risk degree of pathology. Then GISTs diagnostic model was established by using support vector machine (SVM) algorithm, and its diagnostic value was evaluated as well. All lesions were solitary, among which there were 46 low-risk cases, 24 medium-risk cases and 30 high-risk cases. For all high-risk, medium-risk and low-risk GISTs, there were statistical differences in tumor growth pattern, size, shape, fat space, with or without calcification, ulcer, enhancement method and peritumoral and intratumoral vessels (pvalue at each period (plain scan, arterial phase, venous phase) (p>0.05). The apparent difference lied in plain scan, arterial phase and venous phase for each risk degree. The diagnostic accuracy of SVM diagnostic model established with 10 imaging features as indexes was 70.0%, and it was especially reliable when diagnosing GISTs of high or low risk. Preoperative analysis of MSCT features is clinically significant for its diagnosis of risk degree and prognosis; GISTs diagnostic model established on the basis of SVM possesses high diagnostic value.

  8. Challenges to a molecular approach to prey identification in the Burmese python, Python molurus bivittatus

    Science.gov (United States)

    Falk, Bryan; Reed, Robert N.

    2015-01-01

    Molecular approaches to prey identification are increasingly useful in elucidating predator–prey relationships, and we aimed to investigate the feasibility of these methods to document the species identities of prey consumed by invasive Burmese pythons in Florida. We were particularly interested in the diet of young snakes, because visual identification of prey from this size class has proven difficult. We successfully extracted DNA from the gastrointestinal contents of 43 young pythons, as well as from several control samples, and attempted amplification of DNA mini-barcodes, a 130-bp region of COX1. Using a PNA clamp to exclude python DNA, we found that prey DNA was not present in sufficient quality for amplification of this locus in 86% of our samples. All samples from the GI tracts of young pythons contained only hair, and the six samples we were able to identify to species were hispid cotton rats. This suggests that young Burmese pythons prey predominantly on small mammals and that prey diversity among snakes of this size class is low. We discuss prolonged gastrointestinal transit times and extreme gastric breakdown as possible causes of DNA degradation that limit the success of a molecular approach to prey identification in Burmese pythons

  9. Size, but not experience, affects the ontogeny of constriction performance in ball pythons (Python regius).

    Science.gov (United States)

    Penning, David A; Dartez, Schuyler F

    2016-03-01

    Constriction is a prey-immobilization technique used by many snakes and is hypothesized to have been important to the evolution and diversification of snakes. However, very few studies have examined the factors that affect constriction performance. We investigated constriction performance in ball pythons (Python regius) by evaluating how peak constriction pressure is affected by snake size, sex, and experience. In one experiment, we tested the ontogenetic scaling of constriction performance and found that snake diameter was the only significant factor determining peak constriction pressure. The number of loops applied in a coil and its interaction with snake diameter did not significantly affect constriction performance. Constriction performance in ball pythons scaled differently than in other snakes that have been studied, and medium to large ball pythons are capable of exerting significantly higher pressures than those shown to cause circulatory arrest in prey. In a second experiment, we tested the effects of experience on constriction performance in hatchling ball pythons over 10 feeding events. By allowing snakes in one test group to gain constriction experience, and manually feeding snakes under sedation in another test group, we showed that experience did not affect constriction performance. During their final (10th) feedings, all pythons constricted similarly and with sufficiently high pressures to kill prey rapidly. At the end of the 10 feeding trials, snakes that were allowed to constrict were significantly smaller than their non-constricting counterparts. © 2016 Wiley Periodicals, Inc.

  10. A New Python Library for Spectroscopic Analysis with MIDAS Style

    Science.gov (United States)

    Song, Y.; Luo, A.; Zhao, Y.

    2013-10-01

    The ESO MIDAS is a system for astronomers to analyze data which many astronomers are using. Python is a high level script language and there are many applications for astronomical data process. We are releasing a new Python library which realizes some MIDAS commands in Python. People can use it to write a MIDAS style Python code. We call it PydasLib. It is a Python library based on ESO MIDAS functions, which is easily used by astronomers who are familiar with the usage of MIDAS.

  11. Long-term memory for the emotional gist and the emotional essence of an experience.

    Science.gov (United States)

    Safer, Martin A; Breslin, Carolyn W; Boesch, Richard P; Cerqueira, Renata

    2007-11-01

    We investigated accuracy in recalling past emotional behaviours and emotionality. Male couples discussed the history of their relationship, and coders rated the extent to which each partner engaged in behaviours such as complimenting or criticising. These ratings were combined into dimensions representing the deeper, emotional essence of that partner's discussion (expressions of We-ness, Fondness, Negativity, and Disappointment). Four years later, participants accurately recalled some of their own and some of their partner's emotional gist-level behaviours, but their answers indicated that they also remembered the emotional essence of the conversation. We conclude that individuals can retain the emotional essence of an experience for a long time, and that they may use this memory to infer, in part, gist-level details of the experience.

  12. Bridging Learning Communities Through Experiential Learning with GIST: 2Y College Experience

    Science.gov (United States)

    Sorey, N.; Phillips, C. D.

    2017-12-01

    This study reviews successes of community engagement through experiential learning with GIST across academic disciplines that leverage topics with technology and community relationships throughout a two-year campus and the community at large. This approach allowed for a diversification of populations reached through college student engagement and community outreach efforts. Technological frameworks and development of best practice resources to support students and faculty were shown to increase the capacity for undergraduate research experiences, K12 short course offerings during the summer, and the formation of a STEM-focused student organization. The RSO has participated in activities that include educational technology development, participating in the growth and development of the area's maker movement community, and geoscience outreach and education. Development of the program thus far and lessons learned have resulted in a proposal for an areal-based informal pathway linking the K12 community to area colleges by integrating geoscience outreach with GIST through the maker movement.

  13. Programming PHREEQC calculations with C++ and Python a comparative study

    Science.gov (United States)

    Charlton, Scott R.; Parkhurst, David L.; Muller, Mike

    2011-01-01

    The new IPhreeqc module provides an application programming interface (API) to facilitate coupling of other codes with the U.S. Geological Survey geochemical model PHREEQC. Traditionally, loose coupling of PHREEQC with other applications required methods to create PHREEQC input files, start external PHREEQC processes, and process PHREEQC output files. IPhreeqc eliminates most of this effort by providing direct access to PHREEQC capabilities through a component object model (COM), a library, or a dynamically linked library (DLL). Input and calculations can be specified through internally programmed strings, and all data exchange between an application and the module can occur in computer memory. This study compares simulations programmed in C++ and Python that are tightly coupled with IPhreeqc modules to the traditional simulations that are loosely coupled to PHREEQC. The study compares performance, quantifies effort, and evaluates lines of code and the complexity of the design. The comparisons show that IPhreeqc offers a more powerful and simpler approach for incorporating PHREEQC calculations into transport models and other applications that need to perform PHREEQC calculations. The IPhreeqc module facilitates the design of coupled applications and significantly reduces run times. Even a moderate knowledge of one of the supported programming languages allows more efficient use of PHREEQC than the traditional loosely coupled approach.

  14. PyORBIT: A Python Shell For ORBIT

    Energy Technology Data Exchange (ETDEWEB)

    Jean-Francois Ostiguy; Jeffrey Holmes

    2003-07-01

    ORBIT is code developed at SNS to simulate beam dynamics in accumulation rings and synchrotrons. The code is structured as a collection of external C++ modules for SuperCode, a high level interpreter shell developed at LLNL in the early 1990s. SuperCode is no longer actively supported and there has for some time been interest in replacing it by a modern scripting language, while preserving the feel of the original ORBIT program. In this paper, we describe a new version of ORBIT where the role of SuperCode is assumed by Python, a free, well-documented and widely supported object-oriented scripting language. We also compare PyORBIT to ORBIT from the standpoint of features, performance and future expandability.

  15. PyORBIT: A Python Shell For ORBIT

    International Nuclear Information System (INIS)

    Jean-Francois Ostiguy; Jeffrey Holmes

    2003-01-01

    ORBIT is code developed at SNS to simulate beam dynamics in accumulation rings and synchrotrons. The code is structured as a collection of external C++ modules for SuperCode, a high level interpreter shell developed at LLNL in the early 1990s. SuperCode is no longer actively supported and there has for some time been interest in replacing it by a modern scripting language, while preserving the feel of the original ORBIT program. In this paper, we describe a new version of ORBIT where the role of SuperCode is assumed by Python, a free, well-documented and widely supported object-oriented scripting language. We also compare PyORBIT to ORBIT from the standpoint of features, performance and future expandability

  16. Revisiting a dogma: similar survival of patients with small bowel and gastric GIST. A population-based propensity score SEER analysis.

    Science.gov (United States)

    Guller, Ulrich; Tarantino, Ignazio; Cerny, Thomas; Ulrich, Alexis; Schmied, Bruno M; Warschkow, Rene

    2017-01-01

    The objective of the present analysis was to assess whether small bowel gastrointestinal stromal tumor (GIST) is associated with worse cancer-specific survival (CSS) and overall survival (OS) compared with gastric GIST on a population-based level. Data on patients aged 18 years or older with histologically proven GIST was extracted from the SEER database from 1998 to 2011. OS and CSS for small bowel GIST were compared with OS and CSS for gastric GIST by application of adjusted and unadjusted Cox regression analyses and propensity score analyses. GIST were located in the stomach (n = 3011, 59 %), duodenum (n = 313, 6 %), jejunum/ileum (n = 1288, 25 %), colon (n = 139, 3 %), rectum (n = 172, 3 %), and extraviscerally (n = 173, 3 %). OS and CSS of patients with GIST in the duodenum [OS, HR 0.95, 95 % confidence interval (CI) 0.76-1.19; CSS, HR 0.99, 95 % CI 0.76-1.29] and in the jejunum/ileum (OS, HR 0.97, 95 % CI 0.85-1.10; CSS, HR = 0.95, 95 % CI 0.81-1.10) were similar to those of patients with gastric GIST in multivariate analyses. Conversely, OS and CSS of patients with GIST in the colon (OS, HR 1.40; 95 % CI 1.07-1.83; CSS, HR 1.89, 95 % CI 1.41-2.54) and in an extravisceral location (OS, HR 1.42, 95 % CI 1.14-1.77; CSS, HR = 1.43, 95 % CI 1.11-1.84) were significantly worse than those of patients with gastric GIST. Contrary to common belief, OS and CSS of patients with small bowel GIST are not statistically different from those of patients with gastric GIST when adjustment is made for confounding variables on a population-based level. The prognosis of patients with nongastric GIST is worse because of a colonic and extravisceral GIST location. These findings have implications regarding adjuvant treatment of GIST patients. Hence, the dogma that small bowel GIST patients have worse prognosis than gastric GIST patients and therefore should receive adjuvant treatment to a greater extent must be revisited.

  17. Gist-based conceptual processing of pictures remains intact in patients with amnestic mild cognitive impairment.

    Science.gov (United States)

    Deason, Rebecca G; Hussey, Erin P; Budson, Andrew E; Ally, Brandon A

    2012-03-01

    The picture superiority effect, better memory for pictures compared to words, has been found in young adults, healthy older adults, and, most recently, in patients with Alzheimer's disease and mild cognitive impairment. Although the picture superiority effect is widely found, there is still debate over what drives this effect. One main question is whether it is enhanced perceptual or conceptual information that leads to the advantage for pictures over words. In this experiment, we examined the picture superiority effect in healthy older adults and patients with amnestic mild cognitive impairment (MCI) to better understand the role of gist-based conceptual processing. We had participants study three exemplars of categories as either words or pictures. In the test phase, participants were again shown pictures or words and were asked to determine whether the item was in the same category as something they had studied earlier or whether it was from a new category. We found that all participants demonstrated a robust picture superiority effect, better performance for pictures than for words. These results suggest that the gist-based conceptual processing of pictures is preserved in patients with MCI. While in healthy older adults preserved recollection for pictures could lead to the picture superiority effect, in patients with MCI it is most likely that the picture superiority effect is a result of spared conceptually based familiarity for pictures, perhaps combined with their intact ability to extract and use gist information.

  18. Gist-based memory for prices and "better buys" in younger and older adults.

    Science.gov (United States)

    Flores, Cynthia C; Hargis, Mary B; McGillivray, Shannon; Friedman, Michael C; Castel, Alan D

    2017-04-01

    Ageing typically leads to various memory deficits which results in older adults' tendency to remember more general information and rely on gist memory. The current study examined if younger and older adults could remember which of two comparable grocery items (e.g., two similar but different jams) was paired with a lower price (the "better buy"). Participants studied lists of grocery items and their prices, in which the two items in each category were presented consecutively (Experiment 1), or separated by intervening items (Experiment 2). At test, participants were asked to identify the "better buy" and recall the price of both items. There were negligible age-related differences for the "better buy" in Experiment 1, but age-related differences were present in Experiment 2 when there were greater memory demands involved in comparing the two items. Together, these findings suggest that when price information of two items can be evaluated and compared within a short period of time, older adults can form stable gist-based memory for prices, but that this is impaired with longer delays. We relate the findings to age-related changes in the use of gist and verbatim memory when remembering prices, as well as the associative deficit account of cognitive ageing.

  19. Qudi: a modular python suite for experiment control and data processing

    DEFF Research Database (Denmark)

    Binder, Jan M.; Stark, Alexander; Tomek, Nikolas

    2017-01-01

    Qudi is a general, modular, multi-operating system suite written in Python 3 for controlling laboratory experiments. It provides a structured environment by separating functionality into hardware abstraction, experiment logic and user interface layers. The core feature set comprises a graphical...... user interface, live data visualization, distributed execution over networks, rapid prototyping via Jupyter notebooks, configuration management, and data recording. Currently, the included modules are focused on confocal microscopy, quantum optics and quantum information experiments, but an expansion...

  20. Biopython: freely available Python tools for computational molecular biology and bioinformatics

    DEFF Research Database (Denmark)

    Cock, Peter J A; Antao, Tiago; Chang, Jeffrey T

    2009-01-01

    SUMMARY: The Biopython project is a mature open source international collaboration of volunteer developers, providing Python libraries for a wide range of bioinformatics problems. Biopython includes modules for reading and writing different sequence file formats and multiple sequence alignments......, dealing with 3D macro molecular structures, interacting with common tools such as BLAST, ClustalW and EMBOSS, accessing key online databases, as well as providing numerical methods for statistical learning. AVAILABILITY: Biopython is freely available, with documentation and source code at (www...

  1. Update 0.2 to "pysimm: A python package for simulation of molecular systems"

    Science.gov (United States)

    Demidov, Alexander G.; Fortunato, Michael E.; Colina, Coray M.

    2018-01-01

    An update to the pysimm Python molecular simulation API is presented. A major part of the update is the implementation of a new interface with CASSANDRA - a modern, versatile Monte Carlo molecular simulation program. Several significant improvements in the LAMMPS communication module that allow better and more versatile simulation setup are reported as well. An example of an application implementing iterative CASSANDRA-LAMMPS interaction is illustrated.

  2. ‘ShruthLaikh’: Employing Python to Develop Vocabulary Enhancing Application

    Directory of Open Access Journals (Sweden)

    2010-09-01

    Full Text Available This paper presents how the power of Python, its various modules and Artificial Intelligence techniques can be integrated into a very useful and effective English spelling-correcting and vocabulary-enhancing application. The objective is to use the Python interface for various functionalities like text to speech, graphical user interface and sqlite3 database to integrate them into a single useful tool. The application is named as “ShruthLaikh”, which is a Hindi word for dictations. It has been demonstrated how this simple yet intelligent tool can help users to absorb word spellings in a very effective manner at the same time enhancing their retaining power. It also proves how Python as a programming language can be utilized effectively for the creation of powerful and user-friendly applications that can assist in more ways than one in revolutionizing the educational scene in nations across the world and the role that Python can play in imparting education in an innovative way.

  3. PyPathway: Python Package for Biological Network Analysis and Visualization.

    Science.gov (United States)

    Xu, Yang; Luo, Xiao-Chun

    2018-05-01

    Life science studies represent one of the biggest generators of large data sets, mainly because of rapid sequencing technological advances. Biological networks including interactive networks and human curated pathways are essential to understand these high-throughput data sets. Biological network analysis offers a method to explore systematically not only the molecular complexity of a particular disease but also the molecular relationships among apparently distinct phenotypes. Currently, several packages for Python community have been developed, such as BioPython and Goatools. However, tools to perform comprehensive network analysis and visualization are still needed. Here, we have developed PyPathway, an extensible free and open source Python package for functional enrichment analysis, network modeling, and network visualization. The network process module supports various interaction network and pathway databases such as Reactome, WikiPathway, STRING, and BioGRID. The network analysis module implements overrepresentation analysis, gene set enrichment analysis, network-based enrichment, and de novo network modeling. Finally, the visualization and data publishing modules enable users to share their analysis by using an easy web application. For package availability, see the first Reference.

  4. Unilateral microphthalmia or anophthalmia in eight pythons (Pythonidae).

    Science.gov (United States)

    Da Silva, Mari-Ann O; Bertelsen, Mads F; Wang, Tobias; Pedersen, Michael; Lauridsen, Henrik; Heegaard, Steffen

    2015-01-01

    To provide morphological descriptions of microphthalmia or anophthalmia in eight pythons using microcomputerized tomography (μCT), magnetic resonance imaging (MRI), and histopathology. Seven Burmese pythons (Python bivittatus) and one ball python (P. regius) with clinically normal right eyes and an abnormal or missing left eye. At the time of euthanasia, four of the eight snakes underwent necropsy. Hereafter, the heads of two Burmese pythons and one ball python were examined using μCT, and another Burmese python was subjected to MRI. Following these procedures, the heads of these four pythons along with the heads of an additional three Burmese pythons were prepared for histology. All eight snakes had left ocular openings seen as dermal invaginations between 0.2 and 2.0 mm in diameter. They also had varying degrees of malformations of the orbital bones and a limited presence of nervous, glandular, and muscle tissue in the posterior orbit. Two individuals had small but identifiable eyes. Furthermore, remnants of the pigmented embryonic framework of the hyaloid vessels were found in the anophthalmic snakes. Necropsies revealed no other macroscopic anomalies. Eight pythons with unilateral left-sided microphthalmia or anophthalmia had one normal eye and a left orbit with malformed or incompletely developed ocular structures along with remnants of fetal structures. These cases lend further information to a condition that is often seen in snakes, but infrequently described. © 2014 American College of Veterinary Ophthalmologists.

  5. Detection of nidoviruses in live pythons and boas.

    Science.gov (United States)

    Marschang, Rachel E; Kolesnik, Ekaterina

    2017-02-09

    Nidoviruses have recently been described as a putative cause of severe respiratory disease in pythons in the USA and Europe. The objective of this study was to establish the use of a conventional PCR for the detection of nidoviruses in samples from live animals and to extend the list of susceptible species. A PCR targeting a portion of ORF1a of python nidoviruses was used to detect nidoviruses in diagnostic samples from live boas and pythons. A total of 95 pythons, 84 boas and 22 snakes of unknown species were included in the study. Samples tested included oral swabs and whole blood. Nidoviruses were detected in 27.4% of the pythons and 2.4% of the boas tested. They were most commonly detected in ball pythons (Python [P.] regius) and Indian rock pythons (P. molurus), but were also detected for the first time in other python species, including Morelia spp. and Boa constrictor. Oral swabs were most commonly tested positive. The PCR described here can be used for the detection of nidoviruses in oral swabs from live snakes. These viruses appear to be relatively common among snakes in captivity in Europe and screening for these viruses should be considered in the clinical work-up. Nidoviruses are believed to be an important cause of respiratory disease in pythons, but can also infect boas. Detection of these viruses in live animals is now possible and can be of interest both in diseased animals as well as in quarantine situations.

  6. ParselTongue: AIPS Talking Python

    Science.gov (United States)

    Kettenis, M.; van Langevelde, H. J.; Reynolds, C.; Cotton, B.

    2006-07-01

    After more than 20 years of service, classic AIPS still is the data reduction package of choice for many radio-interferometry projects, especially for VLBI. Its age shows, most prominently in the limited scripting capabilities of its user interface: POPS. ParselTongue is an attempt to make the trusted AIPS algorithms and AIPS data structures available in a modern dynamic programming language: Python. It also provides an environment to do distributed computing to take advantage of modern computing clusters. This makes it suitable for use as a scripting interface for doing complicated data reduction on large data sets. It is also used as a coding platform for the new calibration algorithms that are being developed for the European VLBI Network as part of the ALBUS project. Here we hope to take advantage of Python's extensive support for web-based technologies to automate things like collecting calibration data.

  7. Transliterating non-ASCII characters with Python

    Directory of Open Access Journals (Sweden)

    Seth Bernstein

    2013-10-01

    Full Text Available This lesson shows how to use Python to transliterate automatically a list of words from a language with a non-Latin alphabet to a standardized format using the American Standard Code for Information Interchange (ASCII characters. It builds on readers’ understanding of Python from the lessons “Viewing HTML Files,” “Working with Web Pages,” “From HTML to List of Words (part 1” and “Intro to Beautiful Soup.” At the end of the lesson, we will use the transliteration dictionary to convert the names from a database of the Russian organization Memorial from Cyrillic into Latin characters. Although the example uses Cyrillic characters, the technique can be reproduced with other alphabets using Unicode.

  8. Gala: A Python package for galactic dynamics

    Science.gov (United States)

    Price-Whelan, Adrian M.

    2017-10-01

    Gala is an Astropy-affiliated Python package for galactic dynamics. Python enables wrapping low-level languages (e.g., C) for speed without losing flexibility or ease-of-use in the user-interface. The API for Gala was designed to provide a class-based and user-friendly interface to fast (C or Cython-optimized) implementations of common operations such as gravitational potential and force evaluation, orbit integration, dynamical transformations, and chaos indicators for nonlinear dynamics. Gala also relies heavily on and interfaces well with the implementations of physical units and astronomical coordinate systems in the Astropy package (astropy.units and astropy.coordinates). Gala was designed to be used by both astronomical researchers and by students in courses on gravitational dynamics or astronomy. It has already been used in a number of scientific publications and has also been used in graduate courses on Galactic dynamics to, e.g., provide interactive visualizations of textbook material.

  9. Experimentally derived salinity tolerance of hatchling Burmese pythons (Python molurus bivittatus) from the Everglades, Florida (USA)

    Science.gov (United States)

    Hart, Kristen M.; Schofield, Pamela J.; Gregoire, Denise R.

    2012-01-01

    In a laboratory setting, we tested the ability of 24 non-native, wild-caught hatchling Burmese pythons (Python molurus bivittatus) collected in the Florida Everglades to survive when given water containing salt to drink. After a one-month acclimation period in the laboratory, we grouped snakes into three treatments, giving them access to water that was fresh (salinity of 0, control), brackish (salinity of 10), or full-strength sea water (salinity of 35). Hatchlings survived about one month at the highest marine salinity and about five months at the brackish-water salinity; no control animals perished during the experiment. These results are indicative of a "worst-case scenario", as in the laboratory we denied access to alternate fresh-water sources that may be accessible in the wild (e.g., through rainfall). Therefore, our results may underestimate the potential of hatchling pythons to persist in saline habitats in the wild. Because of the effect of different salinity regimes on survival, predictions of ultimate geographic expansion by non-native Burmese pythons that consider salt water as barriers to dispersal for pythons may warrant re-evaluation, especially under global climate change and associated sea-level-rise scenarios.

  10. PyBus -- A Python Software Bus

    OpenAIRE

    Lavrijsen, W

    2005-01-01

    A software bus, just like its hardware equivalent, allows for the discovery, installation, configuration, loading, unloading, and run-time replacement of software components, as well as channeling of inter-component communication. Python, a popular open-source programming language, encourages a modular design on software written in it, but it offers little or no component functionality. However, the language and its interpreter provide sufficient hooks to implement a thin, integral layer...

  11. Py4Syn: Python for synchrotrons.

    Science.gov (United States)

    Slepicka, H H; Canova, H F; Beniz, D B; Piton, J R

    2015-09-01

    In this report, Py4Syn, an open-source Python-based library for data acquisition, device manipulation, scan routines and other helper functions, is presented. Driven by easy-to-use and scalability ideals, Py4Syn offers control system agnostic solution and high customization level for scans and data output, covering distinct techniques and facilities. Here, most of the library functionalities are described, examples of use are shown and ideas for future implementations are presented.

  12. Osteosarcoma in a woma python (Aspidites ramsayi).

    Science.gov (United States)

    Cowan, M L; Monks, D J; Raidal, S R

    2011-12-01

    Osteosarcoma of the axial skeleton in an 18-month-old woma python (Aspidites ramsayi) is described. A subcutaneous mass overlying the costal arches enlarged progressively over a period of 5 months and, in that time, became ulcerated and more invasive of surrounding tissues. A punch biopsy of the lesion under general anaesthesia provided tissue for histopathology and diagnosis of low-grade osteosarcoma. © 2011 The Authors. Australian Veterinary Journal © 2011 Australian Veterinary Association.

  13. MGtoolkit: A python package for implementing metagraphs

    Directory of Open Access Journals (Sweden)

    D. Ranathunga

    2017-01-01

    Full Text Available In this paper we present MGtoolkit : an open-source Python package for implementing metagraphs - a first of its kind. Metagraphs are commonly used to specify and analyse business and computer-network policies alike. MGtoolkit can help verify such policies and promotes learning and experimentation with metagraphs. The package currently provides purely textual output for visualising metagraphs and their analysis results.

  14. Saccular lung cannulation in a ball python (Python regius) to treat a tracheal obstruction.

    Science.gov (United States)

    Myers, Debbie A; Wellehan, James F X; Isaza, Ramiro

    2009-03-01

    An adult male ball python (Python regius) presented in a state of severe dyspnea characterized by open-mouth breathing and vertical positioning of the head and neck. The animal had copious discharge in the tracheal lumen acting as an obstruction. A tube was placed through the body wall into the caudal saccular aspect of the lung to allow the animal to breathe while treatment was initiated. The ball python's dyspnea immediately improved. Diagnostics confirmed a bacterial respiratory infection with predominantly Providencia rettgeri. The saccular lung (air sac) tube was removed after 13 days. Pulmonary endoscopy before closure showed minimal damage with a small amount of hemorrhage in the surrounding muscle tissue. Respiratory disease is a common occurrence in captive snakes and can be associated with significant morbidity and mortality. Saccular lung cannulation is a relatively simple procedure that can alleviate tracheal narrowing or obstruction, similar to air sac cannulation in birds.

  15. Predators in training: operant conditioning of novel behavior in wild Burmese pythons (Python molurus bivitattus).

    Science.gov (United States)

    Emer, Sherri A; Mora, Cordula V; Harvey, Mark T; Grace, Michael S

    2015-01-01

    Large pythons and boas comprise a group of animals whose anatomy and physiology are very different from traditional mammalian, avian and other reptilian models typically used in operant conditioning. In the current study, investigators used a modified shaping procedure involving successive approximations to train wild Burmese pythons (Python molurus bivitattus) to approach and depress an illuminated push button in order to gain access to a food reward. Results show that these large, wild snakes can be trained to accept extremely small food items, associate a stimulus with such rewards via operant conditioning and perform a contingent operant response to gain access to a food reward. The shaping procedure produced robust responses and provides a mechanism for investigating complex behavioral phenomena in massive snakes that are rarely studied in learning research.

  16. A new open-source Python-based Space Weather data access, visualization, and analysis toolkit

    Science.gov (United States)

    de Larquier, S.; Ribeiro, A.; Frissell, N. A.; Spaleta, J.; Kunduri, B.; Thomas, E. G.; Ruohoniemi, J.; Baker, J. B.

    2013-12-01

    Space weather research relies heavily on combining and comparing data from multiple observational platforms. Current frameworks exist to aggregate some of the data sources, most based on file downloads via web or ftp interfaces. Empirical models are mostly fortran based and lack interfaces with more useful scripting languages. In an effort to improve data and model access, the SuperDARN community has been developing a Python-based Space Science Data Visualization Toolkit (DaViTpy). At the center of this development was a redesign of how our data (from 30 years of SuperDARN radars) was made available. Several access solutions are now wrapped into one convenient Python interface which probes local directories, a new remote NoSQL database, and an FTP server to retrieve the requested data based on availability. Motivated by the efficiency of this interface and the inherent need for data from multiple instruments, we implemented similar modules for other space science datasets (POES, OMNI, Kp, AE...), and also included fundamental empirical models with Python interfaces to enhance data analysis (IRI, HWM, MSIS...). All these modules and more are gathered in a single convenient toolkit, which is collaboratively developed and distributed using Github and continues to grow. While still in its early stages, we expect this toolkit will facilitate multi-instrument space weather research and improve scientific productivity.

  17. Transcriptome Analysis of the Response of Burmese Python to Digestion

    OpenAIRE

    Duan, Jinjie; Sanggaard, Kristian Wejse; Schauser, Leif; Lauridsen, Sanne Enok; Enghild, Jan J.; Schierup, Mikkel Heide; Wang, Tobias

    2017-01-01

    Abstract Exceptional and extreme feeding behaviour makes the Burmese python (Python bivittatus) an interesting model to study physiological remodelling and metabolic adaptation in response to refeeding after prolonged starvation. In this study, we used transcriptome sequencing of 5 visceral organs during fasting as well as 24 hours and 48 hours after ingestion of a large meal to unravel the postprandial changes in Burmese pythons. We first used the pooled data to perform a de novo assembly of...

  18. PyMidas: Interface from Python to Midas

    Science.gov (United States)

    Maisala, Sami; Oittinen, Tero

    2014-01-01

    PyMidas is an interface between Python and MIDAS, the major ESO legacy general purpose data processing system. PyMidas allows a user to exploit both the rich legacy of MIDAS software and the power of Python scripting in a unified interactive environment. PyMidas also allows the usage of other Python-based astronomical analysis systems such as PyRAF.

  19. Interactive game programming with Python (CodeSkulptor)

    OpenAIRE

    Ajayi, Richard Olugbenga

    2014-01-01

    Over the years, several types of gaming platforms have been created to encourage a more organised and friendly atmosphere for game lovers in various works of life, culture, and environment. This thesis focuses on the concept of interactive programming using Python. It encourages the use of Python to create simple interactive games applications based on basic human concept and ideas. CodeSkulptor is a browser-based IDE programming environment and uses the Python programming language. O...

  20. Tangent: Automatic Differentiation Using Source Code Transformation in Python

    OpenAIRE

    van Merriënboer, Bart; Wiltschko, Alexander B.; Moldovan, Dan

    2017-01-01

    Automatic differentiation (AD) is an essential primitive for machine learning programming systems. Tangent is a new library that performs AD using source code transformation (SCT) in Python. It takes numeric functions written in a syntactic subset of Python and NumPy as input, and generates new Python functions which calculate a derivative. This approach to automatic differentiation is different from existing packages popular in machine learning, such as TensorFlow and Autograd. Advantages ar...

  1. HOPE: Just-in-time Python compiler for astrophysical computations

    Science.gov (United States)

    Akeret, Joel; Gamper, Lukas; Amara, Adam; Refregier, Alexandre

    2014-11-01

    HOPE is a specialized Python just-in-time (JIT) compiler designed for numerical astrophysical applications. HOPE focuses on a subset of the language and is able to translate Python code into C++ while performing numerical optimization on mathematical expressions at runtime. To enable the JIT compilation, the user only needs to add a decorator to the function definition. By using HOPE, the user benefits from being able to write common numerical code in Python while getting the performance of compiled implementation.

  2. Pro Android Python with SL4A Writing Android Native Apps Using Python, Lua, and Beanshell

    CERN Document Server

    Ferrill, Paul

    2011-01-01

    Pro Android Python with SL4A is for programmers and hobbyists who want to write apps for Android devices without having to learn Java first. Paul Ferrill leads you from installing the Scripting Layer for Android (SL4A) to writing small scripts, to more complicated and interesting projects, and finally to uploading and packaging your programs to an Android device. Android runs scripts in many scripting languages, but Python, Lua, and Beanshell are particularly popular. Most programmers know more than one programming language, so that they have the best tool for whatever task they want to accomp

  3. Subspectacular nematodiasis caused by a novel Serpentirhabdias species in ball pythons (Python regius).

    Science.gov (United States)

    Hausmann, J C; Mans, C; Dreyfus, J; Reavill, D R; Lucio-Forster, A; Bowman, D D

    2015-01-01

    Subspectacular nematodiasis was diagnosed in three captive-bred juvenile ball pythons (Python regius) from two unrelated facilities within a 6-month period. The snakes were presented with similar lesions, including swelling of facial, periocular and oral tissues. Bilaterally, the subspectacular spaces were distended and filled with an opaque fluid, which contained nematodes and eggs. Histopathology showed nematodes throughout the periocular tissue, subspectacular space and subcutaneous tissue of the head. The nematodes from both facilities were morphologically indistinguishable and most closely resembled Serpentirhabdias species. Morphological characterization and genetic sequencing indicate this is a previously undescribed rhabdiasid nematode. Copyright © 2014 Elsevier Ltd. All rights reserved.

  4. Re-imagining a Stata/Python combination

    OpenAIRE

    James Fiedler

    2013-01-01

    At last year’s Stata Conference, I presented some ideas for combining Stata and Python within a single interface. Two methods were presented; in one, Python was used to automate Stata, and in the other, Python was used to send simulated keystrokes to the Stata GUI. The first method has the drawback of only working in Windows, and the second can be slow and subject to character input limits. In this talk I will demonstrate a method for achieving interaction between Stata and Python which does ...

  5. PRACTICAL APPROACH FOR HYPERSPECTRAL IMAGE PROCESSING IN PYTHON

    OpenAIRE

    Annala, L.; Eskelinen, M. A.; Hämäläinen, J.; Riihinen, A.; Pölönen, I.

    2018-01-01

    Python is a very popular programming language among data scientists around the world. Python can also be used in hyperspectral data analysis. There are some toolboxes designed for spectral imaging, such as Spectral Python and HyperSpy, but there is a need for analysis pipeline, which is easy to use and agile for different solutions. We propose a Python pipeline which is built on packages xarray, Holoviews and scikit-learn. We have developed some of own tools, MaskAccessor, VisualisorAccessor ...

  6. Machine learning in Python essential techniques for predictive analysis

    CERN Document Server

    Bowles, Michael

    2015-01-01

    Learn a simpler and more effective way to analyze data and predict outcomes with Python Machine Learning in Python shows you how to successfully analyze data using only two core machine learning algorithms, and how to apply them using Python. By focusing on two algorithm families that effectively predict outcomes, this book is able to provide full descriptions of the mechanisms at work, and the examples that illustrate the machinery with specific, hackable code. The algorithms are explained in simple terms with no complex math and applied using Python, with guidance on algorithm selection, d

  7. Re-imagining a Stata/Python Combination

    Science.gov (United States)

    Fiedler, James

    2013-01-01

    At last year's Stata Conference, I presented some ideas for combining Stata and the Python programming language within a single interface. Two methods were presented: in one, Python was used to automate Stata; in the other, Python was used to send simulated keystrokes to the Stata GUI. The first method has the drawback of only working in Windows, and the second can be slow and subject to character input limits. In this presentation, I will demonstrate a method for achieving interaction between Stata and Python that does not suffer these drawbacks, and I will present some examples to show how this interaction can be useful.

  8. PLACE: an open-source python package for laboratory automation, control, and experimentation.

    Science.gov (United States)

    Johnson, Jami L; Tom Wörden, Henrik; van Wijk, Kasper

    2015-02-01

    In modern laboratories, software can drive the full experimental process from data acquisition to storage, processing, and analysis. The automation of laboratory data acquisition is an important consideration for every laboratory. When implementing a laboratory automation scheme, important parameters include its reliability, time to implement, adaptability, and compatibility with software used at other stages of experimentation. In this article, we present an open-source, flexible, and extensible Python package for Laboratory Automation, Control, and Experimentation (PLACE). The package uses modular organization and clear design principles; therefore, it can be easily customized or expanded to meet the needs of diverse laboratories. We discuss the organization of PLACE, data-handling considerations, and then present an example using PLACE for laser-ultrasound experiments. Finally, we demonstrate the seamless transition to post-processing and analysis with Python through the development of an analysis module for data produced by PLACE automation. © 2014 Society for Laboratory Automation and Screening.

  9. Multifocal gastrointestinal stromal tumor (GIST) of the stomach in an 11-year-old girl

    International Nuclear Information System (INIS)

    Park, Jin; Rubinas, Tara C.; Fordham, Lynn A.; Phillips, J.D.

    2006-01-01

    A previously healthy 11-year-old girl presented with an 8-month history of anemia and left upper quadrant abdominal pain. US examination demonstrated a 9-cm cystic mass with a fluid-fluid level in the left upper quadrant with unclear organ of origin. Abdominal MR imaging demonstrated a complex cystic mass, likely arising from the stomach. Additional T2 hyperintense submucosal lesions were identified in the gastric wall. Surgical excision confirmed the diagnosis of multifocal gastric gastrointestinal stromal tumor (GIST). MR imaging was helpful in suggesting a gastric origin of the primary mass and in demonstrating multifocal disease within the stomach. (orig.)

  10. False recall in the Deese–Roediger–McDermott paradigm: The roles of gist and associative strength

    Science.gov (United States)

    Cann, David R.; McRae, Ken; Katz, Albert N.

    2011-01-01

    Theories of false memories, particularly in the Deese–Roediger–McDermott (DRM) paradigm, focus on word association strength and gist. Backward associative strength (BAS) is a strong predictor of false recall in this paradigm. However, other than being defined as a measure of association between studied list words and falsely recalled nonpresented critical words, there is little understanding of this variable. In Experiment 1, we used a knowledge-type taxonomy to classify the semantic relations in DRM stimuli. These knowledge types predicted false-recall probability, as well as BAS itself, with the most important being situation features, synonyms, and taxonomic relations. In three subsequent experiments, we demonstrated that lists composed solely of situation features can elicit a gist and produce false memories, particularly when monitoring processes are made more difficult. Our results identify the semantic factors that underlie BAS and suggest how considering semantic relations leads to a better understanding of gist formation. PMID:21506047

  11. A postmortem experience of Indian rock python (Python molurus molurus that swallowed a whole barking deer

    Directory of Open Access Journals (Sweden)

    Amam Zonaed Siddiki

    2013-06-01

    Full Text Available The object of this study was to report a post mortem findings of a female Indian Rock Python with a length of 406 cm (13.32 feet and approximate weight of 60 kg (including a whole deer that was swallowed by the python, that was brought to the Teaching Veterinary Hospital, Chittagong Veterinary and Animal Sciences University (CVASU by the Forest Department of Kumira Range Office, Chittagong. The local inhabitants accidently found the python at the forest area of Kumira and they frightenedly injured and killed the snake eventually. The postmortem (PM examination was performed according to standard protocols. Gross examination revealed bloody discharge was come out through mouth and a couple of skin lacerations observed on the right dorso-lateral part of the abdominal region. The whole barrel-shaped body cavity was opened and whole deer (partially decomposed was recovered from the stomach. Furthermore, three fractured ribs were found on right thorax. The PM examination team believes that the possible cause of python death was traumatic injury inflicted by the local people. [Vet World 2013; 6(3.000: 163-165

  12. Trypanosoma cf. varani in an imported ball python (Python reginus) from Ghana.

    Science.gov (United States)

    Sato, Hiroshi; Takano, Ai; Kawabata, Hiroki; Une, Yumi; Watanabe, Haruo; Mukhtar, Maowia M

    2009-08-01

    Peripheral blood from a ball python (Python reginus) imported from Ghana was cultured in Barbour-Stoenner-Kelly (BSK) medium for Borrelia spp. isolation, resulting in the prominent appearance of free, and clusters of, trypanosomes in a variety of morphological forms. The molecular phylogenetic characterization of these cultured trypanosomes, using the small subunit rDNA, indicated that this python was infected with a species closely related to Trypanosoma varani Wenyon, 1908, originally described in the Nile monitor lizard (Varanus niloticus) from Sudan. Furthermore, nucleotide sequences of glycosomal glyceraldehyde-3-phosphate dehydrogenase gene of both isolates showed few differences. Giemsa-stained blood smears, prepared from the infected python 8 mo after the initial observation of trypanosomes in hemoculture, contained trypomastigotes with a broad body and a short, free flagellum; these most closely resembled the original description of T. varani, or T. voltariae Macfie, 1919 recorded in a black-necked spitting cobra (Naja nigricollis) from Ghana. It is highly possible that lizards and snakes could naturally share an identical trypanosome species. Alternatively, lizards and snakes in the same region might have closely related, but distinct, Trypanosoma species as a result of sympatric speciation. From multiple viewpoints, including molecular phylogenetic analyses, reappraisal of trypanosome species from a wide range of reptiles in Africa is needed to clarify the relationship of recorded species, or to unmask unrecorded species.

  13. Ball python nidovirus: a candidate etiologic agent for severe respiratory disease in Python regius.

    Science.gov (United States)

    Stenglein, Mark D; Jacobson, Elliott R; Wozniak, Edward J; Wellehan, James F X; Kincaid, Anne; Gordon, Marcus; Porter, Brian F; Baumgartner, Wes; Stahl, Scott; Kelley, Karen; Towner, Jonathan S; DeRisi, Joseph L

    2014-09-09

    A severe, sometimes fatal respiratory disease has been observed in captive ball pythons (Python regius) since the late 1990s. In order to better understand this disease and its etiology, we collected case and control samples and performed pathological and diagnostic analyses. Electron micrographs revealed filamentous virus-like particles in lung epithelial cells of sick animals. Diagnostic testing for known pathogens did not identify an etiologic agent, so unbiased metagenomic sequencing was performed. Abundant nidovirus-like sequences were identified in cases and were used to assemble the genome of a previously unknown virus in the order Nidovirales. The nidoviruses, which were not previously known to infect nonavian reptiles, are a diverse order that includes important human and veterinary pathogens. The presence of the viral RNA was confirmed in all diseased animals (n = 8) but was not detected in healthy pythons or other snakes (n = 57). Viral RNA levels were generally highest in the lung and other respiratory tract tissues. The 33.5-kb viral genome is the largest RNA genome yet described and shares canonical characteristics with other nidovirus genomes, although several features distinguish this from related viruses. This virus, which we named ball python nidovirus (BPNV), will likely establish a new genus in Torovirinae subfamily. The identification of a novel nidovirus in reptiles contributes to our understanding of the biology and evolution of related viruses, and its association with lung disease in pythons is a promising step toward elucidating an etiology for this long-standing veterinary disease. Ball pythons are popular pets because of their diverse coloration, generally nonaggressive behavior, and relatively small size. Since the 1990s, veterinarians have been aware of an infectious respiratory disease of unknown cause in ball pythons that can be fatal. We used unbiased shotgun sequencing to discover a novel virus in the order Nidovirales that was

  14. Computational physics problem solving with Python

    CERN Document Server

    Landau, Rubin H; Bordeianu, Cristian C

    2015-01-01

    The use of computation and simulation has become an essential part of the scientific process. Being able to transform a theory into an algorithm requires significant theoretical insight, detailed physical and mathematical understanding, and a working level of competency in programming. This upper-division text provides an unusually broad survey of the topics of modern computational physics from a multidisciplinary, computational science point of view. Its philosophy is rooted in learning by doing (assisted by many model programs), with new scientific materials as well as with the Python progr

  15. Rapid web development using AJAX and Python

    Energy Technology Data Exchange (ETDEWEB)

    Dolgert, A; Gibbons, L; Kuznetsov, V [Cornell University, Ithaca, NY 14853 (United States)], E-mail: vkuznet@gmail.com

    2008-07-15

    We discuss the rapid development of a large scale data discovery service for the CMS experiment using modern AJAX techniques and the Python language. To implement a flexible interface capable of accommodating several different versions of the DBS database, we used a 'stack' approach. Asynchronous JavaScript and XML (AJAX) together with an SQL abstraction layer, template engine, code generation tool and dynamic queries provide powerful tools for constructing interactive interfaces to large amounts of data. We show how the use of these tools, with rapid development in a modern scripting language, improved the scalability and usability of the the search interface for different user communities.

  16. Rapid web development using AJAX and Python

    International Nuclear Information System (INIS)

    Dolgert, A; Gibbons, L; Kuznetsov, V

    2008-01-01

    We discuss the rapid development of a large scale data discovery service for the CMS experiment using modern AJAX techniques and the Python language. To implement a flexible interface capable of accommodating several different versions of the DBS database, we used a 'stack' approach. Asynchronous JavaScript and XML (AJAX) together with an SQL abstraction layer, template engine, code generation tool and dynamic queries provide powerful tools for constructing interactive interfaces to large amounts of data. We show how the use of these tools, with rapid development in a modern scripting language, improved the scalability and usability of the the search interface for different user communities

  17. Scikit-spectra: Explorative Spectroscopy in Python

    Directory of Open Access Journals (Sweden)

    Adam Hughes

    2015-06-01

    Full Text Available Scikit-spectra is an intuitive framework for explorative spectroscopy in Python. Scikit-spectra leverages the Pandas library for powerful data processing to provide datastructures and an API designed for spectroscopy. Utilizing the new IPython Notebook widget system, scikit-spectra is headed towards a GUI when you want it, API when you need it approach to spectral analysis. As an application, analysis is presented of the surface-plasmon resonance shift in a solution of gold nanoparticles induced by proteins binding to the gold’s surface. Please refer to the scikit-spectra website for full documentation and support: http://hugadams.github.io/scikit-spectra/

  18. scikit-image: image processing in Python.

    Science.gov (United States)

    van der Walt, Stéfan; Schönberger, Johannes L; Nunez-Iglesias, Juan; Boulogne, François; Warner, Joshua D; Yager, Neil; Gouillart, Emmanuelle; Yu, Tony

    2014-01-01

    scikit-image is an image processing library that implements algorithms and utilities for use in research, education and industry applications. It is released under the liberal Modified BSD open source license, provides a well-documented API in the Python programming language, and is developed by an active, international team of collaborators. In this paper we highlight the advantages of open source to achieve the goals of the scikit-image library, and we showcase several real-world image processing applications that use scikit-image. More information can be found on the project homepage, http://scikit-image.org.

  19. scikit-image: image processing in Python

    Directory of Open Access Journals (Sweden)

    Stéfan van der Walt

    2014-06-01

    Full Text Available scikit-image is an image processing library that implements algorithms and utilities for use in research, education and industry applications. It is released under the liberal Modified BSD open source license, provides a well-documented API in the Python programming language, and is developed by an active, international team of collaborators. In this paper we highlight the advantages of open source to achieve the goals of the scikit-image library, and we showcase several real-world image processing applications that use scikit-image. More information can be found on the project homepage, http://scikit-image.org.

  20. Somatic loss of function mutations in neurofibromin 1 and MYC associated factor X genes identified by exome-wide sequencing in a wild-type GIST case

    International Nuclear Information System (INIS)

    Belinsky, Martin G.; Rink, Lori; Cai, Kathy Q.; Capuzzi, Stephen J.; Hoang, Yen; Chien, Jeremy; Godwin, Andrew K.; Mehren, Margaret von

    2015-01-01

    Approximately 10–15 % of gastrointestinal stromal tumors (GISTs) lack gain of function mutations in the KIT and platelet-derived growth factor receptor alpha (PDGFRA) genes. An alternate mechanism of oncogenesis through loss of function of the succinate-dehydrogenase (SDH) enzyme complex has been identified for a subset of these “wild type” GISTs. Paired tumor and normal DNA from an SDH-intact wild-type GIST case was subjected to whole exome sequencing to identify the pathogenic mechanism(s) in this tumor. Selected findings were further investigated in panels of GIST tumors through Sanger DNA sequencing, quantitative real-time PCR, and immunohistochemical approaches. A hemizygous frameshift mutation (p.His2261Leufs*4), in the neurofibromin 1 (NF1) gene was identified in the patient’s GIST; however, no germline NF1 mutation was found. A somatic frameshift mutation (p.Lys54Argfs*31) in the MYC associated factor X (MAX) gene was also identified. Immunohistochemical analysis for MAX on a large panel of GISTs identified loss of MAX expression in the MAX-mutated GIST and in a subset of mainly KIT-mutated tumors. This study suggests that inactivating NF1 mutations outside the context of neurofibromatosis may be the oncogenic mechanism for a subset of sporadic GIST. In addition, loss of function mutation of the MAX gene was identified for the first time in GIST, and a broader role for MAX in GIST progression was suggested. The online version of this article (doi:10.1186/s12885-015-1872-y) contains supplementary material, which is available to authorized users

  1. SpiceyPy, a Python Wrapper for SPICE

    Science.gov (United States)

    Annex, A.

    2017-06-01

    SpiceyPy is an open source Python wrapper for the NAIF SPICE toolkit. It is available for macOS, Linux, and Windows platforms and for Python versions 2.7.x and 3.x as well as Anaconda. SpiceyPy can be installed by running: “pip install spiceypy.”

  2. Cost versus precision for approximate typing for Python

    NARCIS (Netherlands)

    Fritz, Levin; Hage, J.

    2017-01-01

    In this paper we describe a variation of monotone frameworks that enables us to perform approximate typing of Python, in particular for dealing with some of its more dynamic features such as first-class functions and Python's dynamic class system. We additionally introduce a substantial number of

  3. MEG and EEG data analysis with MNE-Python

    Directory of Open Access Journals (Sweden)

    Alexandre eGramfort

    2013-12-01

    Full Text Available Magnetoencephalography and electroencephalography (M/EEG measure the weakelectromagnetic signals generated by neuronal activity in the brain. Using thesesignals to characterize and locate neural activation in the brain is achallenge that requires expertise in physics, signalprocessing, statistics, and numerical methods. As part of the MNE softwaresuite, MNE-Python is an open-sourcesoftware package that addresses this challenge by providingstate-of-the-art algorithms implemented in Python that cover multiple methods of data preprocessing, source localization, statistical analysis, and estimation offunctional connectivity between distributed brain regions.All algorithms and utility functions are implemented in a consistent manner with well-documented interfaces, enabling users to create M/EEG data analysispipelines by writing Python scripts.Moreover, MNE-Python is tightly integrated with the core Python libraries for scientificcomptutation (Numpy, Scipy and visualization (matplotlib and Mayavi, as wellas the greater neuroimaging ecosystem in Python via the Nibabel package. The code is provided under the new BSD licenseallowing code reuse, even in commercial products. Although MNE-Python has onlybeen under heavy development for a couple of years, it has rapidly evolved withexpanded analysis capabilities and pedagogical tutorials because multiple labs have collaborated during code development to help share best practices.MNE-Python also gives easy access to preprocessed datasets,helping users to get started quickly and facilitating reproducibility ofmethods by other researchers. Full documentation, including dozens ofexamples, is available at http://martinos.org/mne.

  4. Geoplotlib: a Python Toolbox for Visualizing Geographical Data

    OpenAIRE

    Cuttone, Andrea; Lehmann, Sune; Larsen, Jakob Eg

    2016-01-01

    We introduce geoplotlib, an open-source python toolbox for visualizing geographical data. geoplotlib supports the development of hardware-accelerated interactive visualizations in pure python, and provides implementations of dot maps, kernel density estimation, spatial graphs, Voronoi tesselation, shapefiles and many more common spatial visualizations. We describe geoplotlib design, functionalities and use cases.

  5. pupyMPI - MPI implemented in pure Python

    DEFF Research Database (Denmark)

    Bromer, Rune; Hantho, Frederik; Vinter, Brian

    2011-01-01

    As distributed memory systems have become common, the de facto standard for communication is still the Message Passing Interface (MPI). pupyMPI is a pure Python implementation of a broad subset of the MPI 1.3 specifications that allows Python programmers to utilize multiple CPUs with datatypes...

  6. Pyndri: a Python Interface to the Indri Search Engine

    NARCIS (Netherlands)

    Van Gysel, C.; Kanoulas, E.; de Rijke, M.; Jose, J.M.; Hauff, C.; Altıngovde, I.S.; Song, D.; Albakour, D.; Watt, S.; Tait, J.

    2017-01-01

    We introduce pyndri, a Python interface to the Indri search engine. Pyndri allows to access Indri indexes from Python at two levels: (1) dictionary and tokenized document collection, (2) evaluating queries on the index. We hope that with the release of pyndri, we will stimulate reproducible, open

  7. Reimplementing a Multi-Agent System in Python

    DEFF Research Database (Denmark)

    Villadsen, Jørgen; Jensen, Andreas Schmidt; Ettienne, Mikko Berggren

    2012-01-01

    We provide a brief description of our Python-DTU system, including the overall design, the tools and the algorithms that we used in the Multi-Agent Programming Contest 2012, where the scenario was called Agents on Mars like in 2011. Our solution is an improvement of our Python-DTU system from last...

  8. Expyriment: A Python library for cognitive and neuroscientific experiments

    NARCIS (Netherlands)

    Krause, F.; Lindemann, O.

    2014-01-01

    Expyriment is an open-source and platform-independent lightweight Python library for designing and conducting timing-critical behavioral and neuroimaging experiments. The major goal is to provide a well-structured Python library for script-based experiment development, with a high priority being the

  9. Reimplementing a Multi-Agent System in Python

    DEFF Research Database (Denmark)

    Villadsen, Jørgen; Jensen, Andreas Schmidt; Ettienne, Mikko Berggren

    2013-01-01

    We provide a brief description of our Python-DTU system, including the overall design, the tools and the algorithms that we used in the Multi-Agent Programming Contest 2012, where the scenario was called Agents on Mars like in 2011. Our solution is an improvement of our Python-DTU system from last...

  10. In Silico Analysis of Gene Expression Network Components Underlying Pigmentation Phenotypes in the Python Identified Evolutionarily Conserved Clusters of Transcription Factor Binding Sites

    Directory of Open Access Journals (Sweden)

    Kristopher J. L. Irizarry

    2016-01-01

    Full Text Available Color variation provides the opportunity to investigate the genetic basis of evolution and selection. Reptiles are less studied than mammals. Comparative genomics approaches allow for knowledge gained in one species to be leveraged for use in another species. We describe a comparative vertebrate analysis of conserved regulatory modules in pythons aimed at assessing bioinformatics evidence that transcription factors important in mammalian pigmentation phenotypes may also be important in python pigmentation phenotypes. We identified 23 python orthologs of mammalian genes associated with variation in coat color phenotypes for which we assessed the extent of pairwise protein sequence identity between pythons and mouse, dog, horse, cow, chicken, anole lizard, and garter snake. We next identified a set of melanocyte/pigment associated transcription factors (CREB, FOXD3, LEF-1, MITF, POU3F2, and USF-1 that exhibit relatively conserved sequence similarity within their DNA binding regions across species based on orthologous alignments across multiple species. Finally, we identified 27 evolutionarily conserved clusters of transcription factor binding sites within ~200-nucleotide intervals of the 1500-nucleotide upstream regions of AIM1, DCT, MC1R, MITF, MLANA, OA1, PMEL, RAB27A, and TYR from Python bivittatus. Our results provide insight into pigment phenotypes in pythons.

  11. Stimfit: quantifying electrophysiological data with Python

    Directory of Open Access Journals (Sweden)

    Segundo Jose Guzman

    2014-02-01

    Full Text Available Intracellular electrophysiological recordings provide crucial insights into elementary neuronal signals such as action potentials and synaptic currents. Analyzing and interpreting these signals is essential for a quantitative understanding of neuronal information processing, and requires both fast data visualization and ready access to complex analysis routines. To achieve this goal, we have developed Stimfit, a free software package for cellular neurophysiology with a Python scripting interface and a built-in Python shell. The program supports most standard file formats for cellular neurophysiology and other biomedical signals through the Biosig library. To quantify and interpret the activity of single neurons and communication between neurons, the program includes algorithms to characterize the kinetics of presynaptic action potentials and postsynaptic currents, estimate latencies between pre- and postsynaptic events, and detect spontaneously occurring events. We validate and benchmark these algorithms, give estimation errors, and provide sample use cases, showing that Stimfit represents an efficient, accessible and extensible way to accurately analyze and interpret neuronal signals.

  12. Writing analytic element programs in Python.

    Science.gov (United States)

    Bakker, Mark; Kelson, Victor A

    2009-01-01

    The analytic element method is a mesh-free approach for modeling ground water flow at both the local and the regional scale. With the advent of the Python object-oriented programming language, it has become relatively easy to write analytic element programs. In this article, an introduction is given of the basic principles of the analytic element method and of the Python programming language. A simple, yet flexible, object-oriented design is presented for analytic element codes using multiple inheritance. New types of analytic elements may be added without the need for any changes in the existing part of the code. The presented code may be used to model flow to wells (with either a specified discharge or drawdown) and streams (with a specified head). The code may be extended by any hydrogeologist with a healthy appetite for writing computer code to solve more complicated ground water flow problems. Copyright © 2009 The Author(s). Journal Compilation © 2009 National Ground Water Association.

  13. A student's guide to Python for physical modeling

    CERN Document Server

    Kinder, Jesse M

    2015-01-01

    Python is a computer programming language that is rapidly gaining popularity throughout the sciences. A Student’s Guide to Python for Physical Modeling aims to help you, the student, teach yourself enough of the Python programming language to get started with physical modeling. You will learn how to install an open-source Python programming environment and use it to accomplish many common scientific computing tasks: importing, exporting, and visualizing data; numerical analysis; and simulation. No prior programming experience is assumed. This tutorial focuses on fundamentals and introduces a wide range of useful techniques, including: Basic Python programming and scripting Numerical arrays Two- and three-dimensional graphics Monte Carlo simulations Numerical methods, including solving ordinary differential equations Image processing Animation Numerous code samples and exercises—with solutions—illustrate new ideas as they are introduced. A website that accompanies this guide provides additional resourc...

  14. A facility for creating Python extensions in C++

    International Nuclear Information System (INIS)

    Dubois, P F

    1998-01-01

    Python extensions are usually created by writing the glue that connects Python to the desired new functionality in the C language. While simple extensions do not require much effort, to do the job correctly with full error checking is tedious and prone to errors in reference counting and to memory leaks, especially when errors occur. The resulting program is difficult to read and maintain. By designing suitable C++ classes to wrap the Python C API, we are able to produce extensions that are correct and which clean up after themselves correctly when errors occur. This facility also integrates the C++ and Python exception facilities. This paper briefly describes our package for this purpose, named CXX. The emphasis is on our design choices and the way these contribute to the construction of accurate Python extensions. We also briefly relate the way CXX's facilities for sequence classes allow use of C++'s Standard Template Library (STL) algorithms on C++ sequences

  15. Report on the observed response of Javan lutungs (Trachypithecus auratus mauritius) upon encountering a reticulated python (Python reticulatus).

    Science.gov (United States)

    Tsuji, Yamato; Prayitno, Bambang; Suryobroto, Bambang

    2016-04-01

    We observed an encounter between a reticulated python (Python reticulatus) and a group of wild Javan lutungs (Trachypithecus auratus mauritius) at the Pangandaran Nature Reserve, West Java, Indonesia. A python (about 2 m in length) moved toward a group of lutungs in the trees. Upon seeing the python, an adult male and several adult female lutungs began to emit alarm calls. As the python approached, two adult and one sub-adult female jumped onto a branch near the python and began mobbing the python by shaking the branch. During the mobbing, other individuals in the group (including an adult lutung male) remained nearby but did not participate. The python then rolled into a ball-like shape and stopped moving, at which point the lutungs moved away. The total duration of the encounter was about 40 min, during which time the lutungs stopped feeding and grooming. Group cohesiveness during and after the encounter was greater than that before the encounter, indicating that lutungs adjust their daily activity in response to potential predation risk.

  16. ObspyDMT: a Python toolbox for retrieving and processing large seismological data sets

    Directory of Open Access Journals (Sweden)

    K. Hosseini

    2017-10-01

    Full Text Available We present obspyDMT, a free, open-source software toolbox for the query, retrieval, processing and management of seismological data sets, including very large, heterogeneous and/or dynamically growing ones. ObspyDMT simplifies and speeds up user interaction with data centers, in more versatile ways than existing tools. The user is shielded from the complexities of interacting with different data centers and data exchange protocols and is provided with powerful diagnostic and plotting tools to check the retrieved data and metadata. While primarily a productivity tool for research seismologists and observatories, easy-to-use syntax and plotting functionality also make obspyDMT an effective teaching aid. Written in the Python programming language, it can be used as a stand-alone command-line tool (requiring no knowledge of Python or can be integrated as a module with other Python codes. It facilitates data archiving, preprocessing, instrument correction and quality control – routine but nontrivial tasks that can consume much user time. We describe obspyDMT's functionality, design and technical implementation, accompanied by an overview of its use cases. As an example of a typical problem encountered in seismogram preprocessing, we show how to check for inconsistencies in response files of two example stations. We also demonstrate the fully automated request, remote computation and retrieval of synthetic seismograms from the Synthetics Engine (Syngine web service of the Data Management Center (DMC at the Incorporated Research Institutions for Seismology (IRIS.

  17. ObspyDMT: a Python toolbox for retrieving and processing large seismological data sets

    Science.gov (United States)

    Hosseini, Kasra; Sigloch, Karin

    2017-10-01

    We present obspyDMT, a free, open-source software toolbox for the query, retrieval, processing and management of seismological data sets, including very large, heterogeneous and/or dynamically growing ones. ObspyDMT simplifies and speeds up user interaction with data centers, in more versatile ways than existing tools. The user is shielded from the complexities of interacting with different data centers and data exchange protocols and is provided with powerful diagnostic and plotting tools to check the retrieved data and metadata. While primarily a productivity tool for research seismologists and observatories, easy-to-use syntax and plotting functionality also make obspyDMT an effective teaching aid. Written in the Python programming language, it can be used as a stand-alone command-line tool (requiring no knowledge of Python) or can be integrated as a module with other Python codes. It facilitates data archiving, preprocessing, instrument correction and quality control - routine but nontrivial tasks that can consume much user time. We describe obspyDMT's functionality, design and technical implementation, accompanied by an overview of its use cases. As an example of a typical problem encountered in seismogram preprocessing, we show how to check for inconsistencies in response files of two example stations. We also demonstrate the fully automated request, remote computation and retrieval of synthetic seismograms from the Synthetics Engine (Syngine) web service of the Data Management Center (DMC) at the Incorporated Research Institutions for Seismology (IRIS).

  18. Pygrass: An Object Oriented Python Application Programming Interface (API for Geographic Resources Analysis Support System (GRASS Geographic Information System (GIS

    Directory of Open Access Journals (Sweden)

    Marco Ciolli

    2013-03-01

    Full Text Available PyGRASS is an object-oriented Python Application Programming Interface (API for Geographic Resources Analysis Support System (GRASS Geographic Information System (GIS, a powerful open source GIS widely used in academia, commercial settings and governmental agencies. We present the architecture of the PyGRASS library, covering interfaces to GRASS modules, vector and raster data, with a focus on the new capabilities that it provides to GRASS users and developers. Our design concept of the module interface allows the direct linking of inputs and outputs of GRASS modules to create process chains, including compatibility checks, process control and error handling. The module interface was designed to be easily extended to work with remote processing services (Web Processing Service (WPS, Web Service Definition Language (WSDL/Simple Object Access Protocol (SOAP. The new object-oriented Python programming API introduces an abstract layer that opens the possibility to use and access transparently the efficient raster and vector functions of GRASS that are implemented in C. The design goal was to provide an easy to use, but powerful, Python interface for users and developers who are not familiar with the programming language C and with the GRASS C-API. We demonstrate the capabilities, scalability and performance of PyGRASS with several dedicated tests and benchmarks. We compare and discuss the results of the benchmarks with dedicated C implementations.

  19. A modern Python interface for the Generic Mapping Tools

    Science.gov (United States)

    Uieda, L.; Wessel, P.

    2017-12-01

    Figures generated by The Generic Mapping Tools (GMT) are present in countless publications across the Earth sciences. The command-line interface of GMT lends the tool its flexibility but also creates a barrier to entry for begginers. Meanwhile, adoption of the Python programming language has grown across the scientific community. This growth is largely due to the simplicity and low barrier to entry of the language and its ecosystem of tools. Thus, it is not surprising that there have been at least three attempts to create Python interfaces for GMT: gmtpy (github.com/emolch/gmtpy), pygmt (github.com/ian-r-rose/pygmt), and PyGMT (github.com/glimmer-cism/PyGMT). None of these projects are currently active and, with the exception of pygmt, they do not use the GMT Application Programming Interface (API) introduced in GMT 5. The two main Python libraries for plotting data on maps are the matplotlib Basemap toolkit (matplotlib.org/basemap) and Cartopy (scitools.org.uk/cartopy), both of which rely on matplotlib (matplotlib.org) as the backend for generating the figures. Basemap is known to have limitations and is being discontinued. Cartopy is an improvement over Basemap but is still bound by the speed and memory constraints of matplotlib. We present a new Python interface for GMT (GMT/Python) that makes use of the GMT API and of new features being developed for the upcoming GMT 6 release. The GMT/Python library is designed according to the norms and styles of the Python community. The library integrates with the scientific Python ecosystem by using the "virtual files" from the GMT API to implement input and output of Python data types (numpy "ndarray" for tabular data and xarray "Dataset" for grids). Other features include an object-oriented interface for creating figures, the ability to display figures in the Jupyter notebook, and descriptive aliases for GMT arguments (e.g., "region" instead of "R" and "projection" instead of "J"). GMT/Python can also serve as a backend

  20. Programming for computations Python : a gentle introduction to numerical simulations with Python

    CERN Document Server

    Linge, Svein

    2016-01-01

    This book presents computer programming as a key method for solving mathematical problems. There are two versions of the book, one for MATLAB and one for Python. The book was inspired by the Springer book TCSE 6: A Primer on Scientific Programming with Python (by Langtangen), but the style is more accessible and concise, in keeping with the needs of engineering students. The book outlines the shortest possible path from no previous experience with programming to a set of skills that allows the students to write simple programs for solving common mathematical problems with numerical methods in engineering and science courses. The emphasis is on generic algorithms, clean design of programs, use of functions, and automatic tests for verification.

  1. Lectin histochemical aspects of mucus function in the oesophagus of the reticulated python (Python reticulatus).

    Science.gov (United States)

    Meyer, W; Luz, S; Schnapper, A

    2009-08-01

    Using lectin histochemistry, the study characterizes basic functional aspects of the mucus produced by the oesophageal epithelium of the Reticulated python (Python reticulatus). Reaction staining varied as related to the two epithelium types present, containing goblet cells and ciliary cells. Remarkable intensities were achieved especially in the luminal mucus layer and the fine mucus covering the epithelial ciliary border for Con A (alpha-D-Man; alpha-D-Glc) as part of neutral glycoproteins, Limax flavus agglutinin (NeuNac = NeuNgc), emphasizing that water binding hyaluronan provides a hydrated interface conductive to the passage of material and UEA-I (alpha-L-Fuc), corroborating the view that fucose-rich highly viscous mucus is helpful against mechanical stress during prey transport.

  2. Ultrasonographic diagnosis of an endocarditis valvularis in a Burmese python (Python molurus bivittatus) with pneumonia.

    Science.gov (United States)

    Schroff, Sandra; Schmidt, Volker; Kiefer, Ingmar; Krautwald-Junghanns, Maria-Elisabeth; Pees, Michael

    2010-12-01

    An 11-yr-old Burmese python (Python molurus bivittatus) was presented with a history of respiratory symptoms. Computed tomography and an endoscopic examination of the left lung were performed and revealed severe pneumonia. Microbiologic examination of a tracheal wash sample and an endoscopy-guided sample from the lung confirmed infection with Salmonella enterica ssp. IV, Enterobacter cloacae, and Klebsiella pneumoniae. Computed tomographic examination demonstrated a hyperattenuated structure within the heart. Echocardiographic examination revealed a hyperechoic mass at the pulmonic valve as well as a dilated truncus pulmonalis. As therapy for pneumonia was ineffective, the snake was euthanized. Postmortem examination confirmed pneumonia and infective endocarditis of the pulmonic valve caused by septicemia with Salmonella enterica ssp. IV. Focal arteriosclerosis of the pulmonary trunk was also diagnosed. The case presented here demonstrates the possible connection between respiratory and cardiovascular diseases in snakes.

  3. batman: BAsic Transit Model cAlculatioN in Python

    Science.gov (United States)

    Kreidberg, Laura

    2015-11-01

    I introduce batman, a Python package for modeling exoplanet transit light curves. The batman package supports calculation of light curves for any radially symmetric stellar limb darkening law, using a new integration algorithm for models that cannot be quickly calculated analytically. The code uses C extension modules to speed up model calculation and is parallelized with OpenMP. For a typical light curve with 100 data points in transit, batman can calculate one million quadratic limb-darkened models in 30 seconds with a single 1.7 GHz Intel Core i5 processor. The same calculation takes seven minutes using the four-parameter nonlinear limb darkening model (computed to 1 ppm accuracy). Maximum truncation error for integrated models is an input parameter that can be set as low as 0.001 ppm, ensuring that the community is prepared for the precise transit light curves we anticipate measuring with upcoming facilities. The batman package is open source and publicly available at https://github.com/lkreidberg/batman .

  4. Hyperopt: a Python library for model selection and hyperparameter optimization

    Science.gov (United States)

    Bergstra, James; Komer, Brent; Eliasmith, Chris; Yamins, Dan; Cox, David D.

    2015-01-01

    Sequential model-based optimization (also known as Bayesian optimization) is one of the most efficient methods (per function evaluation) of function minimization. This efficiency makes it appropriate for optimizing the hyperparameters of machine learning algorithms that are slow to train. The Hyperopt library provides algorithms and parallelization infrastructure for performing hyperparameter optimization (model selection) in Python. This paper presents an introductory tutorial on the usage of the Hyperopt library, including the description of search spaces, minimization (in serial and parallel), and the analysis of the results collected in the course of minimization. This paper also gives an overview of Hyperopt-Sklearn, a software project that provides automatic algorithm configuration of the Scikit-learn machine learning library. Following Auto-Weka, we take the view that the choice of classifier and even the choice of preprocessing module can be taken together to represent a single large hyperparameter optimization problem. We use Hyperopt to define a search space that encompasses many standard components (e.g. SVM, RF, KNN, PCA, TFIDF) and common patterns of composing them together. We demonstrate, using search algorithms in Hyperopt and standard benchmarking data sets (MNIST, 20-newsgroups, convex shapes), that searching this space is practical and effective. In particular, we improve on best-known scores for the model space for both MNIST and convex shapes. The paper closes with some discussion of ongoing and future work.

  5. Amnesiacs might get the gist: reduced false recognition in amnesia may be the result of impaired item-specific memory.

    Science.gov (United States)

    Nissan, Jack; Abrahams, Sharon; Sala, Sergio Della

    2013-01-01

    It is a common finding in tests of false recognition that amnesic patients recognize fewer related lures than healthy controls, and this has led to assumptions that gist memory is damaged in these patients (Schacter, Verfaellie, & Anes, 1997, Neuropsychology, 11; Schacter, Verfaellie, Anes, & Racine, 1998, Journal of Cognitive Neuroscience, 10; Schacter, Verfaellie, & Pradere, 1996, Journal of Memory and Language, 35). However, clinical observations find that amnesic patients typically hold meaningful conversations and make relevant remarks, and there is some experimental evidence highlighting preserved immediate recall of prose (Baddeley & Wilson, 2002, Neuropsychologia, 40; Gooding, Isaac, & Mayes, 2005, Neuropsychologia, 43; Rosenbaum, Gilboa, Levine, Winocur, & Moscovitch, 2009, Neuropsychologia, 47), which suggests that amnesiacs can get the gist. The present experiment used false recognition paradigms to assess whether the reduced rate of false recognition found in amnesic patients may be a consequence of their impaired item-specific memory. It examined the effect of increasing the item-specific memory of amnesic patient DA by bringing her to criterion on relevant study-lists and compared her performance on a false recognition paradigm with a group of 32 healthy young adults. Results indicated that when DA's item-specific memory was increased she was more able to gist and her performance was no different to the healthy young adults. Previous assumptions that gist memory is necessarily damaged in amnesia might therefore be revisited, since the reduced rate of false recognition could be caused by impaired item-specific memory. The experiment also highlights a positive relationship between item-specific and gist memory which has not previously been accounted for in false-recognition experiments.

  6. PyMOOSE: interoperable scripting in Python for MOOSE

    Directory of Open Access Journals (Sweden)

    Subhasis Ray

    2008-12-01

    Full Text Available Python is emerging as a common scripting language for simulators. This opens up many possibilities for interoperability in the form of analysis, interfaces, and communications between simulators. We report the integration of Python scripting with the Multi-scale Object Oriented Simulation Environment (MOOSE. MOOSE is a general-purpose simulation system for compartmental neuronal models and for models of signaling pathways based on chemical kinetics. We show how the Python-scripting version of MOOSE, PyMOOSE, combines the power of a compiled simulator with the versatility and ease of use of Python. We illustrate this by using Python numerical libraries to analyze MOOSE output online, and by developing a GUI in Python/Qt for a MOOSE simulation. Finally, we build and run a composite neuronal/signaling model that uses both the NEURON and MOOSE numerical engines, and Python as a bridge between the two. Thus PyMOOSE has a high degree of interoperability with analysis routines, with graphical toolkits, and with other simulators.

  7. Python in the NERSC Exascale Science Applications Program for Data

    Energy Technology Data Exchange (ETDEWEB)

    Ronaghi, Zahra; Thomas, Rollin; Deslippe, Jack; Bailey, Stephen; Gursoy, Doga; Kisner, Theodore; Keskitalo, Reijo; Borrill, Julian

    2017-11-12

    We describe a new effort at the National Energy Re- search Scientific Computing Center (NERSC) in performance analysis and optimization of scientific Python applications targeting the Intel Xeon Phi (Knights Landing, KNL) many- core architecture. The Python-centered work outlined here is part of a larger effort called the NERSC Exascale Science Applications Program (NESAP) for Data. NESAP for Data focuses on applications that process and analyze high-volume, high-velocity data sets from experimental/observational science (EOS) facilities supported by the US Department of Energy Office of Science. We present three case study applications from NESAP for Data that use Python. These codes vary in terms of “Python purity” from applications developed in pure Python to ones that use Python mainly as a convenience layer for scientists without expertise in lower level programming lan- guages like C, C++ or Fortran. The science case, requirements, constraints, algorithms, and initial performance optimizations for each code are discussed. Our goal with this paper is to contribute to the larger conversation around the role of Python in high-performance computing today and tomorrow, highlighting areas for future work and emerging best practices

  8. Reduction of blood oxygen levels enhances postprandial cardiac hypertrophy in Burmese python (Python bivittatus).

    Science.gov (United States)

    Slay, Christopher E; Enok, Sanne; Hicks, James W; Wang, Tobias

    2014-05-15

    Physiological cardiac hypertrophy is characterized by reversible enlargement of cardiomyocytes and changes in chamber architecture, which increase stroke volume and via augmented convective oxygen transport. Cardiac hypertrophy is known to occur in response to repeated elevations of O2 demand and/or reduced O2 supply in several species of vertebrate ectotherms, including postprandial Burmese pythons (Python bivittatus). Recent data suggest postprandial cardiac hypertrophy in P. bivittatus is a facultative rather than obligatory response to digestion, though the triggers of this response are unknown. Here, we hypothesized that an O2 supply-demand mismatch stimulates postprandial cardiac enlargement in Burmese pythons. To test this hypothesis, we rendered animals anemic prior to feeding, essentially halving blood oxygen content during the postprandial period. Fed anemic animals had heart rates 126% higher than those of fasted controls, which, coupled with a 71% increase in mean arterial pressure, suggests fed anemic animals were experiencing significantly elevated cardiac work. We found significant cardiac hypertrophy in fed anemic animals, which exhibited ventricles 39% larger than those of fasted controls and 28% larger than in fed controls. These findings support our hypothesis that those animals with a greater magnitude of O2 supply-demand mismatch exhibit the largest hearts. The 'low O2 signal' stimulating postprandial cardiac hypertrophy is likely mediated by elevated ventricular wall stress associated with postprandial hemodynamics. © 2014. Published by The Company of Biologists Ltd.

  9. Effect of laser treatment on first-intention incisional wound healing in ball pythons (Python regius).

    Science.gov (United States)

    Cole, Grayson L; Lux, Cassie N; Schumacher, Juergen P; Seibert, Rachel L; Sadler, Ryan A; Henderson, Andrea L; Odoi, Agricola; Newkirk, Kim M

    2015-10-01

    To evaluate effects of laser treatment on incisional wound healing in ball pythons (Python regius). 6 healthy adult ball pythons. Snakes were sedated, a skin biopsy specimen was collected for histologic examination, and eight 2-cm skin incisions were made in each snake; each incision was closed with staples (day 0). Gross evaluation of all incision sites was performed daily for 30 days, and a wound score was assigned. Four incisions of each snake were treated (5 J/cm(2) and a wavelength of 980 nm on a continuous wave sequence) by use of a class 4 laser once daily for 7 consecutive days; the other 4 incisions were not treated. Two excisional skin biopsy specimens (1 control and 1 treatment) were collected from each snake on days 2, 7, 14, and 30 and evaluated microscopically. Scores were assigned for total inflammation, degree of fibrosis, and collagen maturity. Generalized linear models were used to investigate the effect of treatment on each variable. Wound scores for laser-treated incisions were significantly better than scores for control incisions on day 2 but not at other time points. There were no significant differences in necrosis, fibroplasia, inflammation, granuloma formation, or bacterial contamination between control and treatment groups. Collagen maturity was significantly better for the laser-treated incisions on day 14. Laser treatment resulted in a significant increase in collagen maturity at day 14 but did not otherwise significantly improve healing of skin incisions.

  10. A primer on scientific programming with Python

    CERN Document Server

    Langtangen, Hans Petter

    2014-01-01

    The book serves as a first introduction to computer programming of scientific applications, using the high-level Python language. The exposition is example and problem-oriented, where the applications are taken from mathematics, numerical calculus, statistics, physics, biology and finance. The book teaches "Matlab-style" and procedural programming as well as object-oriented programming. High school mathematics is a required background and it is advantageous to study classical and numerical one-variable calculus in parallel with reading this book. Besides learning how to program computers, the reader will also learn how to solve mathematical problems, arising in various branches of science and engineering, with the aid of numerical methods and programming. By blending programming, mathematics and scientific applications, the book lays a solid foundation for practicing computational science. From the reviews: Langtangen … does an excellent job of introducing programming as a set of skills in problem solving. ...

  11. COSMOS: Python library for massively parallel workflows.

    Science.gov (United States)

    Gafni, Erik; Luquette, Lovelace J; Lancaster, Alex K; Hawkins, Jared B; Jung, Jae-Yoon; Souilmi, Yassine; Wall, Dennis P; Tonellato, Peter J

    2014-10-15

    Efficient workflows to shepherd clinically generated genomic data through the multiple stages of a next-generation sequencing pipeline are of critical importance in translational biomedical science. Here we present COSMOS, a Python library for workflow management that allows formal description of pipelines and partitioning of jobs. In addition, it includes a user interface for tracking the progress of jobs, abstraction of the queuing system and fine-grained control over the workflow. Workflows can be created on traditional computing clusters as well as cloud-based services. Source code is available for academic non-commercial research purposes. Links to code and documentation are provided at http://lpm.hms.harvard.edu and http://wall-lab.stanford.edu. dpwall@stanford.edu or peter_tonellato@hms.harvard.edu. Supplementary data are available at Bioinformatics online. © The Author 2014. Published by Oxford University Press.

  12. A Python Calculator for Supernova Remnant Evolution

    Science.gov (United States)

    Leahy, D. A.; Williams, J. E.

    2017-05-01

    A freely available Python code for modeling supernova remnant (SNR) evolution has been created. This software is intended for two purposes: to understand SNR evolution and to use in modeling observations of SNR for obtaining good estimates of SNR properties. It includes all phases for the standard path of evolution for spherically symmetric SNRs. In addition, alternate evolutionary models are available, including evolution in a cloudy ISM, the fractional energy-loss model, and evolution in a hot low-density ISM. The graphical interface takes in various parameters and produces outputs such as shock radius and velocity versus time, as well as SNR surface brightness profile and spectrum. Some interesting properties of SNR evolution are demonstrated using the program.

  13. A primer on scientific programming with Python

    CERN Document Server

    Langtangen, Hans Petter

    2016-01-01

    The book serves as a first introduction to computer programming of scientific applications, using the high-level Python language. The exposition is example and problem-oriented, where the applications are taken from mathematics, numerical calculus, statistics, physics, biology and finance. The book teaches "Matlab-style" and procedural programming as well as object-oriented programming. High school mathematics is a required background and it is advantageous to study classical and numerical one-variable calculus in parallel with reading this book. Besides learning how to program computers, the reader will also learn how to solve mathematical problems, arising in various branches of science and engineering, with the aid of numerical methods and programming. By blending programming, mathematics and scientific applications, the book lays a solid foundation for practicing computational science. From the reviews: Langtangen … does an excellent job of introducing programming as a set of skills in problem solving. ...

  14. Qudi: A modular python suite for experiment control and data processing

    Directory of Open Access Journals (Sweden)

    Jan M. Binder

    2017-01-01

    Full Text Available Qudi is a general, modular, multi-operating system suite written in Python 3 for controlling laboratory experiments. It provides a structured environment by separating functionality into hardware abstraction, experiment logic and user interface layers. The core feature set comprises a graphical user interface, live data visualization, distributed execution over networks, rapid prototyping via Jupyter notebooks, configuration management, and data recording. Currently, the included modules are focused on confocal microscopy, quantum optics and quantum information experiments, but an expansion into other fields is possible and encouraged.

  15. ObsPy - A Python Toolbox for Seismology - and Applications

    Science.gov (United States)

    Krischer, L.; Megies, T.; Barsch, R.; MacCarthy, J.; Lecocq, T.; Koymans, M. R.; Carothers, L.; Eulenfeld, T.; Reyes, C. G.; Falco, N.; Sales de Andrade, E.

    2017-12-01

    Recent years witnessed the evolution of Python's ecosystem into one of the most powerful and productive scientific environments across disciplines. ObsPy (https://www.obspy.org) is a fully community driven, open-source project dedicated to provide a bridge for seismology into that ecosystem. It is a Python toolbox offering: Read and write support for essentially every commonly used data format in seismology with a unified interface and automatic format detection. This includes waveform data (MiniSEED, SAC, SEG-Y, Reftek, …) as well as station (SEED, StationXML, SC3ML, …) and event meta information (QuakeML, ZMAP, …). Integrated access to the largest data centers, web services, and real-time data streams (FDSNWS, ArcLink, SeedLink, ...). A powerful signal processing toolbox tuned to the specific needs of seismologists. Utility functionality like travel time calculations with the TauP method, geodetic functions, and data visualizations. ObsPy has been in constant development for more than eight years and is developed and used by scientists around the world with successful applications in all branches of seismology. Additionally it nowadays serves as the foundation for a large number of more specialized packages. Newest features include: Full interoperability of SEED and StationXML/Inventory objects Access to the Nominal Response Library (NRL) for easy and quick creation of station metadata from scratch Support for the IRIS Federated Catalog Service Improved performance of the EarthWorm client Several improvements to MiniSEED read/write module Improved plotting capabilities for PPSD (spectrograms, PSD of discrete frequencies over time, ..) Support for.. Reading ArcLink Inventory XML Reading Reftek data format Writing SeisComp3 ML (SC3ML) Writing StationTXT format This presentation will give a short overview of the capabilities of ObsPy and point out several representative or new use cases and show-case some projects that are based on ObsPy, e.g.: seismo

  16. IRISpy: Analyzing IRIS Data in Python

    Science.gov (United States)

    Ryan, Daniel; Christe, Steven; Mumford, Stuart; Baruah, Ankit; Timothy, Shelbe; Pereira, Tiago; De Pontieu, Bart

    2017-08-01

    IRISpy is a new community-developed open-source software library for analysing IRIS level 2 data. It is written in Python, a free, cross-platform, general-purpose, high-level programming language. A wide array of scientific computing software packages have already been developed in Python, from numerical computation (NumPy, SciPy, etc.), to visualization and plotting (matplotlib), to solar-physics-specific data analysis (SunPy). IRISpy is currently under development as a SunPy-affiliated package which means it depends on the SunPy library, follows similar standards and conventions, and is developed with the support of of the SunPy development team. IRISpy’s has two primary data objects, one for analyzing slit-jaw imager data and another for analyzing spectrograph data. Both objects contain basic slicing, indexing, plotting, and animating functionality to allow users to easily inspect, reduce and analyze the data. As part of this functionality the objects can output SunPy Maps, TimeSeries, Spectra, etc. of relevant data slices for easier inspection and analysis. Work is also ongoing to provide additional data analysis functionality including derivation of systematic measurement errors (e.g. readout noise), exposure time correction, residual wavelength calibration, radiometric calibration, and fine scale pointing corrections. IRISpy’s code base is publicly available through github.com and can be contributed to by anyone. In this poster we demonstrate IRISpy’s functionality and future goals of the project. We also encourage interested users to become involved in further developing IRISpy.

  17. Gastrointestinal stromal tumors (GIST) assessment using {sup 18}F-fluordeoxyglucose

    Energy Technology Data Exchange (ETDEWEB)

    Massardo, L T; Gonzalez, P; Jaimovich, R [Nuclear Medicine Section, Medicine Department University of Chile Clinical Hospital (Chile); Jofrea, M J; Canessa, J; Sierralta, P [Molecular Imaging PET Center, Military Hospital, Santiago (Chile)

    2007-11-15

    Introduction: Stromal gastrointestinal tumors (GIST) are relatively infrequent soft sarcomas, although correspond to the most common mesenchymal tumor in the gastrointestinal tract. Surgery is the main therapy during initial stages. Nearly a third of them could be malignant (higher risk) depending on the localization, size and histological parameters. Chemotherapy and radiotherapy have low therapeutic value. Specific molecular therapy associated to surgery using imatinib-mesylate (GLIVEC ) - a selective transductor signal inhibitor for some tyrosine-kinase receptors -is currently use. It is helpful in non-resecables, recurrent or metastatic tumors. Metabolic fluorine I8-deoxyglucose (FDG) allows to characterize tumor behavior demonstrating good predictive value. Promising results have been obtained using adjuvant and neoadjuvant protocols. There are some multicenter in-course trials including FDG in order to evaluate early response to GLIVEC therapy. Other recently developed molecules such as sunitinib malate (SUTENT) are used in non-responders. Method: We have performed 18 FDG studies to 15 GIST patients referred from different centers in a period of 48 months, corresponding approximately to 1% of all cancers in adults. and to 6% of gastrointestinal tumors. The mean age of the group was 57{+-}10.6 y.o., ranging from 33-72 years, 60% of the patients were male. GIST primary localization corresponded to jejunum or ileum (4), duodenum (3), esophagus, stomach (1) besides, 2 retroperitoneal/extra intestinal cases and 5 disseminated cases with no clear origin site. Eight out of fifteen patients presented known dissemination when FDG was performed. PET-FDG was performed to assess: a) medical therapy control in 9 cases: 7 with GLIVEC, 1 with SUTENT post GLIVEC and 1 post chemotherapy, b) re-staging in 6 and c) staging in the other 3 cases (1 submitted to surgery and l extensive tumor to decide GLIVEC therapy). All but one patients already had surgery performed with a mean

  18. Proto-object categorisation and local gist vision using low-level spatial features.

    Science.gov (United States)

    Martins, Jaime A; Rodrigues, J M F; du Buf, J M H

    2015-09-01

    Object categorisation is a research area with significant challenges, especially in conditions with bad lighting, occlusions, different poses and similar objects. This makes systems that rely on precise information unable to perform efficiently, like a robotic arm that needs to know which objects it can reach. We propose a biologically inspired object detection and categorisation framework that relies on robust low-level object shape. Using only edge conspicuity and disparity features for scene figure-ground segregation and object categorisation, a trained neural network classifier can quickly categorise broad object families and consequently bootstrap a low-level scene gist system. We argue that similar processing is possibly located in the parietal pathway leading to the LIP cortex and, via areas V5/MT and MST, providing useful information to the superior colliculus for eye and head control. Copyright © 2015 Elsevier Ireland Ltd. All rights reserved.

  19. Comparing source-based and gist-based false recognition in aging and Alzheimer's disease.

    Science.gov (United States)

    Pierce, Benton H; Sullivan, Alison L; Schacter, Daniel L; Budson, Andrew E

    2005-07-01

    This study examined 2 factors contributing to false recognition of semantic associates: errors based on confusion of source and errors based on general similarity information or gist. The authors investigated these errors in patients with Alzheimer's disease (AD), age-matched control participants, and younger adults, focusing on each group's ability to use recollection of source information to suppress false recognition. The authors used a paradigm consisting of both deep and shallow incidental encoding tasks, followed by study of a series of categorized lists in which several typical exemplars were omitted. Results showed that healthy older adults were able to use recollection from the deep processing task to some extent but less than that used by younger adults. In contrast, false recognition in AD patients actually increased following the deep processing task, suggesting that they were unable to use recollection to oppose familiarity arising from incidental presentation. (c) 2005 APA, all rights reserved.

  20. PNet: A Python Library for Petri Net Modeling and Simulation

    OpenAIRE

    Zhu En Chay; Bing Feng Goh; Maurice HT Ling

    2016-01-01

    Petri Net is a formalism to describe changes between 2 or more states across discrete time and has been used to model many systems. We present PNet – a pure Python library for Petri Net modeling and simulation in Python programming language. The design of PNet focuses on reducing the learning curve needed to define a Petri Net by using a text-based language rather than programming constructs to define transition rules. Complex transition rules can be refined as regular Python functions. To de...

  1. Python data science handbook essential tools for working with data

    CERN Document Server

    VanderPlas, Jake

    2016-01-01

    For many researchers, Python is a first-class tool mainly because of its libraries for storing, manipulating, and gaining insight from data. Several resources exist for individual pieces of this data science stack, but only with the Python Data Science Handbook do you get them all—IPython, NumPy, Pandas, Matplotlib, Scikit-Learn, and other related tools. Working scientists and data crunchers familiar with reading and writing Python code will find this comprehensive desk reference ideal for tackling day-to-day issues.

  2. Python as First Textual Programming Language in Secondary Education

    Directory of Open Access Journals (Sweden)

    José Carlos GARCÍA MONSÁLVEZ

    2017-07-01

    Full Text Available With the recent introduction of Programming in the K-12 curricula there is an opportunity to include Computer Science fundamental concepts. This paper presents the origin and evolution of Python as well as their main features that configure it as an ideal programming language. We also review and classify some educational tools in the Python ecosystem. Such tools cover a wide-open spectrum of resources from interactive books to libraries which ease the construction of student elaborated software artefacts. This work presents a multidisciplinary proposal to use the Python programming language in all levels of Secondary Stage.

  3. Implementation of quantum game theory simulations using Python

    Science.gov (United States)

    Madrid S., A.

    2013-05-01

    This paper provides some examples about quantum games simulated in Python's programming language. The quantum games have been developed with the Sympy Python library, which permits solving quantum problems in a symbolic form. The application of these methods of quantum mechanics to game theory gives us more possibility to achieve results not possible before. To illustrate the results of these methods, in particular, there have been simulated the quantum battle of the sexes, the prisoner's dilemma and card games. These solutions are able to exceed the classic bottle neck and obtain optimal quantum strategies. In this form, python demonstrated that is possible to do more advanced and complicated quantum games algorithms.

  4. Cognitive Gains from Gist Reasoning Training in Adolescents with Chronic-Stage Traumatic Brain Injury

    Directory of Open Access Journals (Sweden)

    Lori G. Cook

    2014-06-01

    Full Text Available Adolescents with traumatic brain injury (TBI typically demonstrate good recovery of previously acquired skills. However, higher-order and later emergent cognitive functions are often impaired and linked to poor outcomes in academic and social/behavioral domains. Few control trials exist that test cognitive treatment effectiveness at chronic recovery stages. The current pilot study compared the effects of two forms of cognitive training, gist reasoning (top-down versus rote memory learning (bottom-up, on ability to abstract meanings, recall facts, and utilize core executive functions (i.e., working memory, inhibition in 20 adolescents (ages 12-20 who were six months or longer post-TBI. Participants completed eight 45-minute sessions over one month. After training, the gist reasoning group (n = 10 exhibited significant improvement in ability to abstract meanings and increased fact recall. This group also showed significant generalizations to untrained executive functions of working memory and inhibition. The memory training group (n = 10 failed to show significant gains in ability to abstract meaning or on other untrained specialized executive functions, although improved fact recall approached significance. These preliminary results suggest that relatively short-term training (6 hours utilizing a top-down reasoning approach is more effective than a bottom-up rote learning approach in achieving gains in higher-order cognitive abilities in adolescents at chronic stages of TBI. These findings need to be replicated in a larger study; nonetheless, the preliminary data suggest that traditional cognitive intervention schedules need to extend to later-stage training opportunities. Chronic-stage, higher-order cognitive trainings may serve to elevate levels of cognitive performance in adolescents with TBI.

  5. Python-Based Scientific Analysis and Visualization of Precipitation Systems at NASA Marshall Space Flight Center

    Science.gov (United States)

    Lang, Timothy J.

    2015-01-01

    At NASA Marshall Space Flight Center (MSFC), Python is used several different ways to analyze and visualize precipitating weather systems. A number of different Python-based software packages have been developed, which are available to the larger scientific community. The approach in all these packages is to utilize pre-existing Python modules as well as to be object-oriented and scalable. The first package that will be described and demonstrated is the Python Advanced Microwave Precipitation Radiometer (AMPR) Data Toolkit, or PyAMPR for short. PyAMPR reads geolocated brightness temperature data from any flight of the AMPR airborne instrument over its 25-year history into a common data structure suitable for user-defined analyses. It features rapid, simplified (i.e., one line of code) production of quick-look imagery, including Google Earth overlays, swath plots of individual channels, and strip charts showing multiple channels at once. These plotting routines are also capable of significant customization for detailed, publication-ready figures. Deconvolution of the polarization-varying channels to static horizontally and vertically polarized scenes is also available. Examples will be given of PyAMPR's contribution toward real-time AMPR data display during the Integrated Precipitation and Hydrology Experiment (IPHEx), which took place in the Carolinas during May-June 2014. The second software package is the Marshall Multi-Radar/Multi-Sensor (MRMS) Mosaic Python Toolkit, or MMM-Py for short. MMM-Py was designed to read, analyze, and display three-dimensional national mosaicked reflectivity data produced by the NOAA National Severe Storms Laboratory (NSSL). MMM-Py can read MRMS mosaics from either their unique binary format or their converted NetCDF format. It can also read and properly interpret the current mosaic design (4 regional tiles) as well as mosaics produced prior to late July 2013 (8 tiles). MMM-Py can easily stitch multiple tiles together to provide a

  6. LinvPy : a Python package for linear inverse problems

    OpenAIRE

    Beaud, Guillaume François Paul

    2016-01-01

    The goal of this project is to make a Python package including the tau-estimator algorithm to solve linear inverse problems. The package must be distributed, well documented, easy to use and easy to extend for future developers.

  7. Usage of the Python programming language in the CMS experiment

    International Nuclear Information System (INIS)

    Wilkinson, R; Hegner, B; Jones, C D

    2010-01-01

    Being a highly dynamic language and allowing reliable programming with quick turnarounds, Python is a widely used programming language in CMS. Most of the tools used in workflow management and the GRID interface tools are written in this language. Also most of the tools used in the context of release management: integration builds, release building and deploying, as well as performance measurements are in Python. With an interface to the CMS data formats, rapid prototyping of analyses and debugging is an additional use case. Finally in 2008 the CMS experiment switched to using Python as its configuration language. This paper will give an overview of the general usage of Python in the CMS experiment and discuss which features of the language make it well-suited for the existing use cases.

  8. PRACTICAL APPROACH FOR HYPERSPECTRAL IMAGE PROCESSING IN PYTHON

    Directory of Open Access Journals (Sweden)

    L. Annala

    2018-04-01

    Full Text Available Python is a very popular programming language among data scientists around the world. Python can also be used in hyperspectral data analysis. There are some toolboxes designed for spectral imaging, such as Spectral Python and HyperSpy, but there is a need for analysis pipeline, which is easy to use and agile for different solutions. We propose a Python pipeline which is built on packages xarray, Holoviews and scikit-learn. We have developed some of own tools, MaskAccessor, VisualisorAccessor and a spectral index library. They also fulfill our goal of easy and agile data processing. In this paper we will present our processing pipeline and demonstrate it in practice.

  9. Practical Approach for Hyperspectral Image Processing in Python

    Science.gov (United States)

    Annala, L.; Eskelinen, M. A.; Hämäläinen, J.; Riihinen, A.; Pölönen, I.

    2018-04-01

    Python is a very popular programming language among data scientists around the world. Python can also be used in hyperspectral data analysis. There are some toolboxes designed for spectral imaging, such as Spectral Python and HyperSpy, but there is a need for analysis pipeline, which is easy to use and agile for different solutions. We propose a Python pipeline which is built on packages xarray, Holoviews and scikit-learn. We have developed some of own tools, MaskAccessor, VisualisorAccessor and a spectral index library. They also fulfill our goal of easy and agile data processing. In this paper we will present our processing pipeline and demonstrate it in practice.

  10. Silicon Optical Modulator Simulation

    Directory of Open Access Journals (Sweden)

    Soon Thor LIM

    2015-04-01

    Full Text Available We developed a way of predicting and analyzing high speed optical modulator. Our research adopted a bottom-up approach to consider high-speed optical links using an eye diagram. Our method leverages on modular mapping of electrical characteristics to optical characteristics, while attaining the required accuracy necessary for device footprint approaching sub-micron scales where electrical data distribution varies drastically. We calculate for the bias dependent phase shift (2pi/mm and loss (dB/mm for the optical modulator based on the real and imaginary part of complex effective indices. Subsequently, combine effectively both the electrical and optical profiles to construct the optical eye diagram which is the essential gist of signal integrity of such devices.

  11. CVXPY: A Python-Embedded Modeling Language for Convex Optimization

    OpenAIRE

    Diamond, Steven; Boyd, Stephen

    2016-01-01

    CVXPY is a domain-specific language for convex optimization embedded in Python. It allows the user to express convex optimization problems in a natural syntax that follows the math, rather than in the restrictive standard form required by solvers. CVXPY makes it easy to combine convex optimization with high-level features of Python such as parallelism and object-oriented design. CVXPY is available at http://www.cvxpy.org/ under the GPL license, along with documentation and examples.

  12. MEG and EEG data analysis with MNE-Python.

    Science.gov (United States)

    Gramfort, Alexandre; Luessi, Martin; Larson, Eric; Engemann, Denis A; Strohmeier, Daniel; Brodbeck, Christian; Goj, Roman; Jas, Mainak; Brooks, Teon; Parkkonen, Lauri; Hämäläinen, Matti

    2013-12-26

    Magnetoencephalography and electroencephalography (M/EEG) measure the weak electromagnetic signals generated by neuronal activity in the brain. Using these signals to characterize and locate neural activation in the brain is a challenge that requires expertise in physics, signal processing, statistics, and numerical methods. As part of the MNE software suite, MNE-Python is an open-source software package that addresses this challenge by providing state-of-the-art algorithms implemented in Python that cover multiple methods of data preprocessing, source localization, statistical analysis, and estimation of functional connectivity between distributed brain regions. All algorithms and utility functions are implemented in a consistent manner with well-documented interfaces, enabling users to create M/EEG data analysis pipelines by writing Python scripts. Moreover, MNE-Python is tightly integrated with the core Python libraries for scientific comptutation (NumPy, SciPy) and visualization (matplotlib and Mayavi), as well as the greater neuroimaging ecosystem in Python via the Nibabel package. The code is provided under the new BSD license allowing code reuse, even in commercial products. Although MNE-Python has only been under heavy development for a couple of years, it has rapidly evolved with expanded analysis capabilities and pedagogical tutorials because multiple labs have collaborated during code development to help share best practices. MNE-Python also gives easy access to preprocessed datasets, helping users to get started quickly and facilitating reproducibility of methods by other researchers. Full documentation, including dozens of examples, is available at http://martinos.org/mne.

  13. Proceedings of the 7th Python in Science conference

    OpenAIRE

    Varoquaux , Gaël; Vaught , Travis; Millman , Jarrod

    2008-01-01

    International audience; The SciPy conference provides a unique opportunity to learn and affect what is happening in the realm of scientific computing with Python. Attendees have the opportunity to review the available tools and how they apply to specific problems. By providing a forum for developers to share their Python expertise with the wider commercial, academic, and research communities, this conference fosters collaboration and facilitates the sharing of software components, techniques ...

  14. Proceedings of the 8th Python in Science conference

    OpenAIRE

    Varoquaux , Gaël; Van Der Walt , Stefan; Millman , Jarrod

    2009-01-01

    International audience; The SciPy conference provides a unique opportunity to learn and affect what is happening in the realm of scientific computing with Python. Attendees have the opportunity to review the available tools and how they apply to specific problems. By providing a forum for developers to share their Python expertise with the wider commercial, academic, and research communities, this conference fosters collaboration and facilitates the sharing of software components, techniques ...

  15. Introduction into bi-partite networks in python

    OpenAIRE

    Kasberger, Stefan

    2016-01-01

    This essay and the related computation delivers a comprehensive introduction into the concept of bipartite networks, a class of networks whose nodes are divided into two sets and only the connection between two nodes in different sets is allowed (Easley and Kleinberg, 2010). The analysis and visualization is done in the programming language Python and offers easy to understand first steps in both fields, network analyses and python programming. As data a collaboration network of github users ...

  16. CVXPY: A Python-Embedded Modeling Language for Convex Optimization.

    Science.gov (United States)

    Diamond, Steven; Boyd, Stephen

    2016-04-01

    CVXPY is a domain-specific language for convex optimization embedded in Python. It allows the user to express convex optimization problems in a natural syntax that follows the math, rather than in the restrictive standard form required by solvers. CVXPY makes it easy to combine convex optimization with high-level features of Python such as parallelism and object-oriented design. CVXPY is available at http://www.cvxpy.org/ under the GPL license, along with documentation and examples.

  17. Ecological correlates of invasion impact for Burmese pythons in Florida

    Science.gov (United States)

    Reed, R.N.; Willson, J.D.; Rodda, G.H.; Dorcas, M.E.

    2012-01-01

    An invasive population of Burmese pythons (Python molurus bivittatus) is established across several thousand square kilometers of southern Florida and appears to have caused precipitous population declines among several species of native mammals. Why has this giant snake had such great success as an invasive species when many established reptiles have failed to spread? We scored the Burmese python for each of 15 literature-based attributes relative to predefined comparison groups from a diverse range of taxa and provide a review of the natural history and ecology of Burmese pythons relevant to each attribute. We focused on attributes linked to spread and magnitude of impacts rather than establishment success. Our results suggest that attributes related to body size and generalism appeared to be particularly applicable to the Burmese python's success in Florida. The attributes with the highest scores were: high reproductive potential, low vulnerability to predation, large adult body size, large offspring size and high dietary breadth. However, attributes of ectotherms in general and pythons in particular (including predatory mode, energetic efficiency and social interactions) might have also contributed to invasion success. Although establishment risk assessments are an important initial step in prevention of new establishments, evaluating species in terms of their potential for spreading widely and negatively impacting ecosystems might become part of the means by which resource managers prioritize control efforts in environments with large numbers of introduced species.

  18. PyROOT: Seamless Melting of C++ and Python

    CERN Multimedia

    CERN. Geneva

    2016-01-01

    With ROOT it's possible to use any C++ library from Python without writing any bindings nor dictionaries: loading the library and injecting the relevant headers in the ROOT C++ interpreter is enough to guarantee interactive usage from within Python. Just in time (JIT) compilation of C++ code and immediate utilisation of C++ entities from within Python is also supported. Thanks to the ROOT type system and C++ interpreter and JIT compiler, complete Python/C++ interoperability is achieved. In this contribution we explain how this mechanism is general enough to make any library written in C or C++ usable from within Python and how concepts such as template metaprogramming are mapped in Python. We review the basics of the JIT compilation capabilities provided by the Clang based ROOT interpreter, Cling, and the way in which some of the information of the Abstract Syntax Tree (AST) built by Clang is stored by the ROOT type system. The way in which ROOT manages the automatic loading of libraries and parsing of neces...

  19. Hearing with an atympanic ear: good vibration and poor sound-pressure detection in the royal python, Python regius

    DEFF Research Database (Denmark)

    Christensen, Christian Bech; Christensen-Dalsgaard, Jakob; Brandt, Christian

    2012-01-01

    are sensitive to sound pressure and (2) snakes are sensitive to vibrations, but cannot hear the sound pressure per se. Vibration and sound-pressure sensitivities were quantified by measuring brainstem evoked potentials in 11 royal pythons, Python regius. Vibrograms and audiograms showed greatest sensitivity...... at low frequencies of 80-160 Hz, with sensitivities of -54 dB re. 1 m s(-2) and 78 dB re. 20 μPa, respectively. To investigate whether pythons detect sound pressure or sound-induced head vibrations, we measured the sound-induced head vibrations in three dimensions when snakes were exposed to sound...... pressure at threshold levels. In general, head vibrations induced by threshold-level sound pressure were equal to or greater than those induced by threshold-level vibrations, and therefore sound-pressure sensitivity can be explained by sound-induced head vibration. From this we conclude that pythons...

  20. Sequencing the genome of the Burmese python (Python molurus bivittatus) as a model for studying extreme adaptations in snakes.

    Science.gov (United States)

    Castoe, Todd A; de Koning, Jason A P; Hall, Kathryn T; Yokoyama, Ken D; Gu, Wanjun; Smith, Eric N; Feschotte, Cédric; Uetz, Peter; Ray, David A; Dobry, Jason; Bogden, Robert; Mackessy, Stephen P; Bronikowski, Anne M; Warren, Wesley C; Secor, Stephen M; Pollock, David D

    2011-07-28

    The Consortium for Snake Genomics is in the process of sequencing the genome and creating transcriptomic resources for the Burmese python. Here, we describe how this will be done, what analyses this work will include, and provide a timeline.

  1. Renal plasticity in response to feeding in the Burmese python, Python molurus bivittatus.

    Science.gov (United States)

    Esbaugh, A J; Secor, S M; Grosell, M

    2015-10-01

    Burmese pythons are sit-and-wait predators that are well adapted to go long periods without food, yet subsequently consume and digest single meals that can exceed their body weight. These large feeding events result in a dramatic alkaline tide that is compensated by a hypoventilatory response that normalizes plasma pH; however, little is known regarding how plasma HCO3(-) is lowered in the days post-feeding. The current study demonstrated that Burmese pythons contain the cellular machinery for renal acid-base compensation and actively remodel the kidney to limit HCO3(-) reabsorption in the post-feeding period. After being fed a 25% body weight meal plasma total CO2 was elevated by 1.5-fold after 1 day, but returned to control concentrations by 4 days post-feeding (d pf). Gene expression analysis was used to verify the presence of carbonic anhydrase (CA) II, IV and XIII, Na(+) H(+) exchanger 3 (NHE3), the Na(+) HCO3(-) co-transporter (NBC) and V-type ATPase. CA IV expression was significantly down-regulated at 3 dpf versus fasted controls. This was supported by activity analysis that showed a significant decrease in the amount of GPI-linked CA activity in isolated kidney membranes at 3 dpf versus fasted controls. In addition, V-type ATPase activity was significantly up-regulated at 3 dpf; no change in gene expression was observed. Both CA II and NHE3 expression was up-regulated at 3 dpf, which may be related to post-prandial ion balance. These results suggest that Burmese pythons actively remodel their kidney after feeding, which would in part benefit renal HCO3(-) clearance. Copyright © 2015 Elsevier Inc. All rights reserved.

  2. Surgical management of maxillary and premaxillary osteomyelitis in a reticulated python (Python reticulatus).

    Science.gov (United States)

    Latney, La'Toya V; McDermott, Colin; Scott, Gregory; Soltero-Rivera, Maria M; Beguesse, Kyla; Sánchez, Melissa D; Lewis, John R

    2016-05-01

    CASE DESCRIPTION A 1-year-old reticulated python (Python reticulatus) was evaluated because of a 2-week history of wheezing and hissing. CLINICAL FINDINGS Rostral facial cellulitis and deep gingival pockets associated with missing rostral maxillary teeth were evident. Tissues of the nares were swollen, resulting in an audible wheeze during respiration. Multiple scars and superficial facial wounds attributed to biting by live prey were apparent. Radiographic examination revealed bilateral, focal, rostral maxillary osteomyelitis. TREATMENT AND OUTCOME Wound irrigation, antimicrobials, and anti-inflammatory drug treatment resulted in reduced cellulitis. A 3-week regimen that included empirical antimicrobial treatment and improved husbandry resulted in resolution of the respiratory sounds and partial healing of bite wounds, but radiographic evaluation revealed progressive maxillary osteomyelitis. Microbial culture of blood yielded scant gram-positive cocci and Bacillus spp, which were suspected sample contaminants. Bilateral partial maxillectomies were performed; microbial culture and histologic examination of resected bone confirmed osteomyelitis with gram-positive cocci. Treatment with trimethoprim-sulfamethoxazole was initiated on the basis of microbial susceptibility tests. Four months later, follow-up radiography revealed premaxillary osteomyelitis; surgery was declined, and treatment with trimethoprim-sulfamethoxazole was reinstituted. Eight months after surgery, the patient was reevaluated because of recurrent clinical signs; premaxillectomy was performed, and treatment with trimethoprim-sulfamethoxazole was prescribed on the basis of microbial culture of bone and microbial susceptibility testing. Resolution of osteomyelitis was confirmed by CT 11 months after the initial surgery. CONCLUSIONS AND CLINICAL RELEVANCE Focal maxillectomies and premaxillectomy were successfully performed in a large python. Surgical management and appropriate antimicrobial treatment

  3. Morphological respiratory diffusion capacity of the lungs of ball pythons (Python regius).

    Science.gov (United States)

    Starck, J Matthias; Aupperle, Heike; Kiefer, Ingmar; Weimer, Isabel; Krautwald-Junghanns, Maria-Elisabeth; Pees, Michael

    2012-08-01

    This study aims at a functional and morphological characterization of the lung of a boid snake. In particular, we were interested to see if the python's lungs are designed with excess capacity as compared to resting and working oxygen demands. Therefore, the morphological respiratory diffusion capacity of ball pythons (Python regius) was examined following a stereological, hierarchically nested approach. The volume of the respiratory exchange tissue was determined using computed tomography. Tissue compartments were quantified using stereological methods on light microscopic images. The tissue diffusion barrier for oxygen transport was characterized and measured using transmission electron micrographs. We found a significant negative correlation between body mass and the volume of respiratory tissue; the lungs of larger snakes had relatively less respiratory tissue. Therefore, mass-specific respiratory tissue was calculated to exclude effects of body mass. The volume of the lung that contains parenchyma was 11.9±5.0mm(3)g(-1). The volume fraction, i.e., the actual pulmonary exchange tissue per lung parenchyma, was 63.22±7.3%; the total respiratory surface was, on average, 0.214±0.129m(2); it was significantly negatively correlated to body mass, with larger snakes having proportionally smaller respiratory surfaces. For the air-blood barrier, a harmonic mean of 0.78±0.05μm was found, with the epithelial layer representing the thickest part of the barrier. Based on these findings, a median diffusion capacity of the tissue barrier ( [Formula: see text] ) of 0.69±0.38ml O(2)min(-1)mmHg(-1) was calculated. Based on published values for blood oxygen concentration, a total oxygen uptake capacity of 61.16mlO(2)min(-1)kg(-1) can be assumed. This value exceeds the maximum demand for oxygen in ball pythons by a factor of 12. We conclude that healthy individuals of P. regius possess a considerable spare capacity for tissue oxygen exchange. Copyright © 2012 Elsevier Gmb

  4. OpenSeesPy: Python library for the OpenSees finite element framework

    Science.gov (United States)

    Zhu, Minjie; McKenna, Frank; Scott, Michael H.

    2018-01-01

    OpenSees, an open source finite element software framework, has been used broadly in the earthquake engineering community for simulating the seismic response of structural and geotechnical systems. The framework allows users to perform finite element analysis with a scripting language and for developers to create both serial and parallel finite element computer applications as interpreters. For the last 15 years, Tcl has been the primary scripting language to which the model building and analysis modules of OpenSees are linked. To provide users with different scripting language options, particularly Python, the OpenSees interpreter interface was refactored to provide multi-interpreter capabilities. This refactoring, resulting in the creation of OpenSeesPy as a Python module, is accomplished through an abstract interface for interpreter calls with concrete implementations for different scripting languages. Through this approach, users are able to develop applications that utilize the unique features of several scripting languages while taking advantage of advanced finite element analysis models and algorithms.

  5. What's the FOX Got to Do with the KITten? Regulating the Lineage-Specific Transcriptional Landscape in GIST.

    Science.gov (United States)

    Lee, Donna M; Duensing, Anette

    2018-02-01

    Transcriptional regulation of the KIT receptor tyrosine kinase, a master regulator in gastrointestinal stromal tumors (GIST) and their precursors, the interstitial cells of Cajal (ICC), is part of a positive feedback loop involving the transcription factor ETV1. A new study now shows that the forkhead box (FOX) family transcription factor FOXF1 not only is an upstream regulator of ETV1 and hence ICC/GIST lineage-specific gene transcription, but also functions as lineage-specific pioneer factor with an active role in chromatin rearrangement to facilitate ETV1 binding and transcriptional activity. Cancer Discov; 8(2); 146-9. ©2018 AACR See related article by Ran et al., p. 234 . ©2018 American Association for Cancer Research.

  6. Matriarch: A Python Library for Materials Architecture.

    Science.gov (United States)

    Giesa, Tristan; Jagadeesan, Ravi; Spivak, David I; Buehler, Markus J

    2015-10-12

    Biological materials, such as proteins, often have a hierarchical structure ranging from basic building blocks at the nanoscale (e.g., amino acids) to assembled structures at the macroscale (e.g., fibers). Current software for materials engineering allows the user to specify polypeptide chains and simple secondary structures prior to molecular dynamics simulation, but is not flexible in terms of the geometric arrangement of unequilibrated structures. Given some knowledge of a larger-scale structure, instructing the software to create it can be very difficult and time-intensive. To this end, the present paper reports a mathematical language, using category theory, to describe the architecture of a material, i.e., its set of building blocks and instructions for combining them. While this framework applies to any hierarchical material, here we concentrate on proteins. We implement this mathematical language as an open-source Python library called Matriarch. It is a domain-specific language that gives the user the ability to create almost arbitrary structures with arbitrary amino acid sequences and, from them, generate Protein Data Bank (PDB) files. In this way, Matriarch is more powerful than commercial software now available. Matriarch can be used in tandem with molecular dynamics simulations and helps engineers design and modify biologically inspired materials based on their desired functionality. As a case study, we use our software to alter both building blocks and building instructions for tropocollagen, and determine their effect on its structure and mechanical properties.

  7. SunPy: Python for Solar Physics

    Science.gov (United States)

    Bobra, M.; Inglis, A. R.; Mumford, S.; Christe, S.; Freij, N.; Hewett, R.; Ireland, J.; Martinez Oliveros, J. C.; Reardon, K.; Savage, S. L.; Shih, A. Y.; Pérez-Suárez, D.

    2017-12-01

    SunPy is a community-developed open-source software library for solar physics. It is written in Python, a free, cross-platform, general-purpose, high-level programming language which is being increasingly adopted throughout the scientific community. SunPy aims to provide the software for obtaining and analyzing solar and heliospheric data. This poster introduces a new major release, SunPy version 0.8. The first major new feature introduced is Fido, the new primary interface to download data. It provides a consistent and powerful search interface to all major data providers including the VSO and the JSOC, as well as individual data sources such as GOES XRS time series. It is also easy to add new data sources as they become available, i.e. DKIST. The second major new feature is the SunPy coordinate framework. This provides a powerful way of representing coordinates, allowing simple and intuitive conversion between coordinate systems and viewpoints of different instruments (i.e., Solar Orbiter and the Parker Solar Probe), including transformation to astrophysical frames like ICRS. Other new features including new timeseries capabilities with better support for concatenation and metadata, updated documentation and example gallery. SunPy is distributed through pip and conda and all of its code is publicly available (sunpy.org).

  8. Code Reuse and Modularity in Python

    Directory of Open Access Journals (Sweden)

    William J. Turkel

    2012-07-01

    Full Text Available Computer programs can become long, unwieldy and confusing without special mechanisms for managing complexity. This lesson will show you how to reuse parts of your code by writing Functions and break your programs into Modules, in order to keep everything concise and easier to debug. Being able to remove a single dysfunctional module can save time and effort.

  9. Get the gist? The effects of processing depth on false recognition in short-term and long-term memory.

    Science.gov (United States)

    Flegal, Kristin E; Reuter-Lorenz, Patricia A

    2014-07-01

    Gist-based processing has been proposed to account for robust false memories in the converging-associates task. The deep-encoding processes known to enhance verbatim memory also strengthen gist memory and increase distortions of long-term memory (LTM). Recent research has demonstrated that compelling false memory illusions are relatively delay-invariant, also occurring under canonical short-term memory (STM) conditions. To investigate the contributions of gist to false memory at short and long delays, processing depth was manipulated as participants encoded lists of four semantically related words and were probed immediately, following a filled 3- to 4-s retention interval, or approximately 20 min later, in a surprise recognition test. In two experiments, the encoding manipulation dissociated STM and LTM on the frequency, but not the phenomenology, of false memory. Deep encoding at STM increases false recognition rates at LTM, but confidence ratings and remember/know judgments are similar across delays and do not differ as a function of processing depth. These results suggest that some shared and some unique processes underlie false memory illusions at short and long delays.

  10. Enteroscopic Tattooing for Better Intraoperative Localization of a Bleeding Jejunal GIST Facilitates Minimally Invasive Laparoscopically-assisted Surgery.

    Science.gov (United States)

    Iacob, Razvan; Dimitriu, Anca; Stanciulea, Oana; Herlea, Vlad; Popescu, Irinel; Gheorghe, Cristian

    2016-03-01

    We present the case of a 63-year-old man that was admitted for melena and severe anemia. Upper GI endoscopy and colonoscopy failed to identify the lesion responsible for bleeding, and enteroCT scan was also non-contributive to the diagnosis. Capsule endoscopy indicated possible jejunal bleeding but could not indicate the source of bleeding, recommending anterograde enteroscopy. Single balloon enteroscopy identified a 2 cm submucosal tumour in the distal part of the jejunum, with a macroscopic appearance suggesting a gastrointestinal stromal tumour (GIST). The tumor location was marked using SPOT tattoo and subsequently easily identified by the surgeon and resected via minimally invasive laparoscopic-assisted approach. Histological and immunohistochemical analysis indicated a low risk GIST. The unusual small size of the GIST as a modality of presentation, with digestive bleeding and anemia and the ability to use VCE/enteroscopy to identify and mark the lesion prior to minimally invasive surgery, represent the particularities of the presented case.

  11. Predicting size limit of wild blood python (python brongersmai stull, 1938) harvesting in north sumatera

    Science.gov (United States)

    Mangantar Pardamean Sianturi, Markus; Jumilawaty, Erni; Delvian; Hartanto, Adrian

    2018-03-01

    Blood python (Python brongersmai Stull, 1938) is one of heavily exploited wildlife in Indonesia. The high demands on its skin trade have made its harvesting regulated under quota-based setting by the government to prevent over-harvesting. To gain understanding on the sustainability of P. brongersmai in the wild, biological characters of wild-caught specimens were studied. Samples were collected from two slaughterhouses from Rantau Prapat and Langkat. Parameters measured were morphological (Snout-vent length (SVL), body mass, abdomen width) and anatomical characters (Fat classes). Total samples of P. brongersmai in this research were 541 with 269 male and 272 female snakes. Female snakes had the highest proportion of individuals with the best quality of abdominal fat reserves (Class 3). Linear models are built and tested for its significance in relation between fat classes as anatomical characters and morphological characters. All tested morphological characters were significant in female snakes. By using linear equation models, we generate size limit to prioritize harvesting in the future. We suggest the use of SVL and stomach width ranging between 139,7 – 141,5 cm and 24,72 – 25,71 cm respectively to achieve sustainability of P. brongersmai in the wild.

  12. The spectacle of the ball python (Python regius): a morphological description.

    Science.gov (United States)

    Da Silva, Mari-Ann O; Heegaard, Steffen; Wang, Tobias; Nyengaard, Jens R; Bertelsen, Mads F

    2014-05-01

    A detailed morphological description of the spectacle of the ball python (Python regius) is provided. The eyes of 21 snakes were examined by light microscopy and/or transmission electron microscopy. Additionally, eyes of nine live snakes were examined using optical coherence tomography (OCT) and Scheimpflug scanning (Pentacam). The spectacle consists of three layers: outer epithelium, stroma and inner epithelium. The outer epithelium is made up of flat basal cells overlaid by keratin, the stroma consists of organized layers of collagen fibrils with interweaving nerve fibers and blood vessels, and the inner epithelium holds squamous cells containing vesicles and microvilli. At the rim of the spectacle, there is a transition zone, where the spectacle merges with the epidermis and dermis of the periocular scales. This zone is characterized by a greater height of the basal cells of the outer epithelium and a less orderly organization of the stroma compared with the spectacle proper. The thickness of the spectacle was uniform throughout. It averaged 96 ± 10 µm in histological specimens and 108 ± 13 µm using OCT. The subspectacular space was extremely narrow in the live snakes; however, the space was visible at the periphery of the spectacle with OCT. Copyright © 2013 Wiley Periodicals, Inc.

  13. Python-Assisted MODFLOW Application and Code Development

    Science.gov (United States)

    Langevin, C.

    2013-12-01

    The U.S. Geological Survey (USGS) has a long history of developing and maintaining free, open-source software for hydrological investigations. The MODFLOW program is one of the most popular hydrologic simulation programs released by the USGS, and it is considered to be the most widely used groundwater flow simulation code. MODFLOW was written using a modular design and a procedural FORTRAN style, which resulted in code that could be understood, modified, and enhanced by many hydrologists. The code is fast, and because it uses standard FORTRAN it can be run on most operating systems. Most MODFLOW users rely on proprietary graphical user interfaces for constructing models and viewing model results. Some recent efforts, however, have focused on construction of MODFLOW models using open-source Python scripts. Customizable Python packages, such as FloPy (https://code.google.com/p/flopy), can be used to generate input files, read simulation results, and visualize results in two and three dimensions. Automating this sequence of steps leads to models that can be reproduced directly from original data and rediscretized in space and time. Python is also being used in the development and testing of new MODFLOW functionality. New packages and numerical formulations can be quickly prototyped and tested first with Python programs before implementation in MODFLOW. This is made possible by the flexible object-oriented design capabilities available in Python, the ability to call FORTRAN code from Python, and the ease with which linear systems of equations can be solved using SciPy, for example. Once new features are added to MODFLOW, Python can then be used to automate comprehensive regression testing and ensure reliability and accuracy of new versions prior to release.

  14. The influence of midazolam on heart rate arises from cardiac autonomic tones alterations in Burmese pythons, Python molurus.

    Science.gov (United States)

    Lopes, Ivã Guidini; Armelin, Vinicius Araújo; Braga, Victor Hugo da Silva; Florindo, Luiz Henrique

    2017-12-01

    The GABA A receptor agonist midazolam is a compound widely used as a tranquilizer and sedative in mammals and reptiles. It is already known that this benzodiazepine produces small to intermediate heart rate (HR) alterations in mammals, however, its influence on reptiles' HR remains unexplored. Thus, the present study sought to verify the effects of midazolam on HR and cardiac modulation in the snake Python molurus. To do so, the snakes' HR, cardiac autonomic tones, and HR variability were evaluated during four different experimental stages. The first stage consisted on the data acquisition of animals under untreated conditions, in which were then administered atropine (2.5mgkg -1 ; intraperitoneal), followed later by propranolol (3.5mgkg -1 ; intraperitoneal) (cardiac double autonomic blockade). The second stage focused on the data acquisition of animals under midazolam effect (1.0mgkg -1 ; intramuscular), which passed through the same autonomic blockade protocol of the first stage. The third and fourth stages consisted of the same protocol of stages one and two, respectively, with the exception that atropine and propranolol injections were reversed. By comparing the HR of animals that received midazolam (second and fourth stages) with those that did not (first and third stages), it could be observed that this benzodiazepine reduced the snakes' HR by ~60%. The calculated autonomic tones showed that such cardiac depression was elicited by an ~80% decrease in cardiac adrenergic tone and an ~620% increase in cardiac cholinergic tone - a finding that was further supported by the results of HR variability analysis. Copyright © 2017 Elsevier B.V. All rights reserved.

  15. Large-scale automated image analysis for computational profiling of brain tissue surrounding implanted neuroprosthetic devices using Python.

    Science.gov (United States)

    Rey-Villamizar, Nicolas; Somasundar, Vinay; Megjhani, Murad; Xu, Yan; Lu, Yanbin; Padmanabhan, Raghav; Trett, Kristen; Shain, William; Roysam, Badri

    2014-01-01

    In this article, we describe the use of Python for large-scale automated server-based bio-image analysis in FARSIGHT, a free and open-source toolkit of image analysis methods for quantitative studies of complex and dynamic tissue microenvironments imaged by modern optical microscopes, including confocal, multi-spectral, multi-photon, and time-lapse systems. The core FARSIGHT modules for image segmentation, feature extraction, tracking, and machine learning are written in C++, leveraging widely used libraries including ITK, VTK, Boost, and Qt. For solving complex image analysis tasks, these modules must be combined into scripts using Python. As a concrete example, we consider the problem of analyzing 3-D multi-spectral images of brain tissue surrounding implanted neuroprosthetic devices, acquired using high-throughput multi-spectral spinning disk step-and-repeat confocal microscopy. The resulting images typically contain 5 fluorescent channels. Each channel consists of 6000 × 10,000 × 500 voxels with 16 bits/voxel, implying image sizes exceeding 250 GB. These images must be mosaicked, pre-processed to overcome imaging artifacts, and segmented to enable cellular-scale feature extraction. The features are used to identify cell types, and perform large-scale analysis for identifying spatial distributions of specific cell types relative to the device. Python was used to build a server-based script (Dell 910 PowerEdge servers with 4 sockets/server with 10 cores each, 2 threads per core and 1TB of RAM running on Red Hat Enterprise Linux linked to a RAID 5 SAN) capable of routinely handling image datasets at this scale and performing all these processing steps in a collaborative multi-user multi-platform environment. Our Python script enables efficient data storage and movement between computers and storage servers, logs all the processing steps, and performs full multi-threaded execution of all codes, including open and closed-source third party libraries.

  16. Large-scale automated image analysis for computational profiling of brain tissue surrounding implanted neuroprosthetic devices using Python

    Directory of Open Access Journals (Sweden)

    Nicolas eRey-Villamizar

    2014-04-01

    Full Text Available In this article, we describe use of Python for large-scale automated server-based bio-image analysis in FARSIGHT, a free and open-source toolkit of image analysis methods for quantitative studies of complex and dynamic tissue microenvironments imaged by modern optical microscopes including confocal, multi-spectral, multi-photon, and time-lapse systems. The core FARSIGHT modules for image segmentation, feature extraction, tracking, and machine learning are written in C++, leveraging widely used libraries including ITK, VTK, Boost, and Qt. For solving complex image analysis task, these modules must be combined into scripts using Python. As a concrete example, we consider the problem of analyzing 3-D multi-spectral brain tissue images surrounding implanted neuroprosthetic devices, acquired using high-throughput multi-spectral spinning disk step-and-repeat confocal microscopy. The resulting images typically contain 5 fluorescent channels, 6,000$times$10,000$times$500 voxels with 16 bits/voxel, implying image sizes exceeding 250GB. These images must be mosaicked, pre-processed to overcome imaging artifacts, and segmented to enable cellular-scale feature extraction. The features are used to identify cell types, and perform large-scale analytics for identifying spatial distributions of specific cell types relative to the device. Python was used to build a server-based script (Dell 910 PowerEdge servers with 4 sockets/server with 10 cores each, 2 threads per core and 1TB of RAM running on Red Hat Enterprise Linux linked to a RAID 5 SAN capable of routinely handling image datasets at this scale and performing all these processing steps in a collaborative multi-user multi-platform environment consisting. Our Python script enables efficient data storage and movement between compute and storage servers, logging all processing steps, and performs full multi-threaded execution of all codes, including open and closed-source third party libraries.

  17. ETE: a python Environment for Tree Exploration.

    Science.gov (United States)

    Huerta-Cepas, Jaime; Dopazo, Joaquín; Gabaldón, Toni

    2010-01-13

    Many bioinformatics analyses, ranging from gene clustering to phylogenetics, produce hierarchical trees as their main result. These are used to represent the relationships among different biological entities, thus facilitating their analysis and interpretation. A number of standalone programs are available that focus on tree visualization or that perform specific analyses on them. However, such applications are rarely suitable for large-scale surveys, in which a higher level of automation is required. Currently, many genome-wide analyses rely on tree-like data representation and hence there is a growing need for scalable tools to handle tree structures at large scale. Here we present the Environment for Tree Exploration (ETE), a python programming toolkit that assists in the automated manipulation, analysis and visualization of hierarchical trees. ETE libraries provide a broad set of tree handling options as well as specific methods to analyze phylogenetic and clustering trees. Among other features, ETE allows for the independent analysis of tree partitions, has support for the extended newick format, provides an integrated node annotation system and permits to link trees to external data such as multiple sequence alignments or numerical arrays. In addition, ETE implements a number of built-in analytical tools, including phylogeny-based orthology prediction and cluster validation techniques. Finally, ETE's programmable tree drawing engine can be used to automate the graphical rendering of trees with customized node-specific visualizations. ETE provides a complete set of methods to manipulate tree data structures that extends current functionality in other bioinformatic toolkits of a more general purpose. ETE is free software and can be downloaded from http://ete.cgenomics.org.

  18. ETE: a python Environment for Tree Exploration

    Directory of Open Access Journals (Sweden)

    Gabaldón Toni

    2010-01-01

    Full Text Available Abstract Background Many bioinformatics analyses, ranging from gene clustering to phylogenetics, produce hierarchical trees as their main result. These are used to represent the relationships among different biological entities, thus facilitating their analysis and interpretation. A number of standalone programs are available that focus on tree visualization or that perform specific analyses on them. However, such applications are rarely suitable for large-scale surveys, in which a higher level of automation is required. Currently, many genome-wide analyses rely on tree-like data representation and hence there is a growing need for scalable tools to handle tree structures at large scale. Results Here we present the Environment for Tree Exploration (ETE, a python programming toolkit that assists in the automated manipulation, analysis and visualization of hierarchical trees. ETE libraries provide a broad set of tree handling options as well as specific methods to analyze phylogenetic and clustering trees. Among other features, ETE allows for the independent analysis of tree partitions, has support for the extended newick format, provides an integrated node annotation system and permits to link trees to external data such as multiple sequence alignments or numerical arrays. In addition, ETE implements a number of built-in analytical tools, including phylogeny-based orthology prediction and cluster validation techniques. Finally, ETE's programmable tree drawing engine can be used to automate the graphical rendering of trees with customized node-specific visualizations. Conclusions ETE provides a complete set of methods to manipulate tree data structures that extends current functionality in other bioinformatic toolkits of a more general purpose. ETE is free software and can be downloaded from http://ete.cgenomics.org.

  19. UPPER GASTRO-INTESTINAL BLEEDING IN THE YOUNG - GASTRIC GIST TUMOR OR PEPTIC ULCER DISEASE?

    Directory of Open Access Journals (Sweden)

    Ayodele Atolagbe

    2015-09-01

    Full Text Available GIST tumors is very unusual in the young and middle aged and a high index of suspicion is needed for the diagnosis in young patients who present with upper gastrointestinal bleeding. Appropriate imaging such as a Computed tomographic scan (CT scan may identify this tumor which may easily be misdiagnosed as a bleeding Peptic Ulcer Disease in the young. We present a case of a healthy 38 year old man with no alcohol use who presented with epigastric pain and melena and subsequent torrential bleeding uncontrolled during endoscopy necessitating an emergency exploratory laparotomy by the general surgery team. The bleeding intraluminal component of the tumor with gross splenic and pancreatic involvement was identified and surgical management consisted of a wedge resection of the greater curvature of the stomach incorporating the tumor and the spleen with successful dissection of the tumor off the tail of the pancreas. Histology was positive for C-KIT and DOG-1 markers. Postoperative course was uneventful and he is presently on Imatinib Mesylate.

  20. FacetGist: Collective Extraction of Document Facets in Large Technical Corpora.

    Science.gov (United States)

    Siddiqui, Tarique; Ren, Xiang; Parameswaran, Aditya; Han, Jiawei

    2016-10-01

    Given the large volume of technical documents available, it is crucial to automatically organize and categorize these documents to be able to understand and extract value from them. Towards this end, we introduce a new research problem called Facet Extraction. Given a collection of technical documents, the goal of Facet Extraction is to automatically label each document with a set of concepts for the key facets ( e.g. , application, technique, evaluation metrics, and dataset) that people may be interested in. Facet Extraction has numerous applications, including document summarization, literature search, patent search and business intelligence. The major challenge in performing Facet Extraction arises from multiple sources: concept extraction, concept to facet matching, and facet disambiguation. To tackle these challenges, we develop FacetGist, a framework for facet extraction. Facet Extraction involves constructing a graph-based heterogeneous network to capture information available across multiple local sentence-level features, as well as global context features. We then formulate a joint optimization problem, and propose an efficient algorithm for graph-based label propagation to estimate the facet of each concept mention. Experimental results on technical corpora from two domains demonstrate that Facet Extraction can lead to an improvement of over 25% in both precision and recall over competing schemes.

  1. Functional morphology and patterns of blood flow in the heart of Python regius.

    Science.gov (United States)

    Starck, J Matthias

    2009-06-01

    Brightness-modulated ultrasonography, continuous-wave Doppler, and pulsed-wave Doppler-echocardiography were used to analyze the functional morphology of the undisturbed heart of ball pythons. In particular, the action of the muscular ridge and the atrio-ventricular valves are key features to understand how patterns of blood flow emerge from structures directing blood into the various chambers of the heart. A step-by-step image analysis of echocardiographs shows that during ventricular diastole, the atrio-ventricular valves block the interventricular canals so that blood from the right atrium first fills the cavum venosum, and blood from the left atrium fills the cavum arteriosum. During diastole, blood from the cavum venosum crosses the muscular ridge into the cavum pulmonale. During middle to late systole the muscular ridge closes, thus prohibiting further blood flow into the cavum pulmonale. At the same time, the atrio-ventricular valves open the interventricular canal and allow blood from the cavum arteriosum to flow into the cavum venosum. In the late phase of ventricular systole, all blood from the cavum pulmonale is pressed into the pulmonary trunk; all blood from the cavum venosum is pressed into both aortas. Quantitative measures of blood flow volume showed that resting snakes bypass the pulmonary circulation and shunt about twice the blood volume into the systemic circulation as into the pulmonary circulation. When digesting, the oxygen demand of snakes increased tremendously. This is associated with shunting more blood into the pulmonary circulation. The results of this study allow the presentation of a detailed functional model of the python heart. They are also the basis for a functional hypothesis of how shunting is achieved. Further, it was shown that shunting is an active regulation process in response to changing demands of the organism (here, oxygen demand). Finally, the results of this study support earlier reports about a dual pressure

  2. ObsPy: A Python Toolbox for Seismology - Recent Developments and Applications

    Science.gov (United States)

    Megies, T.; Krischer, L.; Barsch, R.; Sales de Andrade, E.; Beyreuther, M.

    2014-12-01

    ObsPy (http://www.obspy.org) is a community-driven, open-source project dedicated to building a bridge for seismology into the scientific Python ecosystem. It offersa) read and write support for essentially all commonly used waveform, station, and event metadata file formats with a unified interface,b) a comprehensive signal processing toolbox tuned to the needs of seismologists,c) integrated access to all large data centers, web services and databases, andd) convenient wrappers to legacy codes like libtau and evalresp.Python, currently the most popular language for teaching introductory computer science courses at top-ranked U.S. departments, is a full-blown programming language with the flexibility of an interactive scripting language. Its extensive standard library and large variety of freely available high quality scientific modules cover most needs in developing scientific processing workflows. Together with packages like NumPy, SciPy, Matplotlib, IPython, Pandas, lxml, and PyQt, ObsPy enables the construction of complete workflows in Python. These vary from reading locally stored data or requesting data from one or more different data centers through to signal analysis and data processing and on to visualizations in GUI and web applications, output of modified/derived data and the creation of publication-quality figures.ObsPy enjoys a large world-wide rate of adoption in the community. Applications successfully using it include time-dependent and rotational seismology, big data processing, event relocations, and synthetic studies about attenuation kernels and full-waveform inversions to name a few examples. All functionality is extensively documented and the ObsPy tutorial and gallery give a good impression of the wide range of possible use cases.We will present the basic features of ObsPy, new developments and applications, and a roadmap for the near future and discuss the sustainability of our open-source development model.

  3. Querying and Serving N-gram Language Models with Python

    Directory of Open Access Journals (Sweden)

    2009-06-01

    Full Text Available Statistical n-gram language modeling is a very important technique in Natural Language Processing (NLP and Computational Linguistics used to assess the fluency of an utterance in any given language. It is widely employed in several important NLP applications such as Machine Translation and Automatic Speech Recognition. However, the most commonly used toolkit (SRILM to build such language models on a large scale is written entirely in C++ which presents a challenge to an NLP developer or researcher whose primary language of choice is Python. This article first provides a gentle introduction to statistical language modeling. It then describes how to build a native and efficient Python interface (using SWIG to the SRILM toolkit such that language models can be queried and used directly in Python code. Finally, it also demonstrates an effective use case of this interface by showing how to leverage it to build a Python language model server. Such a server can prove to be extremely useful when the language model needs to be queried by multiple clients over a network: the language model must only be loaded into memory once by the server and can then satisfy multiple requests. This article includes only those listings of source code that are most salient. To conserve space, some are only presented in excerpted form. The complete set of full source code listings may be found in Volume 1 of The Python Papers Source Codes Journal.

  4. Cosmic Microwave Background Anisotropy Measurement from Python V

    Science.gov (United States)

    Coble, K.; Dodelson, S.; Dragovan, M.; Ganga, K.; Knox, L.; Kovac, J.; Ratra, B.; Souradeep, T.

    2003-02-01

    We analyze observations of the microwave sky made with the Python experiment in its fifth year of operation at the Amundsen-Scott South Pole Station in Antarctica. After modeling the noise and constructing a map, we extract the cosmic signal from the data. We simultaneously estimate the angular power spectrum in eight bands ranging from large (l~40) to small (l~260) angular scales, with power detected in the first six bands. There is a significant rise in the power spectrum from large to smaller (l~200) scales, consistent with that expected from acoustic oscillations in the early universe. We compare this Python V map to a map made from data taken in the third year of Python. Python III observations were made at a frequency of 90 GHz and covered a subset of the region of the sky covered by Python V observations, which were made at 40 GHz. Good agreement is obtained both visually (with a filtered version of the map) and via a likelihood ratio test.

  5. Scripting MODFLOW model development using Python and FloPy

    Science.gov (United States)

    Bakker, Mark; Post, Vincent E. A.; Langevin, Christian D.; Hughes, Joseph D.; White, Jeremy; Starn, Jeffrey; Fienen, Michael N.

    2016-01-01

    Graphical user interfaces (GUIs) are commonly used to construct and postprocess numerical groundwater flow and transport models. Scripting model development with the programming language Python is presented here as an alternative approach. One advantage of Python is that there are many packages available to facilitate the model development process, including packages for plotting, array manipulation, optimization, and data analysis. For MODFLOW-based models, the FloPy package was developed by the authors to construct model input files, run the model, and read and plot simulation results. Use of Python with the available scientific packages and FloPy facilitates data exploration, alternative model evaluations, and model analyses that can be difficult to perform with GUIs. Furthermore, Python scripts are a complete, transparent, and repeatable record of the modeling process. The approach is introduced with a simple FloPy example to create and postprocess a MODFLOW model. A more complicated capture-fraction analysis with a real-world model is presented to demonstrate the types of analyses that can be performed using Python and FloPy.

  6. The effects of UV light on calcium metabolism in ball pythons (Python regius).

    Science.gov (United States)

    Hedley, J; Eatwell, K

    2013-10-12

    Despite the popularity of keeping snakes in captivity, there has been limited investigation into the effects of UV radiation on vitamin D levels in snakes. The aim of this study was to investigate the effects of UV-b radiation on plasma 25-hydroxyvitamin D3 levels and ionised calcium concentrations in ball pythons (Python regius). Blood samples were taken from 14 ball pythons, which had never been exposed to UV-b light, to obtain baseline 25-hydroxyvitamin D3 levels and ionised calcium concentrations. Blood samples were then taken again from the same snakes 70 days later after one group (Group 1, n=6 females) were exposed to UV-b radiation daily, and the other group (Group 2, n=5 males and 3 females) were exposed to no UV-b radiation. Mean±sd 25-hydroxyvitamin D3 levels on day 0 in Group 1 were 197±35 nmol/l, and on day 70 were 203.5±13.8 nmol/l. Mean±sd 25-hydroxyvitamin D3 levels in Group 2 on day 0 were 77.7±41.5 nmol/l, and on day 70 were 83.0±41.9 nmol/l. Mean±sd ionised calcium levels at day 0 were 1.84±0.05 mmol/l for Group 1, and on day 70 were 1.78±0.07 mmol/l. Mean±sd ionised calcium levels at day 0 were 1.79±0.07 mmol/l for Group 2, and on day 70 were 1.81±0.05 mmol/l. No association was demonstrated between exposure to UV-b radiation and plasma 25-hydroxyvitamin D3 and ionised calcium concentrations. These results may provide baseline parameters for future studies in this and other snake species to determine ability to utilise UV-b light for vitamin D production.

  7. Leveraging Comparative Genomics to Identify and Functionally Characterize Genes Associated with Sperm Phenotypes in Python bivittatus (Burmese Python

    Directory of Open Access Journals (Sweden)

    Kristopher J. L. Irizarry

    2016-01-01

    Full Text Available Comparative genomics approaches provide a means of leveraging functional genomics information from a highly annotated model organism’s genome (such as the mouse genome in order to make physiological inferences about the role of genes and proteins in a less characterized organism’s genome (such as the Burmese python. We employed a comparative genomics approach to produce the functional annotation of Python bivittatus genes encoding proteins associated with sperm phenotypes. We identify 129 gene-phenotype relationships in the python which are implicated in 10 specific sperm phenotypes. Results obtained through our systematic analysis identified subsets of python genes exhibiting associations with gene ontology annotation terms. Functional annotation data was represented in a semantic scatter plot. Together, these newly annotated Python bivittatus genome resources provide a high resolution framework from which the biology relating to reptile spermatogenesis, fertility, and reproduction can be further investigated. Applications of our research include (1 production of genetic diagnostics for assessing fertility in domestic and wild reptiles; (2 enhanced assisted reproduction technology for endangered and captive reptiles; and (3 novel molecular targets for biotechnology-based approaches aimed at reducing fertility and reproduction of invasive reptiles. Additional enhancements to reptile genomic resources will further enhance their value.

  8. Clinical and histologic effects of intracardiac administration of propofol for induction of anesthesia in ball pythons (Python regius).

    Science.gov (United States)

    McFadden, Michael S; Bennett, R Avery; Reavill, Drury R; Ragetly, Guillaume R; Clark-Price, Stuart C

    2011-09-15

    To assess the clinical differences between induction of anesthesia in ball pythons with intracardiac administration of propofol and induction with isoflurane in oxygen and to assess the histologic findings over time in hearts following intracardiac administration of propofol. Prospective randomized study. 30 hatchling ball pythons (Python regius). Anesthesia was induced with intracardiac administration of propofol (10 mg/kg [4.5 mg/lb]) in 18 ball pythons and with 5% isoflurane in oxygen in 12 ball pythons. Induction time, time of anesthesia, and recovery time were recorded. Hearts from snakes receiving intracardiac administration of propofol were evaluated histologically 3, 7, 14, 30, and 60 days following propofol administration. Induction time with intracardiac administration of propofol was significantly shorter than induction time with 5% isoflurane in oxygen. No significant differences were found in total anesthesia time. Recovery following intracardiac administration of propofol was significantly longer than recovery following induction of anesthesia with isoflurane in oxygen. Heart tissue evaluated histologically at 3, 7, and 14 days following intracardiac administration of propofol had mild inflammatory changes, and no histopathologic lesions were seen 30 and 60 days following propofol administration. Intracardiac injection of propofol in snakes is safe and provides a rapid induction of anesthesia but leads to prolonged recovery, compared with that following induction with isoflurane. Histopathologic lesions in heart tissues following intracardiac injection of propofol were mild and resolved after 14 days.

  9. Development of a technique for contrast radiographic examination of the gastrointestinal tract in ball pythons (Python regius).

    Science.gov (United States)

    Banzato, Tommaso; Russo, Elisa; Finotti, Luca; Zotti, Alessandro

    2012-07-01

    To develop a technique for radiographic evaluation of the gastrointestinal tract in ball pythons (Python regius). 10 ball python cadavers (5 males and 5 females) and 18 healthy adult ball pythons (10 males and 8 females). Live snakes were allocated to 3 groups (A, B, and C). A dose (25 mL/kg) of barium sulfate suspension at 3 concentrations (25%, 35%, and 45% [wt/vol]) was administered through an esophageal probe to snakes in groups A, B, and C, respectively. Each evaluation ended when all the contrast medium had reached the large intestine. Transit times through the esophagus, stomach, and small intestine were recorded. Imaging quality was evaluated by 3 investigators who assigned a grading score on the basis of predetermined criteria. Statistical analysis was conducted to evaluate differences in quality among the study groups. The esophagus and stomach had a consistent distribution pattern of contrast medium, whereas 3 distribution patterns of contrast medium were identified in the small intestine, regardless of barium concentration. Significant differences in imaging quality were detected among the 3 groups. Radiographic procedures were tolerated well by all snakes. The 35% concentration of contrast medium yielded the best imaging quality. Use of contrast medium for evaluation of the cranial portion of the gastrointestinal tract could be a reliable technique for the diagnosis of gastrointestinal diseases in ball pythons. However, results of this study may not translate to other snake species because of variables identified in this group of snakes.

  10. Pharmacokinetics of a long-acting ceftiofur formulation (ceftiofur crystalline free acid) in the ball python (Python regius).

    Science.gov (United States)

    Adkesson, Michael J; Fernandez-Varon, Emilio; Cox, Sherry; Martín-Jiménez, Tomás

    2011-09-01

    The objective of this study was to determine the pharmacokinetics of a long-acting formulation of ceftiofur crystalline-free acid (CCFA) following intramuscular injection in ball pythons (Python regius). Six adult ball pythons received an injection of CCFA (15 mg/kg) in the epaxial muscles. Blood samples were collected by cardiocentesis immediately prior to and at 0.5, 1, 2, 4, 8, 12, 18, 24, 48, 72, 96, 144, 192, 240, 288, 384, 480, 576, 720, and 864 hr after CCFA administration. Plasma ceftiofur concentrations were determined by high-performance liquid chromatography. A noncompartmental pharmacokinetic analysis was applied to the data. Maximum plasma concentration (Cmax) was 7.096 +/- 1.95 microg/ml and occurred at (Tmax) 2.17 +/- 0.98 hr. The area under the curve (0 to infinity) for ceftiofur was 74.59 +/- 13.05 microg x h/ml and the elimination half-life associated with the terminal slope of the concentration-time curve was 64.31 +/- 14.2 hr. Mean residence time (0 to infinity) was 46.85 +/- 13.53 hr. CCFA at 15 mg/kg was well tolerated in all the pythons. Minimum inhibitory concentration (MIC) data for bacterial isolates from snakes are not well established. For MIC values of python. For MICs > or =0.5 microg/ml, more frequent dosing or a higher dosage may be required.

  11. PyCSP - Communicating Sequential Processes for Python

    DEFF Research Database (Denmark)

    Vinter, Brian; Bjørndalen, John Markus; Anshus, Otto Johan

    CSP presently supports the core CSP abstractions. We introduce the PyCSP library, its implementation, a few performance benchmarks, and show example code using PyCSP. An early prototype of PyCSP has been used in this year's Extreme Multiprogramming Class at the CS department, university of Copenhagen......The Python programming language is effective for rapidly specifying programs and experimenting with them. It is increasingly being used in computational sciences, and in teaching computer science. CSP is effective for describing concurrency. It has become especially relevant with the emergence...... of commodity multi-core architectures. We are interested in exploring how a combination of Python and CSP can benefit both the computational sciences and the hands-on teaching of distributed and parallel computing in computer science. To make this possible, we have developed PyCSP, a CSP library for Python. Py...

  12. Tongue worm (Pentastomida) infection in ball pythons (Python regius) – a case report

    Science.gov (United States)

    Gałęcki, Remigiusz; Sokół, Rajmund; Dudek, Agnieszka

    Tongue worms (Pentastomida) are endoparasites causing pentastomiasis, an invasive disease representing a threat to exotic animals and humans. Animals acquire infection via the alimentary tract. In reptiles, the parasite is present in the lungs, resulting in symptoms from the respiratory system. Pentastomiasis may be asymptomatic, but nonspecific symptoms may occur at high parasite concentrations. Due to the harmful effects of many antiparasitic substances, tongue worm invasion in reptiles remains not fully treatable. Although pentasomiasis is rarely diagnosed in Poland, pentastomids were diagnosed in two ball pythons, who were patients of the “Poliklinika Weterynaryjna” veterinary clinic. They demonstrated problems with the respiratory system and a significant deterioration of health. Fenbendazole at a dose of 100 mg/kg b.w., repeated after 7 days was shown to be effective.

  13. The influence of mechanical ventilation on physiological parameters in ball pythons (Python regius).

    Science.gov (United States)

    Jakobsen, Sashia L; Williams, Catherine J A; Wang, Tobias; Bertelsen, Mads F

    2017-05-01

    Mechanical ventilation is widely recommended for reptiles during anesthesia, and while it is well-known that their low ectothermic metabolism requires much lower ventilation than in mammals, very little is known about the influence of ventilation protocol on the recovery from anesthesia. Here, 15 ball pythons (Python regius) were induced and maintained with isoflurane for 60min at one of three ventilation protocols (30, 125, or 250mlmin -1 kg -1 body mass) while an arterial catheter was inserted, and ventilation was then continued on 100% oxygen at the specified rate until voluntary extubation. Mean arterial blood pressure and heart rate (HR) were measured, and arterial blood samples collected at 60, 80, 180min and 12 and 24h after intubation. In all three groups, there was evidence of a metabolic acidosis, and snakes maintained at 30mlmin -1 kg -1 experienced an additional respiratory acidosis, while the two other ventilation protocols resulted in normal or low arterial PCO 2 . In general, normal acid-base status was restored within 12h in all three protocols. HR increased by 143±64% during anesthesia with high mechanical ventilation (250mlmin -1 kg -1 ) in comparison with recovered values. Recovery times after mechanical ventilation at 30, 125, or 250mlmin -1 kg -1 were 289±70, 126±16, and 68±7min, respectively. Mild overventilation may result in a faster recovery, and the associated lowering of arterial PCO 2 normalised arterial pH in the face of metabolic acidosis. Copyright © 2017 Elsevier Inc. All rights reserved.

  14. Spectral domain optical coherence tomography imaging of spectacular ecdysis in the royal python (Python regius).

    Science.gov (United States)

    Tusler, Charlotte A; Maggs, David J; Kass, Philip H; Paul-Murphy, Joanne R; Schwab, Ivan R; Murphy, Christopher J

    2015-01-01

    To describe using spectral domain optical coherence tomography (SD-OCT), digital slit-lamp biomicroscopy, and external photography, changes in the ophidian cuticle, spectacle, and cornea during ecdysis. Four normal royal pythons (Python regius). Snakes were assessed once daily throughout a complete shed cycle using nasal, axial, and temporal SD-OCT images, digital slit-lamp biomicroscopy, and external photography. Spectral domain optical coherence tomography (SD-OCT) images reliably showed the spectacular cuticle and stroma, subcuticular space (SCS), cornea, anterior chamber, iris, and Schlemm's canal. When visible, the subspectacular space (SSS) was more distended peripherally than axially. Ocular surface changes throughout ecdysis were relatively conserved among snakes at all three regions imaged. From baseline (7 days following completion of a full cycle), the spectacle gradually thickened before separating into superficial cuticular and deep, hyper-reflective stromal components, thereby creating the SCS. During spectacular separation, the stroma regained original reflectivity, and multiple hyper-reflective foci (likely fragments from the cuticular-stromal interface) were noted within the SCS. The cornea was relatively unchanged in character or thickness throughout all stages of ecdysis. Slit-lamp images did not permit observation of these changes. Spectral domain optical coherence tomography (SD-OCT) provided excellent high-resolution images of the snake anterior segment, and especially the cuticle, spectacle, and cornea of manually restrained normal snakes at all stages of ecdysis and warrants investigation in snakes with anterior segment disease. The peripheral spectacle may be the preferred entry point for diagnostic or therapeutic injections into the SSS and for initiating spectacular surgery. © 2014 American College of Veterinary Ophthalmologists.

  15. A spent fuel assemblies monitoring device by nondestructive analysis 'PYTHON'

    International Nuclear Information System (INIS)

    Saad, M.; Broeskamp, M.; Hahn, H.; Bignan, G.; Boisset, M.; Silie, P.

    1995-01-01

    The monitoring of spent fuel assemblies (16 x 16 UOX) in KWG-reactor pool with the use of non-destructive methods (total Gamma and neutron counting) allow the control of average burn-up and the extremity burn-up. The measurements allow a safety-criticality control before loading the fuel assemblies into the transport casks. A device called PYTHON has been tested and qualified in France. This paper presents a description of the industrial PYTHON device and the results of the measurements. (orig.)

  16. Python 3 text processing with NLTK 3 cookbook

    CERN Document Server

    Perkins, Jacob

    2014-01-01

    This book is intended for Python programmers interested in learning how to do natural language processing. Maybe you've learned the limits of regular expressions the hard way, or you've realized that human language cannot be deterministically parsed like a computer language. Perhaps you have more text than you know what to do with, and need automated ways to analyze and structure that text. This Cookbook will show you how to train and use statistical language models to process text in ways that are practically impossible with standard programming tools. A basic knowledge of Python and the basi

  17. Jet flavor tagging with Deep Learning using Python

    CERN Multimedia

    CERN. Geneva

    2016-01-01

    Besides the part that implements the resulting deep neural net in the ATLAS C++ software framework, a Python framework has been developed to connect HEP data to standard Data Science Python based libraries for Machine Learning. It makes use of HDF5, JSON and Pickle as intermediate data storage format, pandas and numpy for data handling and calculations, Keras for neural net construction and training as well as testing and matplotlib for plotting. It can be seen as an example of taking advantage of outside-HEP software developments without relying on the HEP standard ROOT.

  18. Solving PDEs in Python the FEniCS tutorial I

    CERN Document Server

    Langtangen, Hans Petter

    2016-01-01

    This book offers a concise and gentle introduction to finite element programming in Python based on the popular FEniCS software library. Using a series of examples, including the Poisson equation, the equations of linear elasticity, the incompressible Navier–Stokes equations, and systems of nonlinear advection–diffusion–reaction equations, it guides readers through the essential steps to quickly solving a PDE in FEniCS, such as how to define a finite variational problem, how to set boundary conditions, how to solve linear and nonlinear systems, and how to visualize solutions and structure finite element Python programs. This book is open access under a CC BY license.

  19. Identification of a novel nidovirus in an outbreak of fatal respiratory disease in ball pythons (Python regius).

    Science.gov (United States)

    Uccellini, Lorenzo; Ossiboff, Robert J; de Matos, Ricardo E C; Morrisey, James K; Petrosov, Alexandra; Navarrete-Macias, Isamara; Jain, Komal; Hicks, Allison L; Buckles, Elizabeth L; Tokarz, Rafal; McAloose, Denise; Lipkin, Walter Ian

    2014-08-08

    Respiratory infections are important causes of morbidity and mortality in reptiles; however, the causative agents are only infrequently identified. Pneumonia, tracheitis and esophagitis were reported in a collection of ball pythons (Python regius). Eight of 12 snakes had evidence of bacterial pneumonia. High-throughput sequencing of total extracted nucleic acids from lung, esophagus and spleen revealed a novel nidovirus. PCR indicated the presence of viral RNA in lung, trachea, esophagus, liver, and spleen. In situ hybridization confirmed the presence of intracellular, intracytoplasmic viral nucleic acids in the lungs of infected snakes. Phylogenetic analysis based on a 1,136 amino acid segment of the polyprotein suggests that this virus may represent a new species in the subfamily Torovirinae. This report of a novel nidovirus in ball pythons may provide insight into the pathogenesis of respiratory disease in this species and enhances our knowledge of the diversity of nidoviruses.

  20. Record length, mass, and clutch size in the nonindigenous Burmese Python, Python bivittatus Kuhl 1820 (Squamata: Pythonidae), in Florida

    Science.gov (United States)

    Krysko, Kenneth L.; Hart, Kristen M.; Smith, Brian J.; Selby, Thomas H.; Cherkiss, Michael S.; Coutu, Nicholas T.; Reichart, Rebecca M.; Nuñez, Leroy P.; Mazzotti, Frank J.; Snow, Ray W.

    2012-01-01

    The Burmese Python, Python bivittatus Kuhl 1820 (Squamata: Pythonidae), is indigenous to northern India,east to southern China, and south to Vietnam and a few islands in Indonesia (Barker and Barker 2008, Reed and Rodda 2009). This species has been introduced since at least 1979 in southern Florida, USA, where it likely began reproducing and became established during the 1980s (Meshaka et al. 2000, Snowet al. 2007b,Kraus 2009, Krysko et al. 2011, Willson et al. 2011). Python bivittatus has been documented in Florida consuming a variety of mammals and birds, and the American Alligator(Alligator mississippiensis) (Snowet al. 2007a, 2007b; Harvey et al. 2008; Rochford et al. 2010b; Holbrook and Chesnes 2011), many of which are protected species. Herein, we provide details on two of the largest known wild P. bivittatus in Florida to date, including current records on length,mass,clutch size, and diet.

  1. Photodermatitis and photokeratoconjunctivitis in a ball python (Python regius) and a blue-tongue skink (Tiliqua spp.).

    Science.gov (United States)

    Gardiner, David W; Baines, Frances M; Pandher, Karamjeet

    2009-12-01

    A male ball python (Python regius) and a female blue tongue skink (Tiliqua spp.) of unknown age were evaluated for anorexia, lethargy, excessive shedding, corneal opacity (python), and weight loss (skink) of approximately three weeks' duration. These animals represented the worst affected animals from a private herpetarium where many animals exhibited similar signs. At necropsy, the python had bilateral corneal opacity and scattered moderate dysecdysis. The skink had mild dysecdysis, poor body condition, moderate intestinal nematodiasis, and mild liver atrophy. Microscopic evaluation revealed epidermal erosion and ulceration, with severe epidermal basal cell degeneration and necrosis, and superficial dermatitis (python and skink). Severe bilateral ulcerative keratoconjunctivitis with bacterial colonization was noted in the ball python. Microscopic findings within the skin and eyes were suggestive of ultraviolet (UV) radiation damage or of photodermatitis and photokeratoconjunctivitis. Removal of the recently installed new lamps from the terrariums of the surviving reptiles resulted in resolution of clinical signs. Evaluation of a sample lamp of the type associated with these cases revealed an extremely high UV output, including very-short-wavelength UVB, neither found in natural sunlight nor emitted by several other UVB lamps unassociated with photokeratoconjunctivitis. Exposure to high-intensity and/or inappropriate wavelengths of UV radiation may be associated with significant morbidity, and even mortality, in reptiles. Veterinarians who are presented with reptiles with ocular and/or cutaneous disease of unapparent cause should fully evaluate the specifics of the vivarium light sources. Further research is needed to determine the characteristics of appropriate and of toxic UV light for reptiles kept in captivity.

  2. Special Demographic Zone in Poland - in Search for the Gist of the Phenomenon

    Directory of Open Access Journals (Sweden)

    Katarzyna Gerejczyk

    2017-07-01

    Full Text Available Aim/purpose - The objective of this paper is to identify the gist of the Special Demographic Zone phenomenon by analyzing the changes in the demographic structure of the EU population at country and regional level. Design/methodology/approach - We have applied the Boolean keyword and subject term searches of scholarly articles published in EBSCO and EMERALD databases, as well as in Google Scholar, between 2006 and 2016, inclusive. The key words used in the analysis were: Special Demographic Zone and Special Demographic Zones. This systematic literature review enabled us to identify 15 scientific articles connected directly with the topic in question. Findings - We found that there are 3 strategies employed by the local and regional self-governments to tackle the demographic challenges. We present them as a 3A model, representing strategies: to acknowledge, to adapt and to (counter act. We perceive the Special Demographic Zone, defined as a policy tool, as a specific case of an act strategy. Research implications/limitations - The main implication of the research is that there are already tools and mechanism ready to be utilized by the self-governments in order to tackle demographic challenges, which contribute to the local and regional sustainable development. The recommendation for local authorities is to determine which policy direction (as presented in the 3A model should be embarked on in a given territory in order to maximize the sustainable effect of undertaken actions. Originality/value/contribution - The originality of this work lies in the development of a theoretical 3A model of self-government's policy reactions to the encountered demographic challenges and in the conceptualization of a Special Demographic Zone as a special case of an act policy strategy within the broad framework of regional socioeconomic policy. Furthermore, the article draws on up-to-date statistical data.

  3. Double valvular insufficiency in a Burmese python (Python molurus bivittatus, Linnaeus, 1758) suffering from concomitant bacterial pneumonia.

    Science.gov (United States)

    Schilliger, Lionel; Tréhiou-Sechi, Emilie; Petit, Amandine M P; Misbach, Charlotte; Chetboul, Valérie

    2010-12-01

    Ultrasonography, and, to a lesser extent, echocardiography are now well-established, noninvasive, and painless diagnostic tools in herpetologic medicine. Various cardiac lesions have been previously described in reptiles, but valvulopathy is rarely documented in these animals and, consequently, is poorly understood. In this report, sinoatrial and atrioventricular insufficiencies were diagnosed in a 5-yr-old captive dyspneic Burmese python (Python molurus bivittatus) on the basis of echocardiographic and Doppler examination. This case report is the first to document Doppler assessment of valvular regurgitations in a reptile.

  4. SPOTting model parameters using a ready-made Python package

    Science.gov (United States)

    Houska, Tobias; Kraft, Philipp; Breuer, Lutz

    2015-04-01

    The selection and parameterization of reliable process descriptions in ecological modelling is driven by several uncertainties. The procedure is highly dependent on various criteria, like the used algorithm, the likelihood function selected and the definition of the prior parameter distributions. A wide variety of tools have been developed in the past decades to optimize parameters. Some of the tools are closed source. Due to this, the choice for a specific parameter estimation method is sometimes more dependent on its availability than the performance. A toolbox with a large set of methods can support users in deciding about the most suitable method. Further, it enables to test and compare different methods. We developed the SPOT (Statistical Parameter Optimization Tool), an open source python package containing a comprehensive set of modules, to analyze and optimize parameters of (environmental) models. SPOT comes along with a selected set of algorithms for parameter optimization and uncertainty analyses (Monte Carlo, MC; Latin Hypercube Sampling, LHS; Maximum Likelihood, MLE; Markov Chain Monte Carlo, MCMC; Scuffled Complex Evolution, SCE-UA; Differential Evolution Markov Chain, DE-MCZ), together with several likelihood functions (Bias, (log-) Nash-Sutcliff model efficiency, Correlation Coefficient, Coefficient of Determination, Covariance, (Decomposed-, Relative-, Root-) Mean Squared Error, Mean Absolute Error, Agreement Index) and prior distributions (Binomial, Chi-Square, Dirichlet, Exponential, Laplace, (log-, multivariate-) Normal, Pareto, Poisson, Cauchy, Uniform, Weibull) to sample from. The model-independent structure makes it suitable to analyze a wide range of applications. We apply all algorithms of the SPOT package in three different case studies. Firstly, we investigate the response of the Rosenbrock function, where the MLE algorithm shows its strengths. Secondly, we study the Griewank function, which has a challenging response surface for

  5. Status of parallel Python-based implementation of UEDGE

    Science.gov (United States)

    Umansky, M. V.; Pankin, A. Y.; Rognlien, T. D.; Dimits, A. M.; Friedman, A.; Joseph, I.

    2017-10-01

    The tokamak edge transport code UEDGE has long used the code-development and run-time framework Basis. However, with the support for Basis expected to terminate in the coming years, and with the advent of the modern numerical language Python, it has become desirable to move UEDGE to Python, to ensure its long-term viability. Our new Python-based UEDGE implementation takes advantage of the portable build system developed for FACETS. The new implementation gives access to Python's graphical libraries and numerical packages for pre- and post-processing, and support of HDF5 simplifies exchanging data. The older serial version of UEDGE has used for time-stepping the Newton-Krylov solver NKSOL. The renovated implementation uses backward Euler discretization with nonlinear solvers from PETSc, which has the promise to significantly improve the UEDGE parallel performance. We will report on assessment of some of the extended UEDGE capabilities emerging in the new implementation, and will discuss the future directions. Work performed for U.S. DOE by LLNL under contract DE-AC52-07NA27344.

  6. Fixing the Sorting Algorithm for Android, Java and Python

    NARCIS (Netherlands)

    C.P.T. de Gouw (Stijn); F.S. de Boer (Frank)

    2015-01-01

    htmlabstractTim Peters developed the Timsort hybrid sorting algorithm in 2002. TimSort was first developed for Python, a popular programming language, but later ported to Java (where it appears as java.util.Collections.sort and java.util.Arrays.sort). TimSort is today used as the default sorting

  7. pypet: A Python Toolkit for Data Management of Parameter Explorations.

    Science.gov (United States)

    Meyer, Robert; Obermayer, Klaus

    2016-01-01

    pypet (Python parameter exploration toolkit) is a new multi-platform Python toolkit for managing numerical simulations. Sampling the space of model parameters is a key aspect of simulations and numerical experiments. pypet is designed to allow easy and arbitrary sampling of trajectories through a parameter space beyond simple grid searches. pypet collects and stores both simulation parameters and results in a single HDF5 file. This collective storage allows fast and convenient loading of data for further analyses. pypet provides various additional features such as multiprocessing and parallelization of simulations, dynamic loading of data, integration of git version control, and supervision of experiments via the electronic lab notebook Sumatra. pypet supports a rich set of data formats, including native Python types, Numpy and Scipy data, Pandas DataFrames, and BRIAN(2) quantities. Besides these formats, users can easily extend the toolkit to allow customized data types. pypet is a flexible tool suited for both short Python scripts and large scale projects. pypet's various features, especially the tight link between parameters and results, promote reproducible research in computational neuroscience and simulation-based disciplines.

  8. Building and documenting workflows with python-based snakemake

    NARCIS (Netherlands)

    J. Köster (Johannes); S. Rahmann (Sven)

    2012-01-01

    textabstractSnakemake is a novel workflow engine with a simple Python-derived workflow definition language and an optimizing execution environment. It is the first system that supports multiple named wildcards (or variables) in input and output filenames of each rule definition. It also allows to

  9. Wyrm: A Brain-Computer Interface Toolbox in Python.

    Science.gov (United States)

    Venthur, Bastian; Dähne, Sven; Höhne, Johannes; Heller, Hendrik; Blankertz, Benjamin

    2015-10-01

    In the last years Python has gained more and more traction in the scientific community. Projects like NumPy, SciPy, and Matplotlib have created a strong foundation for scientific computing in Python and machine learning packages like scikit-learn or packages for data analysis like Pandas are building on top of it. In this paper we present Wyrm ( https://github.com/bbci/wyrm ), an open source BCI toolbox in Python. Wyrm is applicable to a broad range of neuroscientific problems. It can be used as a toolbox for analysis and visualization of neurophysiological data and in real-time settings, like an online BCI application. In order to prevent software defects, Wyrm makes extensive use of unit testing. We will explain the key aspects of Wyrm's software architecture and design decisions for its data structure, and demonstrate and validate the use of our toolbox by presenting our approach to the classification tasks of two different data sets from the BCI Competition III. Furthermore, we will give a brief analysis of the data sets using our toolbox, and demonstrate how we implemented an online experiment using Wyrm. With Wyrm we add the final piece to our ongoing effort to provide a complete, free and open source BCI system in Python.

  10. Duplicating MC-15 Output with Python and MCNP

    Energy Technology Data Exchange (ETDEWEB)

    McSpaden, Alexander Thomas [Los Alamos National Lab. (LANL), Los Alamos, NM (United States)

    2017-08-23

    Two Python scripts have been written that process the output files of MCNP6 into a format that mimics the list-mode output of Los Alamos National Laboratory’s MC-15 and NPOD neutron detection systems. This report details the methods implemented in these scripts and instructions on their use.

  11. Cosmic tragedy in Steve Chimombo's The Python | Molande ...

    African Journals Online (AJOL)

    Cosmic tragedy in Steve Chimombo's The Python. Bright Molande. Abstract. No Abstract. Full Text: EMAIL FREE FULL TEXT EMAIL FREE FULL TEXT · DOWNLOAD FULL TEXT DOWNLOAD FULL TEXT · AJOL African Journals Online. HOW TO USE AJOL... for Researchers · for Librarians · for Authors · FAQ's · More about ...

  12. Maybe it's not Python that sucks, maybe it's my code

    CERN Multimedia

    CERN. Geneva

    2015-01-01

    Did you know that in Python integers from -5 to 257 are preallocated? Reusing them 1000 times, instead of allocating memory for a bigger integer, saves a whopping 1 millisecond of code's execution time! Isn't that thrilling? Well, before you get that crazy, learn some basic performance tricks that you can start using today.

  13. Write Python instead of SQL - an introduction to SQLAlchemy.

    CERN Multimedia

    CERN. Geneva

    2016-01-01

    SQLAlchemy is the most popular ORM and SQL abstraction layer for Python and used by multiple big projects at CERN such as Indico or Invenio. In my talk I'm going to give a short introduction on how to use it.

  14. Cost versus Precision for Approximate Typing for Python

    NARCIS (Netherlands)

    Fritz, Levin; Hage, J

    2014-01-01

    In this paper we describe a variation of monotone frameworks that enables us to perform approximate typing of Python, in particular for dealing with some of its more dynamic features such as first-class functions and Python’s dynamic class system. We additionally introduce a substantial number of

  15. pypet: A Python Toolkit for Data Management of Parameter Explorations

    Directory of Open Access Journals (Sweden)

    Robert Meyer

    2016-08-01

    Full Text Available pypet (Python parameter exploration toolkit is a new multi-platform Python toolkit for managing numerical simulations. Sampling the space of model parameters is a key aspect of simulations and numerical experiments. pypet is designed to allow easy and arbitrary sampling of trajectories through a parameter space beyond simple grid searches.pypet collects and stores both simulation parameters and results in a single HDF5 file.This collective storage allows fast and convenient loading of data for further analyses.pypet provides various additional features such as multiprocessing and parallelization of simulations, dynamic loading of data, integration of git version control, and supervision of experiments via the electronic lab notebook Sumatra. pypet supports a rich set of data formats, including native Python types, Numpy and Scipy data, Pandas DataFrames, and BRIAN(2 quantities. Besides these formats, users can easily extend the toolkit to allow customized data types. pypet is a flexible tool suited for both short Python scripts and large scale projects. pypet's various features, especially the tight link between parameters and results, promote reproducible research in computational neuroscience and simulation-based disciplines.

  16. The ageing body in Monty Python Live (Mostly)

    DEFF Research Database (Denmark)

    Petersen, Line Nybro

    2018-01-01

    This article analyses representations of the ageing body in the live televised show Monty Python Live (Mostly) (2014). The famous satire group performed in the O2 arena in London, and the show was telecast live in cinemas and aired on television across the world. In the show, the group members, now...

  17. Python for Scientific Computing Education: Modeling of Queueing Systems

    Directory of Open Access Journals (Sweden)

    Vladimiras Dolgopolovas

    2014-01-01

    Full Text Available In this paper, we present the methodology for the introduction to scientific computing based on model-centered learning. We propose multiphase queueing systems as a basis for learning objects. We use Python and parallel programming for implementing the models and present the computer code and results of stochastic simulations.

  18. Implementing a Multi-Agent System in Python

    DEFF Research Database (Denmark)

    Ettienne, Mikko Berggren; Vester, Steen; Villadsen, Jørgen

    2012-01-01

    We describe the solution used by the Python-DTU team in the Multi-Agent Programming Contest 2011, where the scenario was called Agents on Mars. We present our auction-based agreement, area controlling and pathfinding algorithms and discuss our chosen strategy and our choice of technology used...

  19. Aura: A Multi-Featured Programming Framework in Python

    Directory of Open Access Journals (Sweden)

    2010-09-01

    Full Text Available This paper puts forward the design, programming and application of innovative educational software, ‘Aura’ made using Python and PyQt Python bindings. The research paper presents a new concept of using a single tool to relate between syntaxes of various programming languages and algorithms. It radically increases their understanding and retaining capacity, since they can correlate between many programming languages. The software is a totally unorthodox attempt towards helping students who have their first tryst with programming languages. The application is designed to help students understand how algorithms work and thus, help them in learning multiple programming languages on a single platform using an interactive graphical user interface. This paper elucidates how using Python and PyQt bindings, a comprehensive feature rich application, that implements an interactive algorithm building technique, a web browser, multiple programming language framework, a code generator and a real time code sharing hub be embedded into a single interface. And also explains, that using Python as building tool, it requires much less coding than conventional feature rich applications coded in other programming languages, and at the same time does not compromise on stability, inter-operability and robustness of the application.

  20. Python Source Code Plagiarism Attacks on Introductory Programming Course Assignments

    Science.gov (United States)

    Karnalim, Oscar

    2017-01-01

    This paper empirically enlists Python plagiarism attacks that have been found on Introductory Programming course assignments for undergraduate students. According to our observation toward 400 plagiarism-suspected cases, there are 35 plagiarism attacks that have been conducted by students. It starts with comment & whitespace modification as…

  1. Teaching CS1 with Python GUI Game Programming

    Science.gov (United States)

    Wang, Hong

    2010-06-01

    Python is becoming a popular programming language in teaching freshman programming courses. The author designed a sequence of game programming labs using Pygame to further help engage students and to improve their programming skills. The class survey showed that the adoption of Pygame is successful.

  2. The outcome and predictive factors of sunitinib therapy in advanced gastrointestinal stromal tumors (GIST) after imatinib failure - one institution study

    International Nuclear Information System (INIS)

    Rutkowski, Piotr; Osuch, Czesław; Mierzejewska, Ewa; Wasielewski, Kacper; Woźniak, Agnieszka; Grzesiakowska, Urszula; Nowecki, Zbigniew I; Siedlecki, Janusz A; Limon, Janusz; Bylina, Elżbieta; Klimczak, Anna; Świtaj, Tomasz; Falkowski, Sławomir; Kroc, Jacek; Ługowska, Iwona; Brzeskwiniewicz, Magdalena; Melerowicz, Wojciech

    2012-01-01

    Gastrointestinal stromal tumors (GIST) mutational status is recognized factor related to the results of tyrosine kinase inhibitors therapy such as imatinib (IM) or sunitinib (SU). Arterial hypertension (AH) is common adverse event related to SU, reported as predictive factor in renal cell carcinoma. The aim of the study was to analyze the outcomes and factors predicting results of SU therapy in inoperable/metastatic CD117(+) GIST patients after IM failure. We identified 137 consecutive patients with advanced inoperable/metastatic GIST treated in one center with SU (2 nd line treatment). Median follow-up time was 23 months. Additionally, in 39 patients there were analyzed selected constitutive single nucleotide polymorphisms (SNPs) of VEGFA and VEGFR2 genes. One year progression-free survival (PFS; calculated from the start of SU) rate was 42% and median PFS was 43 weeks. The estimated overall survival (OS, calculated both from start of SU or IM) was 74 weeks and 51 months, respectively. One-year PFS was 65% (median 74 weeks) in 55 patients with AH vs. 22% (median 17 weeks) in patients without AH. Patients with primary tumors carrying mutations in KIT exon 9 or wild-type had substantially better 1-year PFS (68% and 57%; median 65.5 and 50.5 weeks, respectively) than patients having tumors with KIT exon 11 or PDGFRA mutations (34% and 15%; median 36.8 and 9 weeks, respectively). We identified two independent factors with significant impact on PFS and OS in univariate and multivariate analysis: primary tumor genotype and presence of AH. The most common adverse events during therapy were: fatigue, AH, hypothyroidism, hand and foot syndrome, mucositis, skin reactions, dyspepsia, and diarrhea. Two deaths were assessed as related to tumor rupture caused by reaction to SU therapy. The presence of C-allele in rs833061 and the T-allele in rs3025039 polymorphism of VEGFA were associated with significantly higher risk of hypothyroidism (OR: 10.0 p = 0.041 and OR: 10.5; p = 0

  3. The outcome and predictive factors of sunitinib therapy in advanced gastrointestinal stromal tumors (GIST after imatinib failure - one institution study

    Directory of Open Access Journals (Sweden)

    Rutkowski Piotr

    2012-03-01

    Full Text Available Abstract Background Gastrointestinal stromal tumors (GIST mutational status is recognized factor related to the results of tyrosine kinase inhibitors therapy such as imatinib (IM or sunitinib (SU. Arterial hypertension (AH is common adverse event related to SU, reported as predictive factor in renal cell carcinoma. The aim of the study was to analyze the outcomes and factors predicting results of SU therapy in inoperable/metastatic CD117(+ GIST patients after IM failure. Methods We identified 137 consecutive patients with advanced inoperable/metastatic GIST treated in one center with SU (2nd line treatment. Median follow-up time was 23 months. Additionally, in 39 patients there were analyzed selected constitutive single nucleotide polymorphisms (SNPs of VEGFA and VEGFR2 genes. Results One year progression-free survival (PFS; calculated from the start of SU rate was 42% and median PFS was 43 weeks. The estimated overall survival (OS, calculated both from start of SU or IM was 74 weeks and 51 months, respectively. One-year PFS was 65% (median 74 weeks in 55 patients with AH vs. 22% (median 17 weeks in patients without AH. Patients with primary tumors carrying mutations in KIT exon 9 or wild-type had substantially better 1-year PFS (68% and 57%; median 65.5 and 50.5 weeks, respectively than patients having tumors with KIT exon 11 or PDGFRA mutations (34% and 15%; median 36.8 and 9 weeks, respectively. We identified two independent factors with significant impact on PFS and OS in univariate and multivariate analysis: primary tumor genotype and presence of AH. The most common adverse events during therapy were: fatigue, AH, hypothyroidism, hand and foot syndrome, mucositis, skin reactions, dyspepsia, and diarrhea. Two deaths were assessed as related to tumor rupture caused by reaction to SU therapy. The presence of C-allele in rs833061 and the T-allele in rs3025039 polymorphism of VEGFA were associated with significantly higher risk of hypothyroidism

  4. Monty Python e a inversão do platonismo

    Directory of Open Access Journals (Sweden)

    Flavia Pitaluga

    2008-11-01

    Full Text Available O objetivo deste trabalho é analisar os filmes Monty Python and the holy grail (Em busca do cálice sagrado e Monty Python's life of Brian (A vida de Brian à luz das discussões de Gilles Deleuze sobre o sentido na filosofia dos estóicos. A inversão do platonismo e a ascensão à superfície dos simulacros são problemas centrais para compreendermos o humor do grupo. Ao longo da discussão, as questões sobre o lugar do clichê no cinema, o falso e suas potências e a injeção de temporalidade nas produções cinematográficas, uma das características do cinema moderno, serão abordadas. A hipótese destas articulações é que a morte de Deus (crise da Verdade é inseparável da maneira como o indivíduo moderno experimenta o tempo: o cinema moderno, ao fazer "a apresentação direta do tempo" (DELEUZE, 1990, coloca em questão a linearidade e a própria verdade como representáveis. Palavras-chave: simulacro; nonsense; humor; Monty Python Abstract: Monty Python and the inversion of Platonism — The purpose of this paper is to analyze the films "Monty Python and the Holy Grail" and "Monty Python's Life of Brian" in the light of Gilles Deleuze's reflections about meaning in the philosophy of the Stoics. The inversion of Platonism and the rise of simulacra to the surface are keys to understanding the group's humor. This discussion examines questions relating to the role of clichés in motion pictures, the fake and its powers, and the insertion of temporality in film productions as one of the characteristics of modern moviemaking. The hypothesis underpinning these articulations is that the death of God (the crisis of Truth is inseparable from the way in which modern individuals experience time: modern cinema, in its "direct presentation of time" (DELEUZE, 1990, questions linearity and truth itself as being representable. Keywords: simulacrum; nonsense; humor; Monty Python

  5. The Python ARM Radar Toolkit (Py-ART), a Library for Working with Weather Radar Data in the Python Programming Language

    OpenAIRE

    Helmus, Jonathan J; Collis, Scott M

    2016-01-01

    The Python ARM Radar Toolkit is a package for reading, visualizing, correcting and analysing data from weather radars. Development began to meet the needs of the Atmospheric Radiation Measurement Climate Research Facility and has since expanded to provide a general-purpose framework for working with data from weather radars in the Python programming language. The toolkit is built on top of libraries in the Scientific Python ecosystem including NumPy, SciPy, and matplotlib, and makes use of Cy...

  6. uPy: a ubiquitous CG Python API with biological-modeling applications.

    Science.gov (United States)

    Autin, Ludovic; Johnson, Graham; Hake, Johan; Olson, Arthur; Sanner, Michel

    2012-01-01

    The uPy Python extension module provides a uniform abstraction of the APIs of several 3D computer graphics programs (called hosts), including Blender, Maya, Cinema 4D, and DejaVu. A plug-in written with uPy can run in all uPy-supported hosts. Using uPy, researchers have created complex plug-ins for molecular and cellular modeling and visualization. uPy can simplify programming for many types of projects (not solely science applications) intended for multihost distribution. It's available at http://upy.scripps.edu. The first featured Web extra is a video that shows interactive analysis of a calcium dynamics simulation. YouTube URL: http://youtu.be/wvs-nWE6ypo. The second featured Web extra is a video that shows rotation of the HIV virus. YouTube URL: http://youtu.be/vEOybMaRoKc.

  7. D3GB: An Interactive Genome Browser for R, Python, and WordPress.

    Science.gov (United States)

    Barrios, David; Prieto, Carlos

    2017-05-01

    Genome browsers are useful not only for showing final results but also for improving analysis protocols, testing data quality, and generating result drafts. Its integration in analysis pipelines allows the optimization of parameters, which leads to better results. New developments that facilitate the creation and utilization of genome browsers could contribute to improving analysis results and supporting the quick visualization of genomic data. D3 Genome Browser is an interactive genome browser that can be easily integrated in analysis protocols and shared on the Web. It is distributed as an R package, a Python module, and a WordPress plugin to facilitate its integration in pipelines and the utilization of platform capabilities. It is compatible with popular data formats such as GenBank, GFF, BED, FASTA, and VCF, and enables the exploration of genomic data with a Web browser.

  8. PySLHA: a Pythonic interface to SUSY Les Houches accord data

    International Nuclear Information System (INIS)

    Buckley, Andy

    2015-01-01

    This paper describes the PySLHA package, a Python language module and program collection for reading, writing and visualising SUSY model data in the SLHA format. PySLHA can read and write SLHA data in a very general way, including the official SLHA2 extension and user customisations, and with arbitrarily deep indexing of data block entries and a dedicated, intuitive interface for particle data and decay information. The draft SLHA3 XSECTION feature is also fully supported. PySLHA can additionally read and write the legacy ISAWIG model format, and provides format conversion scripts. A publication-quality mass spectrum and decay chain plotting tool, slhaplot, is included in the package. (orig.)

  9. uPy: a ubiquitous computer graphics Python API with Biological Modeling Applications

    Science.gov (United States)

    Autin, L.; Johnson, G.; Hake, J.; Olson, A.; Sanner, M.

    2015-01-01

    In this paper we describe uPy, an extension module for the Python programming language that provides a uniform abstraction of the APIs of several 3D computer graphics programs called hosts, including: Blender, Maya, Cinema4D, and DejaVu. A plugin written with uPy is a unique piece of code that will run in all uPy-supported hosts. We demonstrate the creation of complex plug-ins for molecular/cellular modeling and visualization and discuss how uPy can more generally simplify programming for many types of projects (not solely science applications) intended for multi-host distribution. uPy is available at http://upy.scripps.edu PMID:24806987

  10. Emerge - A Python environment for the modeling of subsurface transfers

    Science.gov (United States)

    Lopez, S.; Smai, F.; Sochala, P.

    2014-12-01

    The simulation of subsurface mass and energy transfers often relies on specific codes that were mainly developed using compiled languages which usually ensure computational efficiency at the expense of relatively long development times and relatively rigid software. Even if a very detailed, possibly graphical, user-interface is developed the core numerical aspects are rarely accessible and the smallest modification will always need a compilation step. Thus, user-defined physical laws or alternative numerical schemes may be relatively difficult to use. Over the last decade, Python has emerged as a popular and widely used language in the scientific community. There already exist several libraries for the pre and post-treatment of input and output files for reservoir simulators (e.g. pytough). Development times in Python are considerably reduced compared to compiled languages, and programs can be easily interfaced with libraries written in compiled languages with several comprehensive numerical libraries that provide sequential and parallel solvers (e.g. PETSc, Trilinos…). The core objective of the Emerge project is to explore the possibility to develop a modeling environment in full Python. Consequently, we are developing an open python package with the classes/objects necessary to express, discretize and solve the physical problems encountered in the modeling of subsurface transfers. We heavily relied on Python to have a convenient and concise way of manipulating potentially complex concepts with a few lines of code and a high level of abstraction. Our result aims to be a friendly numerical environment targeting both numerical engineers and physicist or geoscientists with the possibility to quickly specify and handle geometries, arbitrary meshes, spatially or temporally varying properties, PDE formulations, boundary conditions…

  11. Rapid microsatellite marker development using next generation pyrosequencing to inform invasive Burmese python -- Python molurus bivittatus -- management

    Science.gov (United States)

    Hunter, Margaret E.; Hart, Kristen M.

    2013-01-01

    Invasive species represent an increasing threat to native ecosystems, harming indigenous taxa through predation, habitat modification, cross-species hybridization and alteration of ecosystem processes. Additionally, high economic costs are associated with environmental damage, restoration and control measures. The Burmese python, Python molurus bivittatus, is one of the most notable invasive species in the US, due to the threat it poses to imperiled species and the Greater Everglades ecosystem. To address population structure and relatedness, next generation sequencing was used to rapidly produce species-specific microsatellite loci. The Roche 454 GS-FLX Titanium platform provided 6616 di-, tri- and tetra-nucleotide repeats in 117,516 sequences. Using stringent criteria, 24 of 26 selected tri- and tetra-nucleotide loci were polymerase chain reaction (PCR) amplified and 18 were polymorphic. An additional six cross-species loci were amplified, and the resulting 24 loci were incorporated into eight PCR multiplexes. Multi-locus genotypes yielded an average of 61% (39%–77%) heterozygosity and 3.7 (2–6) alleles per locus. Population-level studies using the developed microsatellites will track the invasion front and monitor population-suppression dynamics. Additionally, cross-species amplification was detected in the invasive Ball, P. regius, and Northern African python, P. sebae. These markers can be used to address the hybridization potential of Burmese pythons and the larger, more aggressive P. sebae.

  12. An intuitive Python interface for Bioconductor libraries demonstrates the utility of language translators

    DEFF Research Database (Denmark)

    Gautier, Laurent

    2010-01-01

    time, Python has matured as a rich and reliable language for the agile development of prototypes or final implementations, as well as for handling large data sets. Results The data structures and functions from Bioconductor can be exposed to Python as a regular library. This allows a fully transparent...... and native use of Bioconductor from Python, without one having to know the R language and with only a small community of translators required to know both. To demonstrate this, we have implemented such Python representations for key infrastructure packages in Bioconductor, letting a Python programmer handle...... annotation data, microarray data, and next-generation sequencing data. Conclusions Bioconductor is now not solely reserved to R users. Building a Python application using Bioconductor functionality can be done just like if Bioconductor was a Python package....

  13. Test and Behaviour Driven Development with Python

    CERN Multimedia

    CERN. Geneva

    2016-01-01

    Experience has taught us that bugs are impossible to avoid when programming. Specially on continuous delivery processes where there are new versions that refactor or incorporate new modules to the project. Although, there are different tools which help us to ensure code quality by enabling developers to catch bugs while still in the development stage. In this talk, I will talk about Test-driven development(TDD) and Behaviour-Driven development (BDD) methodologies focused on web development. Also, I will present an overview of unit testing tools as Selenium or Behave, which help us to produce working software, with fewer bugs, quickly and consistently.

  14. Unsupervised semantic indoor scene classification for robot vision based on context of features using Gist and HSV-SIFT

    Science.gov (United States)

    Madokoro, H.; Yamanashi, A.; Sato, K.

    2013-08-01

    This paper presents an unsupervised scene classification method for actualizing semantic recognition of indoor scenes. Background and foreground features are respectively extracted using Gist and color scale-invariant feature transform (SIFT) as feature representations based on context. We used hue, saturation, and value SIFT (HSV-SIFT) because of its simple algorithm with low calculation costs. Our method creates bags of features for voting visual words created from both feature descriptors to a two-dimensional histogram. Moreover, our method generates labels as candidates of categories for time-series images while maintaining stability and plasticity together. Automatic labeling of category maps can be realized using labels created using adaptive resonance theory (ART) as teaching signals for counter propagation networks (CPNs). We evaluated our method for semantic scene classification using KTH's image database for robot localization (KTH-IDOL), which is popularly used for robot localization and navigation. The mean classification accuracies of Gist, gray SIFT, one class support vector machines (OC-SVM), position-invariant robust features (PIRF), and our method are, respectively, 39.7, 58.0, 56.0, 63.6, and 79.4%. The result of our method is 15.8% higher than that of PIRF. Moreover, we applied our method for fine classification using our original mobile robot. We obtained mean classification accuracy of 83.2% for six zones.

  15. Laparoscopic atypical gastrectomy in the treatment of gastric GIST. Short-term and medium-term outcomes

    Directory of Open Access Journals (Sweden)

    Santiago Reimondez

    2017-08-01

    Full Text Available Gastrointestinal stromal tumors are the most common mesenchymal neoplasms of the gastrointestinal tract. Recently, many studies have addressed the laparoscopic management of these tumors. The aim of this study was to evaluate the safety and efficacy of laparoscopic atypical gastrectomy in the resolution of these neoplasms. In the period between January 2009 and December 2015, 24 patients with suspected gastric GIST less than 5 cm in size underwent surgery under this approach. Abscense of peritoneal and liver metastases and immunohistochemistry expression of CD117 antigen were considered as inclusion criteria. We retrospectively analyzed clinical and histopathological characteristics, surgical outcomes, postoperative complications and oncological results. Statistical analysis included 14 patients. The mean age was 60 years (10 women and 4 men and upper gastrointestinal bleeding was the chief complaint for consultation. Conversion to open surgery was necessary in one case and no major complications, readmissions or reoperations were recorded. The mean tumor size was 41 mm with negative resection margin in all samples. The mean hospital stay was 3 days and no tumor recurrences were recorded in 44 months of follow-up. Laparoscopic atypical gastrectomy for gastric GIST is a safe and effective technique with good outcomes in experienced hands

  16. Gastrointestinal Stromal Tumors (GIST) of the Stomach: Retrospective Experience with Surgical Resection at the National Cancer Institute

    International Nuclear Information System (INIS)

    NAGUIB, Sh.F.; ZAGHLOUL, A.S.; El MARAKBY, H.

    2008-01-01

    Gastric Gist's account for more than half of all gastrointestinal stromal tumors and represent less than 5% of all gastric tumors. The peak age for harboring Gist of the stomach is around 60 years and a slight male preponderance is reported. These tumors are identified by expression of CD117 or CD34 antigen. Symptoms at presentation usually include bleeding, ab¬dominal pain or abdominal mass. Endoscopically, they typically appear as a submucosal mass with or without ulceration and on CT scans an extra gastric mass is usually seen. Complete surgical resection provides the only chance for cure, with only l-2 cm free margins needed. However, local recurrence and/or metastases supervene in almost half the patients treated with surgery alone, even when no gross residual is left. Thereby imatinib mesylate was advocated as an adjuvant to surgery, which appears to have improved disease-free and overall survival. Aim of the Work: The aim of this work was to assess clinico-pathological features of gastrointestinal stromal tumors (GIST) of the stomach and to appraise the results of treatment by surgery in patients treated at the National Cancer Institute (NCI) of Cairo between January 2002 and December 2007. Patients and Methods: Nineteen patients with histologically and immuno-histochemically proven GIST of the stomach were treated by surgery at the NCI during the 6-year study period. Preoperative assessment included detailed history, clinical examination, full laboratory tests, endoscopy, abdominal ultrasound and CT. General medical assessment included chest X-ray, ECG and echocardiography. Results: The patients' age ranged from 26 to 77 years with a median of 51 years. Obvious male/female preponderance was noticed (68.4% to 31.6%). Tumors were located at the upper 1/3 in 42.1%, at the middle 1/3 in 31.6% and at the lower 1/3 in 26.3%. The most common clinical presentation was related to bleeding (hematemesis, melena or anaemia) and was seen in 63.2%. No tumors were

  17. Characterization of carbonic anhydrase XIII in the erythrocytes of the Burmese python, Python molurus bivittatus.

    Science.gov (United States)

    Esbaugh, A J; Secor, S M; Grosell, M

    2015-09-01

    Carbonic anhydrase (CA) is one of the most abundant proteins found in vertebrate erythrocytes with the majority of species expressing a low activity CA I and high activity CA II. However, several phylogenetic gaps remain in our understanding of the expansion of cytoplasmic CA in vertebrate erythrocytes. In particular, very little is known about isoforms from reptiles. The current study sought to characterize the erythrocyte isoforms from two squamate species, Python molurus and Nerodia rhombifer, which was combined with information from recent genome projects to address this important phylogenetic gap. Obtained sequences grouped closely with CA XIII in phylogenetic analyses. CA II mRNA transcripts were also found in erythrocytes, but found at less than half the levels of CA XIII. Structural analysis suggested similar biochemical activity as the respective mammalian isoforms, with CA XIII being a low activity isoform. Biochemical characterization verified that the majority of CA activity in the erythrocytes was due to a high activity CA II-like isoform; however, titration with copper supported the presence of two CA pools. The CA II-like pool accounted for 90 % of the total activity. To assess potential disparate roles of these isoforms a feeding stress was used to up-regulate CO2 excretion pathways. Significant up-regulation of CA II and the anion exchanger was observed; CA XIII was strongly down-regulated. While these results do not provide insight into the role of CA XIII in the erythrocytes, they do suggest that the presence of two isoforms is not simply a case of physiological redundancy. Copyright © 2015. Published by Elsevier Inc.

  18. Brian: a simulator for spiking neural networks in Python

    Directory of Open Access Journals (Sweden)

    Dan F M Goodman

    2008-11-01

    Full Text Available Brian is a new simulator for spiking neural networks, written in Python (http://brian.di.ens.fr. It is an intuitive and highly flexible tool for rapidly developing new models, especially networks of single-compartment neurons. In addition to using standard types of neuron models, users can define models by writing arbitrary differential equations in ordinary mathematical notation. Python scientific libraries can also be used for defining models and analysing data. Vectorisation techniques allow efficient simulations despite the overheads of an interpreted language. Brian will be especially valuable for working on non-standard neuron models not easily covered by existing software, and as an alternative to using Matlab or C for simulations. With its easy and intuitive syntax, Brian is also very well suited for teaching computational neuroscience.

  19. ConKit: a python interface to contact predictions.

    Science.gov (United States)

    Simkovic, Felix; Thomas, Jens M H; Rigden, Daniel J

    2017-07-15

    Recent advances in protein residue contact prediction algorithms have led to the emergence of many new methods and a variety of file formats. We present ConKit , an open source, modular and extensible Python interface which allows facile conversion between formats and provides an interface to analyses of sequence alignments and sets of contact predictions. ConKit is available via the Python Package Index. The documentation can be found at http://www.conkit.org . ConKit is licensed under the BSD 3-Clause. hlfsimko@liverpool.ac.uk or drigden@liverpool.ac.uk. Supplementary data are available at Bioinformatics online. © The Author(s) 2017. Published by Oxford University Press.

  20. xarray: N-D labeled Arrays and Datasets in Python

    Directory of Open Access Journals (Sweden)

    Stephan Hoyer

    2017-04-01

    Full Text Available xarray is an open source project and Python package that provides a toolkit and data structures for N-dimensional labeled arrays. Our approach combines an application programing interface (API inspired by pandas with the Common Data Model for self-described scientific data. Key features of the xarray package include label-based indexing and arithmetic, interoperability with the core scientific Python packages (e.g., pandas, NumPy, Matplotlib, out-of-core computation on datasets that don’t fit into memory, a wide range of serialization and input/output (I/O options, and advanced multi-dimensional data manipulation tools such as group-by and resampling. xarray, as a data model and analytics toolkit, has been widely adopted in the geoscience community but is also used more broadly for multi-dimensional data analysis in physics, machine learning and finance.

  1. Brian: a simulator for spiking neural networks in python.

    Science.gov (United States)

    Goodman, Dan; Brette, Romain

    2008-01-01

    "Brian" is a new simulator for spiking neural networks, written in Python (http://brian. di.ens.fr). It is an intuitive and highly flexible tool for rapidly developing new models, especially networks of single-compartment neurons. In addition to using standard types of neuron models, users can define models by writing arbitrary differential equations in ordinary mathematical notation. Python scientific libraries can also be used for defining models and analysing data. Vectorisation techniques allow efficient simulations despite the overheads of an interpreted language. Brian will be especially valuable for working on non-standard neuron models not easily covered by existing software, and as an alternative to using Matlab or C for simulations. With its easy and intuitive syntax, Brian is also very well suited for teaching computational neuroscience.

  2. Probabilistic programming in Python using PyMC3

    Directory of Open Access Journals (Sweden)

    John Salvatier

    2016-04-01

    Full Text Available Probabilistic programming allows for automatic Bayesian inference on user-defined probabilistic models. Recent advances in Markov chain Monte Carlo (MCMC sampling allow inference on increasingly complex models. This class of MCMC, known as Hamiltonian Monte Carlo, requires gradient information which is often not readily available. PyMC3 is a new open source probabilistic programming framework written in Python that uses Theano to compute gradients via automatic differentiation as well as compile probabilistic programs on-the-fly to C for increased speed. Contrary to other probabilistic programming languages, PyMC3 allows model specification directly in Python code. The lack of a domain specific language allows for great flexibility and direct interaction with the model. This paper is a tutorial-style introduction to this software package.

  3. Expyriment: a Python library for cognitive and neuroscientific experiments.

    Science.gov (United States)

    Krause, Florian; Lindemann, Oliver

    2014-06-01

    Expyriment is an open-source and platform-independent lightweight Python library for designing and conducting timing-critical behavioral and neuroimaging experiments. The major goal is to provide a well-structured Python library for script-based experiment development, with a high priority being the readability of the resulting program code. Expyriment has been tested extensively under Linux and Windows and is an all-in-one solution, as it handles stimulus presentation, the recording of input/output events, communication with other devices, and the collection and preprocessing of data. Furthermore, it offers a hierarchical design structure, which allows for an intuitive transition from the experimental design to a running program. It is therefore also suited for students, as well as for experimental psychologists and neuroscientists with little programming experience.

  4. A pythonic integrated solution for virtual prototyping of cyclotrons

    International Nuclear Information System (INIS)

    Qin Bin; Yang Jun; Xiong Yongqian; Chen Dezhi; Yu Tiaoqin; Dong Tianlin; Zhang Tianjue; Fan Mingwu

    2007-01-01

    Virtual prototyping (VP) is a novel technique in engineering, which is desired to be applied to cyclotron design and development. Some sub-prototyping components, including beam dynamics, magnet, RF system and control system of cyclotrons, have been developed separately, but an integrated platform which encapsulates these different components is required for global system optimization. Considering that the VP integrated platform is a large-scale software and has numerous loose-coupled components, this paper describes the pythonic approach to implement this platform. By mixing the high-level interpreted Python language and the compiled languages like Fortran/C/C++ in an effective method, this approach can achieve a combination of code efficiency, flexibility and compactness

  5. Follow-up of hepatic and peritoneal metastases of gastrointestinal tumors (GIST) under Imatinib therapy requires different criteria of radiological evaluation (size is not everything!!!)

    International Nuclear Information System (INIS)

    Mabille, Mylene; Vanel, Daniel; Albiter, Marcela; Le Cesne, Axel; Bonvalot, Sylvie; Le Pechoux, Cecile; Terrier, Philippe; Shapeero, Lorraine G.; Dromain, Clarisse

    2009-01-01

    Purpose: To define computed tomography (CT) criteria for evaluating the response of patients with gastrointestinal stromal tumors (GIST) who are receiving Imatinib (tyrosine-kinase inhibitor therapy). Materials and methods: This prospective CT study evaluated 107 consecutive patients with advanced metastatic GIST treated with Imatinib. Results: Seventy patients had total or partial cystic-like transformation of hepatic and/or peritoneal metastases. These pseudocysts remained unchanged in size or stable in size on successive CT examinations (stable disease according to RECIST criteria). Forty-six patients developed metastases, 17 patients showed increasing parietal thickness and 29 patients with peripheral enhancing nodules. These CT changes represented local recurrence consistent with GIST resistance to Imatinib treatment. WHO or RECIST criteria did not provide a reliable evaluation of disease evolution or recurrence. Development of new enhancement of lesions (parietal thickness or nodule) was the only reliable criterion. Conclusion: The development of peripheral thickening or enhancing nodules within cystic-like metastatic lesions, even without any change in size, represented progressive GIST under Imatinib, growing in a short time and should alert the clinician for the possible need for a change in therapy

  6. 18FDG-PET at 1-Month Intervals Is a Better Predictive Marker for GISTs That Are Difficult to Be Diagnosed Histopathologically: A Case Report

    Directory of Open Access Journals (Sweden)

    Kazunori Otsuka

    2011-01-01

    Full Text Available Imatinib mesylate is a tyrosine kinase inhibitor of c-KIT and PDGFRA. Imatinib mesylate is an effective drug that can be used as a first-choice agent for treatment of GISTs. Prior to treatment, molecular diagnosis of c-KIT or PDGFRA is necessary; however, in some types of GISTs, it is impossible to obtain a sufficient amount of specimen for diagnosis. An inoperable or marginally resectable GIST in a 79-year-old female was difficult to be diagnosed at a molecular pathological level, and hence, exploratory treatment was initiated using imatinib combined with 18FDG-PET evaluation at 1-month intervals. PET imaging indicated a positive response, and so we continued imatinib treatment in an NAC setting for 4 months. As a result, curative resection of the entire tumor was successfully performed with organ preservation and minimally invasive surgery. 18FDG-PET evaluation at 1-month intervals is beneficial for GISTs that are difficult to be diagnosed histopathologically.

  7. Mitigating Spreadsheet Model Risk with Python Open Source Infrastructure

    OpenAIRE

    Beavers, Oliver

    2018-01-01

    Across an aggregation of EuSpRIG presentation papers, two maxims hold true: spreadsheets models are akin to software, yet spreadsheet developers are not software engineers. As such, the lack of traditional software engineering tools and protocols invites a higher rate of error in the end result. This paper lays ground work for spreadsheet modelling professionals to develop reproducible audit tools using freely available, open source packages built with the Python programming language, enablin...

  8. A Python interface to Diffpack-based classes and solvers

    OpenAIRE

    Munthe-Kaas, Heidi Vikki

    2013-01-01

    Python is a programming language that has gained a lot of popularity during the last 15 years, and as a very easy-to-learn and flexible scripting language it is very well suited for computa- tional science, both in mathematics and in physics. Diffpack is a PDE library written in C++, made for easier implementation of both smaller PDE solvers and for larger libraries of simu- lators. It contains large class hierarchies for different solvers, grids, arrays, parallel computing and almost everyth...

  9. Python as a federation tool for GENESIS 3.0.

    Directory of Open Access Journals (Sweden)

    Hugo Cornelis

    Full Text Available The GENESIS simulation platform was one of the first broad-scale modeling systems in computational biology to encourage modelers to develop and share model features and components. Supported by a large developer community, it participated in innovative simulator technologies such as benchmarking, parallelization, and declarative model specification and was the first neural simulator to define bindings for the Python scripting language. An important feature of the latest version of GENESIS is that it decomposes into self-contained software components complying with the Computational Biology Initiative federated software architecture. This architecture allows separate scripting bindings to be defined for different necessary components of the simulator, e.g., the mathematical solvers and graphical user interface. Python is a scripting language that provides rich sets of freely available open source libraries. With clean dynamic object-oriented designs, they produce highly readable code and are widely employed in specialized areas of software component integration. We employ a simplified wrapper and interface generator to examine an application programming interface and make it available to a given scripting language. This allows independent software components to be 'glued' together and connected to external libraries and applications from user-defined Python or Perl scripts. We illustrate our approach with three examples of Python scripting. (1 Generate and run a simple single-compartment model neuron connected to a stand-alone mathematical solver. (2 Interface a mathematical solver with GENESIS 3.0 to explore a neuron morphology from either an interactive command-line or graphical user interface. (3 Apply scripting bindings to connect the GENESIS 3.0 simulator to external graphical libraries and an open source three dimensional content creation suite that supports visualization of models based on electron microscopy and their conversion to

  10. Building and documenting workflows with python-based snakemake

    OpenAIRE

    Köster, Johannes; Rahmann, Sven

    2012-01-01

    textabstractSnakemake is a novel workflow engine with a simple Python-derived workflow definition language and an optimizing execution environment. It is the first system that supports multiple named wildcards (or variables) in input and output filenames of each rule definition. It also allows to write human-readable workflows that document themselves. We have found Snakemake especially useful for building high-throughput sequencing data analysis pipelines and present examples from this area....

  11. CS Circles: An In-Browser Python Course for Beginners

    OpenAIRE

    Pritchard, David; Vasiga, Troy

    2012-01-01

    Computer Science Circles is a free programming website for beginners that is designed to be fun, easy to use, and accessible to the broadest possible audience. We teach Python since it is simple yet powerful, and the course content is well-structured but written in plain language. The website has over one hundred exercises in thirty lesson pages, plus special features to help teachers support their students. It is available in both English and French. We discuss the philosophy behind the cour...

  12. Python for teaching introductory programming: A quantitative evaluation

    OpenAIRE

    Jayal, A; Lauria, S; Tucker, A; Swift, S

    2011-01-01

    This paper compares two different approaches of teaching introductory programming by quantitatively analysing the student assessments in a real classroom. The first approach is to emphasise the principles of object-oriented programming and design using Java from the very beginning. The second approach is to first teach the basic programming concepts (loops, branch, and use of libraries) using Python and then move on to oriented programming using Java. Each approach was adopted for one academi...

  13. Psyplot: Visualizing rectangular and triangular Climate Model Data with Python

    Science.gov (United States)

    Sommer, Philipp

    2016-04-01

    The development and use of climate models often requires the visualization of geo-referenced data. Creating visualizations should be fast, attractive, flexible, easily applicable and easily reproducible. There is a wide range of software tools available for visualizing raster data, but they often are inaccessible to many users (e.g. because they are difficult to use in a script or have low flexibility). In order to facilitate easy visualization of geo-referenced data, we developed a new framework called "psyplot," which can aid earth system scientists with their daily work. It is purely written in the programming language Python and primarily built upon the python packages matplotlib, cartopy and xray. The package can visualize data stored on the hard disk (e.g. NetCDF, GeoTIFF, any other file format supported by the xray package), or directly from the memory or Climate Data Operators (CDOs). Furthermore, data can be visualized on a rectangular grid (following or not following the CF Conventions) and on a triangular grid (following the CF or UGRID Conventions). Psyplot visualizes 2D scalar and vector fields, enabling the user to easily manage and format multiple plots at the same time, and to export the plots into all common picture formats and movies covered by the matplotlib package. The package can currently be used in an interactive python session or in python scripts, and will soon be developed for use with a graphical user interface (GUI). Finally, the psyplot framework enables flexible configuration, allows easy integration into other scripts that uses matplotlib, and provides a flexible foundation for further development.

  14. Python as a federation tool for GENESIS 3.0.

    Science.gov (United States)

    Cornelis, Hugo; Rodriguez, Armando L; Coop, Allan D; Bower, James M

    2012-01-01

    The GENESIS simulation platform was one of the first broad-scale modeling systems in computational biology to encourage modelers to develop and share model features and components. Supported by a large developer community, it participated in innovative simulator technologies such as benchmarking, parallelization, and declarative model specification and was the first neural simulator to define bindings for the Python scripting language. An important feature of the latest version of GENESIS is that it decomposes into self-contained software components complying with the Computational Biology Initiative federated software architecture. This architecture allows separate scripting bindings to be defined for different necessary components of the simulator, e.g., the mathematical solvers and graphical user interface. Python is a scripting language that provides rich sets of freely available open source libraries. With clean dynamic object-oriented designs, they produce highly readable code and are widely employed in specialized areas of software component integration. We employ a simplified wrapper and interface generator to examine an application programming interface and make it available to a given scripting language. This allows independent software components to be 'glued' together and connected to external libraries and applications from user-defined Python or Perl scripts. We illustrate our approach with three examples of Python scripting. (1) Generate and run a simple single-compartment model neuron connected to a stand-alone mathematical solver. (2) Interface a mathematical solver with GENESIS 3.0 to explore a neuron morphology from either an interactive command-line or graphical user interface. (3) Apply scripting bindings to connect the GENESIS 3.0 simulator to external graphical libraries and an open source three dimensional content creation suite that supports visualization of models based on electron microscopy and their conversion to computational models

  15. Transcriptome analysis of the response of Burmese python to digestion.

    Science.gov (United States)

    Duan, Jinjie; Sanggaard, Kristian Wejse; Schauser, Leif; Lauridsen, Sanne Enok; Enghild, Jan J; Schierup, Mikkel Heide; Wang, Tobias

    2017-08-01

    Exceptional and extreme feeding behaviour makes the Burmese python (Python bivittatus) an interesting model to study physiological remodelling and metabolic adaptation in response to refeeding after prolonged starvation. In this study, we used transcriptome sequencing of 5 visceral organs during fasting as well as 24 hours and 48 hours after ingestion of a large meal to unravel the postprandial changes in Burmese pythons. We first used the pooled data to perform a de novo assembly of the transcriptome and supplemented this with a proteomic survey of enzymes in the plasma and gastric fluid. We constructed a high-quality transcriptome with 34 423 transcripts, of which 19 713 (57%) were annotated. Among highly expressed genes (fragments per kilo base per million sequenced reads > 100 in 1 tissue), we found that the transition from fasting to digestion was associated with differential expression of 43 genes in the heart, 206 genes in the liver, 114 genes in the stomach, 89 genes in the pancreas, and 158 genes in the intestine. We interrogated the function of these genes to test previous hypotheses on the response to feeding. We also used the transcriptome to identify 314 secreted proteins in the gastric fluid of the python. Digestion was associated with an upregulation of genes related to metabolic processes, and translational changes therefore appear to support the postprandial rise in metabolism. We identify stomach-related proteins from a digesting individual and demonstrate that the sensitivity of modern liquid chromatography/tandem mass spectrometry equipment allows the identification of gastric juice proteins that are present during digestion. © The Authors 2017. Published by Oxford University Press.

  16. A Python Engine for Teaching Artificial Intelligence in Games

    OpenAIRE

    Riedl, Mark O.

    2015-01-01

    Computer games play an important role in our society and motivate people to learn computer science. Since artificial intelligence is integral to most games, they can also be used to teach artificial intelligence. We introduce the Game AI Game Engine (GAIGE), a Python game engine specifically designed to teach about how AI is used in computer games. A progression of seven assignments builds toward a complete, working Multi-User Battle Arena (MOBA) game. We describe the engine, the assignments,...

  17. Understanding network hacks attack and defense with Python

    CERN Document Server

    Ballmann, Bastian

    2015-01-01

    This book explains how to see one's own network through the eyes of an attacker, to understand their techniques and effectively protect against them. Through Python code samples the reader learns to code tools on subjects such as password sniffing, ARP poisoning, DNS spoofing, SQL injection, Google harvesting and Wifi hacking. Furthermore the reader will be introduced to defense methods such as intrusion detection and prevention systems and log file analysis by diving into code.

  18. ACPYPE - AnteChamber PYthon Parser interfacE

    Directory of Open Access Journals (Sweden)

    Sousa da Silva Alan W

    2012-07-01

    Full Text Available Abstract Background ACPYPE (or AnteChamber PYthon Parser interfacE is a wrapper script around the ANTECHAMBER software that simplifies the generation of small molecule topologies and parameters for a variety of molecular dynamics programmes like GROMACS, CHARMM and CNS. It is written in the Python programming language and was developed as a tool for interfacing with other Python based applications such as the CCPN software suite (for NMR data analysis and ARIA (for structure calculations from NMR data. ACPYPE is open source code, under GNU GPL v3, and is available as a stand-alone application at http://www.ccpn.ac.uk/acpype and as a web portal application at http://webapps.ccpn.ac.uk/acpype. Findings We verified the topologies generated by ACPYPE in three ways: by comparing with default AMBER topologies for standard amino acids; by generating and verifying topologies for a large set of ligands from the PDB; and by recalculating the structures for 5 protein–ligand complexes from the PDB. Conclusions ACPYPE is a tool that simplifies the automatic generation of topology and parameters in different formats for different molecular mechanics programmes, including calculation of partial charges, while being object oriented for integration with other applications.

  19. graphkernels: R and Python packages for graph comparison.

    Science.gov (United States)

    Sugiyama, Mahito; Ghisu, M Elisabetta; Llinares-López, Felipe; Borgwardt, Karsten

    2018-02-01

    Measuring the similarity of graphs is a fundamental step in the analysis of graph-structured data, which is omnipresent in computational biology. Graph kernels have been proposed as a powerful and efficient approach to this problem of graph comparison. Here we provide graphkernels, the first R and Python graph kernel libraries including baseline kernels such as label histogram based kernels, classic graph kernels such as random walk based kernels, and the state-of-the-art Weisfeiler-Lehman graph kernel. The core of all graph kernels is implemented in C ++ for efficiency. Using the kernel matrices computed by the package, we can easily perform tasks such as classification, regression and clustering on graph-structured samples. The R and Python packages including source code are available at https://CRAN.R-project.org/package=graphkernels and https://pypi.python.org/pypi/graphkernels. mahito@nii.ac.jp or elisabetta.ghisu@bsse.ethz.ch. Supplementary data are available online at Bioinformatics. © The Author(s) 2017. Published by Oxford University Press.

  20. Text Mining in Python through the HTRC Feature Reader

    Directory of Open Access Journals (Sweden)

    Peter Organisciak

    2016-11-01

    Full Text Available We introduce a toolkit for working with the 13.6 million volume Extracted Features Dataset from the HathiTrust Research Center. You will learn how to peer at the words and trends of any book in the collection, while developing broadly useful Python data analysis skills. The HathiTrust holds nearly 15 million digitized volumes from libraries around the world. In addition to their individual value, these works in aggregate are extremely valuable for historians. Spanning many centuries and genres, they offer a way to learn about large-scale trends in history and culture, as well as evidence for changes in language or even the structure of the book. To simplify access to this collection the HathiTrust Research Center (HTRC has released the Extracted Features dataset (Capitanu et al. 2015: a dataset that provides quantitative information describing every page of every volume in the collection. In this lesson, we introduce the HTRC Feature Reader, a library for working with the HTRC Extracted Features dataset using the Python programming language. The HTRC Feature Reader is structured to support work using popular data science libraries, particularly Pandas. Pandas provides simple structures for holding data and powerful ways to interact with it. The HTRC Feature Reader uses these data structures, so learning how to use it will also cover general data analysis skills in Python.

  1. ACPYPE - AnteChamber PYthon Parser interfacE.

    Science.gov (United States)

    Sousa da Silva, Alan W; Vranken, Wim F

    2012-07-23

    ACPYPE (or AnteChamber PYthon Parser interfacE) is a wrapper script around the ANTECHAMBER software that simplifies the generation of small molecule topologies and parameters for a variety of molecular dynamics programmes like GROMACS, CHARMM and CNS. It is written in the Python programming language and was developed as a tool for interfacing with other Python based applications such as the CCPN software suite (for NMR data analysis) and ARIA (for structure calculations from NMR data). ACPYPE is open source code, under GNU GPL v3, and is available as a stand-alone application at http://www.ccpn.ac.uk/acpype and as a web portal application at http://webapps.ccpn.ac.uk/acpype. We verified the topologies generated by ACPYPE in three ways: by comparing with default AMBER topologies for standard amino acids; by generating and verifying topologies for a large set of ligands from the PDB; and by recalculating the structures for 5 protein-ligand complexes from the PDB. ACPYPE is a tool that simplifies the automatic generation of topology and parameters in different formats for different molecular mechanics programmes, including calculation of partial charges, while being object oriented for integration with other applications.

  2. DendroPy: a Python library for phylogenetic computing.

    Science.gov (United States)

    Sukumaran, Jeet; Holder, Mark T

    2010-06-15

    DendroPy is a cross-platform library for the Python programming language that provides for object-oriented reading, writing, simulation and manipulation of phylogenetic data, with an emphasis on phylogenetic tree operations. DendroPy uses a splits-hash mapping to perform rapid calculations of tree distances, similarities and shape under various metrics. It contains rich simulation routines to generate trees under a number of different phylogenetic and coalescent models. DendroPy's data simulation and manipulation facilities, in conjunction with its support of a broad range of phylogenetic data formats (NEXUS, Newick, PHYLIP, FASTA, NeXML, etc.), allow it to serve a useful role in various phyloinformatics and phylogeographic pipelines. The stable release of the library is available for download and automated installation through the Python Package Index site (http://pypi.python.org/pypi/DendroPy), while the active development source code repository is available to the public from GitHub (http://github.com/jeetsukumaran/DendroPy).

  3. Development of RFS. NUCIRC Interaction Module

    International Nuclear Information System (INIS)

    Choi, Geun Suk; Park, Joo Hwan

    2010-01-01

    For heavy water reactor core analysis and thermal hydraulic analysis, RFSP code and the NUCIRC code should be used consecutively. In this case the result of computation of one program is used for input data and information of the other program. For example, it is determining the channel flow distribution of 100% power from the NUCIRC code by using time-averaged bundle power distribution data of 100% power calculated from the RFSP code. However, a result of coming out of the RFSP code don't give converged input data about bundle power. Because of that, it calculates many times and it has to deliver with NUCIRC input. The troublesome process calculated by the PYTHON program. PYTHON is the script language. The connected python module of the RFSP code and NUCIRC code were developed in order to overcome this disadvantage. The Modeling is CANDU 6 reactor

  4. [New orientations in the management of advanced, metastatic gastrointestinal stromal tumors (GIST): combination of surgery and systemic therapy with imatinib in a case of primary gastric location].

    Science.gov (United States)

    Catani, Marco; De Milito, Ritanna; Simi, Mario

    2005-01-01

    Gastrointestinal stromal tumours (GIST) are rare neoplasms originating from connective tissue in the digestive tract with an incidence of less than 1% and account for most non-epithelial primitive digestive tumours. Metastasis diagnosed at the time of disease discovery confirms GIST malignancy. Kit protein, a trans-membrane tyrosine kinase receptor of staminal cells, is characteristically expressed by GIST. Most GIST have a mutation in the kit proto-oncogene. Resistance to conventional chemotherapy is commonly shown by malignant GIST. Most patients with advanced malignant GIST achieve clinical benefit with imatinib mesilate, an orally administered selective inhibitor of the tyrosine kinase receptor. We treated a 43-year-old male patient suffering from a gastric GIST diagnosed during a surgical emergency operation for peritonitis caused by gastric perforation. At the time of the first operation the patient had lost 10 kg body weight over the previous months and was seriously cachectic. During the emergency operation the perforation was sutured. The biopsy results showed the presence of CD1 17 (c-kit) and CD34 markers. A total body CT scan documented the substantial size of the gastric wall lesion, an increased volume of abdominal lymph nodes and compression of the splenic vein with alternative collateral circulation. The liver presented no less than 5 large metastases distributed in both the left and right lobes. There was also a pulmonary metastasis. Because of frequent spontaneous bleeding and starvation the patient was seriously anaemic. Considering the action mechanism of imatinib and the extent of the lesion we decided to perform a total gastrectomy procedure. At the time of the operation the stomach seemed to have a modified volume and shape: it appeared to be divided into two sacs, the larger and deeper of which was the original gastric cavity, while the superficial, smaller one seemed to be a protrusion of the organ. The stomach was indistinguishable from

  5. All-trans retinoic acid inhibits KIT activity and induces apoptosis in gastrointestinal stromal tumor GIST-T1 cell line by affecting on the expression of survivin and Bax protein

    Directory of Open Access Journals (Sweden)

    Taguchi Takahiro

    2010-12-01

    Full Text Available Abstract Background Imatinib, a selective tyrosine kinase inhibitor, has been used as a standard first-line therapy for irresectable and metastasized gastrointestinal stromal tumor (GIST patients. Unfortunately, most patients responding to imatinib will eventually exhibit imatinib-resistance, the cause of which is not fully understood. The serious clinical problem of imatinib-resistance demands alternative therapeutic strategy. This study was conducted to investigate the effect of all-trans retinoic acid (ATRA on GIST cell lines. Methods Cell proliferation was determined by trypan blue dye exclusion test. Western blot analysis was performed to test the expression of activated KIT, its downstream proteins, and apoptosis associated proteins. The cytotoxic interactions of imatinib with ATRA were evaluated using the isobologram of Steel and Peckham. Results and conclusion In this work, for the first time we have demonstrated that ATRA affected on cell proliferation of GIST-T1 and GIST-882 cell line through inhibition of cell growth in a dose dependent manner and induced apoptosis. High dose of ATRA induced morphologic change in GIST-T1 cells, rounded-up cells, and activated the caspase-3 protein. In further examination, we found that the ATRA-induced apoptosis in GIST-T1 cells was accompanied by the down-regulated expression of survivin and up-regulated expression of Bax protein. Moreover, ATRA suppressed the activity of KIT protein in GIST-T1 cells and its downstream signal, AKT activity, but not MAPK activity. We also have demonstrated that combination of ATRA with imatinib showed additive effect by isobologram, suggesting that the combination of ATRA and imatinib may be a novel potential therapeutic option for GIST treatment. Furthermore, the scracht assay result suggested that ATRA was a potential reagent to prevent the invasion or metastasis of GIST cells.

  6. Anaesthetic induction with alfaxalone in the ball python (Python regius): dose response and effect of injection site.

    Science.gov (United States)

    James, Lauren E; Williams, Catherine Ja; Bertelsen, Mads F; Wang, Tobias

    2018-05-01

    To characterise the minimum dose of intramuscular alfaxalone required to facilitate intubation for mechanical ventilation, and to investigate the impact of cranial versus caudal injection on anaesthetic depth. Randomised crossover study. Six healthy juvenile ball pythons (Python regius). Three dosages (10, 20 and 30 mg kg -1 ) of alfaxalone were administered to each python in a caudal location with a minimum 2 weeks washout. Induction and recovery were monitored by assessing muscle tone, righting reflex, response to a noxious stimulus and the ability to intubate. A subsequent experiment assessed the influence of injection site by comparing administration of 20 mg kg -1 alfaxalone in a cranial location (1 cm cranial to the heart) with the caudal site. Respiration rate was monitored throughout, and when intubation was possible, snakes were mechanically ventilated. Regardless of dose and injection site, maximum effect was reached within 10.0 ± 2.7 minutes. When administered at the caudal injection site, intubation was only successful after a dosage of 30 mg kg- 1 , which is higher than in previous reports for other reptiles. However, intubation was possible in all cases after 7.2 ± 1.6 minutes upon cranial administration of 20 mg kg -1 , and anaesthetic duration was significantly lengthened (p pythons, and may serve as a useful induction agent prior to provision of volatile anaesthetics. The same dosage injected in the cranial site led to deeper anaesthesia than when injected caudally, suggesting that shunting to the liver and first-pass metabolism of alfaxalone occur when injected caudally, via the renal portal system. Copyright © 2018 Association of Veterinary Anaesthetists and American College of Veterinary Anesthesia and Analgesia. Published by Elsevier Ltd. All rights reserved.

  7. Hearing with an atympanic ear: good vibration and poor sound-pressure detection in the royal python, Python regius.

    Science.gov (United States)

    Christensen, Christian Bech; Christensen-Dalsgaard, Jakob; Brandt, Christian; Madsen, Peter Teglberg

    2012-01-15

    Snakes lack both an outer ear and a tympanic middle ear, which in most tetrapods provide impedance matching between the air and inner ear fluids and hence improve pressure hearing in air. Snakes would therefore be expected to have very poor pressure hearing and generally be insensitive to airborne sound, whereas the connection of the middle ear bone to the jaw bones in snakes should confer acute sensitivity to substrate vibrations. Some studies have nevertheless claimed that snakes are quite sensitive to both vibration and sound pressure. Here we test the two hypotheses that: (1) snakes are sensitive to sound pressure and (2) snakes are sensitive to vibrations, but cannot hear the sound pressure per se. Vibration and sound-pressure sensitivities were quantified by measuring brainstem evoked potentials in 11 royal pythons, Python regius. Vibrograms and audiograms showed greatest sensitivity at low frequencies of 80-160 Hz, with sensitivities of -54 dB re. 1 m s(-2) and 78 dB re. 20 μPa, respectively. To investigate whether pythons detect sound pressure or sound-induced head vibrations, we measured the sound-induced head vibrations in three dimensions when snakes were exposed to sound pressure at threshold levels. In general, head vibrations induced by threshold-level sound pressure were equal to or greater than those induced by threshold-level vibrations, and therefore sound-pressure sensitivity can be explained by sound-induced head vibration. From this we conclude that pythons, and possibly all snakes, lost effective pressure hearing with the complete reduction of a functional outer and middle ear, but have an acute vibration sensitivity that may be used for communication and detection of predators and prey.

  8. OzPythonPlex: An optimised forensic STR multiplex assay set for the Australasian carpet python (Morelia spilota).

    Science.gov (United States)

    Ciavaglia, Sherryn; Linacre, Adrian

    2018-05-01

    Reptile species, and in particular snakes, are protected by national and international agreements yet are commonly handled illegally. To aid in the enforcement of such legislation, we report on the development of three 11-plex assays from the genome of the carpet python to type 24 loci of tetra-nucleotide and penta-nucleotide repeat motifs (pure, compound and complex included). The loci range in size between 70 and 550 bp. Seventeen of the loci are newly characterised with the inclusion of seven previously developed loci to facilitate cross-comparison with previous carpet python genotyping studies. Assays were optimised in accordance with human forensic profiling kits using one nanogram template DNA. Three loci are included in all three of the multiplex reactions as quality assurance markers, to ensure sample identity and genotyping accuracy is maintained across the three profiling assays. Allelic ladders have been developed for the three assays to ensure consistent and precise allele designation. A DNA reference database of allele frequencies is presented based on 249 samples collected from throughout the species native range. A small number of validation tests are conducted to demonstrate the utility of these multiplex assays. We suggest further appropriate validation tests that should be conducted prior to the application of the multiplex assays in criminal investigations involving carpet pythons. Copyright © 2018 Elsevier B.V. All rights reserved.

  9. The big squeeze: scaling of constriction pressure in two of the world's largest snakes, Python reticulatus and Python molurus bivittatus.

    Science.gov (United States)

    Penning, David A; Dartez, Schuyler F; Moon, Brad R

    2015-11-01

    Snakes are important predators that have radiated throughout many ecosystems, and constriction was important in their radiation. Constrictors immobilize and kill prey by using body loops to exert pressure on their prey. Despite its importance, little is known about constriction performance or its full effects on prey. We studied the scaling of constriction performance in two species of giant pythons (Python reticulatus and Python molurus bivittatus) and propose a new mechanism of prey death by constriction. In both species, peak constriction pressure increased significantly with snake diameter. These and other constrictors can exert pressures dramatically higher than their prey's blood pressure, suggesting that constriction can stop circulatory function and perhaps kill prey rapidly by over-pressurizing the brain and disrupting neural function. We propose the latter 'red-out effect' as another possible mechanism of prey death from constriction. These effects may be important to recognize and treat properly in rare cases when constrictors injure humans. © 2015. Published by The Company of Biologists Ltd.

  10. Programski jezik MicroPython na mikrokrmilnikih ARM Cortex-M4

    OpenAIRE

    Brajnik, Mark

    2017-01-01

    V sklopu diplomske naloge je narejen pregled programskega jezika MicroPython in primerjava z najpogosteje uporabljenima programskima jezikoma za mikrokrmilnike. MicroPython smo uporabili za programiranje razvojne plošče Nucleo L476RG. Opravili smo namestitev MicroPython strojno-programske opreme na razvojno ploščo Nucleo L476RG, primerjali hitrost izvajanja programske kode z Arduinom Uno ter prikazali uporabo MicroPythona in Arduina na primerih sledilnega robota in PID krmiljenja elektromotor...

  11. GillesPy: A Python Package for Stochastic Model Building and Simulation

    OpenAIRE

    Abel, John H.; Drawert, Brian; Hellander, Andreas; Petzold, Linda R.

    2016-01-01

    GillesPy is an open-source Python package for model construction and simulation of stochastic biochemical systems. GillesPy consists of a Python framework for model building and an interface to the StochKit2 suite of efficient simulation algorithms based on the Gillespie stochastic simulation algorithms (SSA). To enable intuitive model construction and seamless integration into the scientific Python stack, we present an easy to understand, action-oriented programming interface. Here, we descr...

  12. Schopnosti překladačů programovacího jazyka Python

    OpenAIRE

    Pala, Ondřej

    2015-01-01

    PALA, Ondřej. Ability of compilers programming language Python. Brno, 2015. Diploma thesis. Mendel university in Brno. Diploma thesis rate ability of selected compilers programming language Python. First path of thesis is focused to programming language Python and principle of working compilers. Second path is focused to creating testing tasks, defining eva-luation criterias of compilers and testing compilers without testing tasks.

  13. Effects of varying presentation time on long-term recognition memory for scenes: Verbatim and gist representations.

    Science.gov (United States)

    Ahmad, Fahad N; Moscovitch, Morris; Hockley, William E

    2017-04-01

    Konkle, Brady, Alvarez and Oliva (Psychological Science, 21, 1551-1556, 2010) showed that participants have an exceptional long-term memory (LTM) for photographs of scenes. We examined to what extent participants' exceptional LTM for scenes is determined by presentation time during encoding. In addition, at retrieval, we varied the nature of the lures in a forced-choice recognition task so that they resembled the target in gist (i.e., global or categorical) information, but were distinct in verbatim information (e.g., an "old" beach scene and a similar "new" beach scene; exemplar condition) or vice versa (e.g., a beach scene and a new scene from a novel category; novel condition). In Experiment 1, half of the list of scenes was presented for 1 s, whereas the other half was presented for 4 s. We found lower performance for shorter study presentation time in the exemplar test condition and similar performance for both study presentation times in the novel test condition. In Experiment 2, participants showed similar performance in an exemplar test for which the lure was of a different category but a category that was used at study. In Experiment 3, when presentation time was lowered to 500 ms, recognition accuracy was reduced in both novel and exemplar test conditions. A less detailed memorial representation of the studied scene containing more gist (i.e., meaning) than verbatim (i.e., surface or perceptual details) information is retrieved from LTM after a short compared to a long study presentation time. We conclude that our findings support fuzzy-trace theory.

  14. Leveraging Python Interoperability Tools to Improve Sapphire's Usability

    Energy Technology Data Exchange (ETDEWEB)

    Gezahegne, A; Love, N S

    2007-12-10

    The Sapphire project at the Center for Applied Scientific Computing (CASC) develops and applies an extensive set of data mining algorithms for the analysis of large data sets. Sapphire's algorithms are currently available as a set of C++ libraries. However many users prefer higher level scripting languages such as Python for their ease of use and flexibility. In this report, we evaluate four interoperability tools for the purpose of wrapping Sapphire's core functionality with Python. Exposing Sapphire's functionality through a Python interface would increase its usability and connect its algorithms to existing Python tools.

  15. MongoDB and Python Patterns and processes for the popular document-oriented database

    CERN Document Server

    O'Higgins, Niall

    2011-01-01

    Learn how to leverage MongoDB with your Python applications, using the hands-on recipes in this book. You get complete code samples for tasks such as making fast geo queries for location-based apps, efficiently indexing your user documents for social-graph lookups, and many other scenarios. This guide explains the basics of the document-oriented database and shows you how to set up a Python environment with it. Learn how to read and write to MongoDB, apply idiomatic MongoDB and Python patterns, and use the database with several popular Python web frameworks. You'll discover how to model your

  16. First record of invasive Burmese Python oviposition and brooding inside an anthropogenic structure

    Science.gov (United States)

    Hanslowe, Emma; Falk, Bryan; Collier, Michelle A. M.; Josimovich, Jillian; Rahill, Thomas; Reed, Robert

    2016-01-01

    We discovered an adult female Python bivittatus (Burmese Python) coiled around a clutch of 25 eggs in a cement culvert in Flamingo, FL, in Everglades National Park. To our knowledge, this is the first record of an invasive Burmese Python laying eggs and brooding inside an anthropogenic structure in Florida. A 92% hatch-success rate suggests that the cement culvert provided suitable conditions for oviposition, embryonic development, and hatching. Given the plenitude of such anthropogenic structures across the landscape, available sites for oviposition and brooding may not be limiting for the invasive Burmese Python population.

  17. pyhector: A Python interface for the simple climate model Hector

    Energy Technology Data Exchange (ETDEWEB)

    N Willner, Sven; Hartin, Corinne; Gieseke, Robert

    2017-04-01

    Pyhector is a Python interface for the simple climate model Hector (Hartin et al. 2015) developed in C++. Simple climate models like Hector can, for instance, be used in the analysis of scenarios within integrated assessment models like GCAM1, in the emulation of complex climate models, and in uncertainty analyses. Hector is an open-source, object oriented, simple global climate carbon cycle model. Its carbon cycle consists of a one pool atmosphere, three terrestrial pools which can be broken down into finer biomes or regions, and four carbon pools in the ocean component. The terrestrial carbon cycle includes primary production and respiration fluxes. The ocean carbon cycle circulates carbon via a simplified thermohaline circulation, calculating air-sea fluxes as well as the marine carbonate system (Hartin et al. 2016). The model input is time series of greenhouse gas emissions; as example scenarios for these the Pyhector package contains the Representative Concentration Pathways (RCPs)2. These were developed to cover the range of baseline and mitigation emissions scenarios and are widely used in climate change research and model intercomparison projects. Using DataFrames from the Python library Pandas (McKinney 2010) as a data structure for the scenarios simplifies generating and adapting scenarios. Other parameters of the Hector model can easily be modified when running the model. Pyhector can be installed using pip from the Python Package Index.3 Source code and issue tracker are available in Pyhector's GitHub repository4. Documentation is provided through Readthedocs5. Usage examples are also contained in the repository as a Jupyter Notebook (Pérez and Granger 2007; Kluyver et al. 2016). Courtesy of the Mybinder project6, the example Notebook can also be executed and modified without installing Pyhector locally.

  18. Unbinned likelihood maximisation framework for neutrino clustering in Python

    Energy Technology Data Exchange (ETDEWEB)

    Coenders, Stefan [Technische Universitaet Muenchen, Boltzmannstr. 2, 85748 Garching (Germany)

    2016-07-01

    Albeit having detected an astrophysical neutrino flux with IceCube, sources of astrophysical neutrinos remain hidden up to now. A detection of a neutrino point source is a smoking gun for hadronic processes and acceleration of cosmic rays. The search for neutrino sources has many degrees of freedom, for example steady versus transient, point-like versus extended sources, et cetera. Here, we introduce a Python framework designed for unbinned likelihood maximisations as used in searches for neutrino point sources by IceCube. Implementing source scenarios in a modular way, likelihood searches on various kinds can be implemented in a user-friendly way, without sacrificing speed and memory management.

  19. The definitive guide to Jython Python for the Java platform

    CERN Document Server

    Juneau, Josh; Ng, Victor; Soto, Leo; Wierzbicki, Frank

    2010-01-01

    Jython is an open source implementation of the high-level, dynamic, object-oriented scripting language Python seamlessly integrated with the Java platform. The predecessor to Jython, JPython, is certified as 100% Pure Java. Jython is freely available for both commercial and noncommercial use and is distributed with source code. Jython is complementary to Java. The Definitive Guide to Jython, written by the official Jython team leads, covers the latest Jython 2.5 (or 2.5.x) from the basics to the advanced features. This book begins with a brief introduction to the language and then journeys thr

  20. Cosmic Microwave Background Anisotropy Measurement From Python V

    OpenAIRE

    Coble, K.; Dodelson, S.; Dragovan, M.; Ganga, K.; Knox, L.; Kovac, J.; Ratra, B.; Souradeep, T.

    2001-01-01

    We analyze observations of the microwave sky made with the Python experiment in its fifth year of operation at the Amundsen-Scott South Pole Station in Antarctica. After modeling the noise and constructing a map, we extract the cosmic signal from the data. We simultaneously estimate the angular power spectrum in eight bands ranging from large (ℓ ~ 40) to small (ℓ ~ 260) angular scales, with power detected in the first six bands. There is a significant rise in the power spectrum from large to ...

  1. An object oriented Python interface for atomistic simulations

    Science.gov (United States)

    Hynninen, T.; Himanen, L.; Parkkinen, V.; Musso, T.; Corander, J.; Foster, A. S.

    2016-01-01

    Programmable simulation environments allow one to monitor and control calculations efficiently and automatically before, during, and after runtime. Environments directly accessible in a programming environment can be interfaced with powerful external analysis tools and extensions to enhance the functionality of the core program, and by incorporating a flexible object based structure, the environments make building and analysing computational setups intuitive. In this work, we present a classical atomistic force field with an interface written in Python language. The program is an extension for an existing object based atomistic simulation environment.

  2. Specifying the Behaviour of Python Programs: Language and Basic Examples

    Directory of Open Access Journals (Sweden)

    2010-04-01

    Full Text Available This manuscript describe BeSSY, a function-centric language for formal behavioural specification that requires no more than high-school mathematics on arithmetic, functions, Boolean algebra and sets theory. An object can be modelled as a union of data sets and functions whereas inherited object can be modelled as a union of supersets and a set of object-specific functions. Python list and dictionary operations will be specified in BeSSY for illustration.

  3. Eddylicious: A Python package for turbulent inflow generation

    Science.gov (United States)

    Mukha, Timofey; Liefvendahl, Mattias

    2018-01-01

    A Python package for generating inflow for scale-resolving computer simulations of turbulent flow is presented. The purpose of the package is to unite existing inflow generation methods in a single code-base and make them accessible to users of various Computational Fluid Dynamics (CFD) solvers. The currently existing functionality consists of an accurate inflow generation method suitable for flows with a turbulent boundary layer inflow and input/output routines for coupling with the open-source CFD solver OpenFOAM.

  4. The fast azimuthal integration Python library: pyFAI.

    Science.gov (United States)

    Ashiotis, Giannis; Deschildre, Aurore; Nawaz, Zubair; Wright, Jonathan P; Karkoulis, Dimitrios; Picca, Frédéric Emmanuel; Kieffer, Jérôme

    2015-04-01

    pyFAI is an open-source software package designed to perform azimuthal integration and, correspondingly, two-dimensional regrouping on area-detector frames for small- and wide-angle X-ray scattering experiments. It is written in Python (with binary submodules for improved performance), a language widely accepted and used by the scientific community today, which enables users to easily incorporate the pyFAI library into their processing pipeline. This article focuses on recent work, especially the ease of calibration, its accuracy and the execution speed for integration.

  5. BiEntropy for Python v. 1.0

    Energy Technology Data Exchange (ETDEWEB)

    2018-03-15

    This Python package provides high-performance implementations of the functions and examples presented in "BiEntropy - The Approximate Entropy of a Finite Binary String" by Grenville J. Croll, presented at ANPA 34 in 2013. https://arxiv.org/abs/1305.0954 According to the paper, BiEntropy is "a simple algorithm which computes the approximate entropy of a finite binary string of arbitrary length" using "a weighted average of the Shannon Entropies of the string and all but the last binary derivative of the string."

  6. Interactions between the invasive Burmese python, Python bivittatus Kuhl, and the local mosquito community in Florida, USA.

    Science.gov (United States)

    Reeves, Lawrence E; Krysko, Kenneth L; Avery, Michael L; Gillett-Kaufman, Jennifer L; Kawahara, Akito Y; Connelly, C Roxanne; Kaufman, Phillip E

    2018-01-01

    The Burmese python, Python bivittatus Kuhl, is a well-established invasive species in the greater Everglades ecosystem of southern Florida, USA. Most research on its ecological impacts focuses on its role as a predator and its trophic interactions with native vertebrate species, particularly mammals. Beyond predation, there is little known about the ecological interactions between P. bivittatus and native faunal communities. It is likely that established populations of P. bivittatus in southern Florida serve as hosts for native mosquito communities. To test this concept, we used mitochondrial cytochrome c oxidase subunit I DNA barcoding to determine the hosts of blood fed mosquitoes collected at a research facility in northern Florida where captive P. bivittatus and Argentine black and white tegu, Salvator merianae (Duméril and Bibron), are maintained in outdoor enclosures, accessible to local mosquitoes. We recovered python DNA from the blood meals of three species of Culex mosquitoes: Culex erraticus (Dyar and Knab), Culex quinquefasciatus Say, and Culex pilosus (Dyar and Knab). Culex erraticus conclusively (P = 0.001; Fisher's Exact Test) took more blood meals from P. bivittatus than from any other available host. While the majority of mosquito blood meals in our sample were derived from P. bivittatus, only one was derived from S. merianae. These results demonstrate that local mosquitoes will feed on invasive P. bivittatus, a recently introduced host. If these interactions also occur in southern Florida, P. bivittatus may be involved in the transmission networks of mosquito-vectored pathogens. Our results also illustrate the potential of detecting the presence of P. bivittatus in the field through screening mosquito blood meals for their DNA.

  7. Interactions between the invasive Burmese python, Python bivittatus Kuhl, and the local mosquito community in Florida, USA.

    Directory of Open Access Journals (Sweden)

    Lawrence E Reeves

    Full Text Available The Burmese python, Python bivittatus Kuhl, is a well-established invasive species in the greater Everglades ecosystem of southern Florida, USA. Most research on its ecological impacts focuses on its role as a predator and its trophic interactions with native vertebrate species, particularly mammals. Beyond predation, there is little known about the ecological interactions between P. bivittatus and native faunal communities. It is likely that established populations of P. bivittatus in southern Florida serve as hosts for native mosquito communities. To test this concept, we used mitochondrial cytochrome c oxidase subunit I DNA barcoding to determine the hosts of blood fed mosquitoes collected at a research facility in northern Florida where captive P. bivittatus and Argentine black and white tegu, Salvator merianae (Duméril and Bibron, are maintained in outdoor enclosures, accessible to local mosquitoes. We recovered python DNA from the blood meals of three species of Culex mosquitoes: Culex erraticus (Dyar and Knab, Culex quinquefasciatus Say, and Culex pilosus (Dyar and Knab. Culex erraticus conclusively (P = 0.001; Fisher's Exact Test took more blood meals from P. bivittatus than from any other available host. While the majority of mosquito blood meals in our sample were derived from P. bivittatus, only one was derived from S. merianae. These results demonstrate that local mosquitoes will feed on invasive P. bivittatus, a recently introduced host. If these interactions also occur in southern Florida, P. bivittatus may be involved in the transmission networks of mosquito-vectored pathogens. Our results also illustrate the potential of detecting the presence of P. bivittatus in the field through screening mosquito blood meals for their DNA.

  8. 77 FR 3329 - Injurious Wildlife Species; Listing Three Python Species and One Anaconda Species as Injurious...

    Science.gov (United States)

    2012-01-23

    ... increase their genetic fitness and temperature tolerance as a result of natural selection pressures...) predator at the top of the food chain, they can threaten the stability of native ecosystems by altering the... conditions, pythons will grow very fast. After 1 year, a python may be 2 m (7 ft) and after 5 years it could...

  9. Bacterial co-infections in a captive Python bivittatus with septicemia

    African Journals Online (AJOL)

    ADEYEYE

    2016-05-27

    May 27, 2016 ... *Correspondence: Tel.: +60 1116689774, E-mail: usuba5050@yahoo.com. Abstract. This case reports bacterial co-infection in a dead albino python (Python bivittatus). The snake was brought in dead to the Universiti Veterinary Hospital, Universiti Putra Malaysia. Necropsy was conducted and organ.

  10. Multi-Agent Programming Contest 2011 - The Python-DTU Team

    DEFF Research Database (Denmark)

    Villadsen, Jørgen; Ettienne, Mikko Berggren; Vester, Steen

    We provide a brief description of the Python-DTU system, including the overall design, the tools and the algorithms that we plan to use in the agent contest.......We provide a brief description of the Python-DTU system, including the overall design, the tools and the algorithms that we plan to use in the agent contest....

  11. Multi-Agent Programming Contest 2016 – The Python-DTU Team

    DEFF Research Database (Denmark)

    Villadsen, Jørgen; Halkjær From, Andreas; Jacobi, Salvador

    2018-01-01

    We provide a detailed description of the Python-DTU system, including the overall system design and the tools used in the agent contest.......We provide a detailed description of the Python-DTU system, including the overall system design and the tools used in the agent contest....

  12. Multi-Agent Programming Contest 2012 - The Python-DTU Team

    DEFF Research Database (Denmark)

    Villadsen, Jørgen; Jensen, Andreas Schmidt; Ettienne, Mikko Berggren

    We provide a brief description of the Python-DTU system, including the overall design, the tools and the algorithms that we plan to use in the agent contest.......We provide a brief description of the Python-DTU system, including the overall design, the tools and the algorithms that we plan to use in the agent contest....

  13. ssbio: a Python framework for structural systems biology.

    Science.gov (United States)

    Mih, Nathan; Brunk, Elizabeth; Chen, Ke; Catoiu, Edward; Sastry, Anand; Kavvas, Erol; Monk, Jonathan M; Zhang, Zhen; Palsson, Bernhard O

    2018-06-15

    Working with protein structures at the genome-scale has been challenging in a variety of ways. Here, we present ssbio, a Python package that provides a framework to easily work with structural information in the context of genome-scale network reconstructions, which can contain thousands of individual proteins. The ssbio package provides an automated pipeline to construct high quality genome-scale models with protein structures (GEM-PROs), wrappers to popular third-party programs to compute associated protein properties, and methods to visualize and annotate structures directly in Jupyter notebooks, thus lowering the barrier of linking 3D structural data with established systems workflows. ssbio is implemented in Python and available to download under the MIT license at http://github.com/SBRG/ssbio. Documentation and Jupyter notebook tutorials are available at http://ssbio.readthedocs.io/en/latest/. Interactive notebooks can be launched using Binder at https://mybinder.org/v2/gh/SBRG/ssbio/master?filepath=Binder.ipynb. Supplementary data are available at Bioinformatics online.

  14. New Python-based methods for data processing

    International Nuclear Information System (INIS)

    Sauter, Nicholas K.; Hattne, Johan; Grosse-Kunstleve, Ralf W.; Echols, Nathaniel

    2013-01-01

    The Computational Crystallography Toolbox (cctbx) is a flexible software platform that has been used to develop high-throughput crystal-screening tools for both synchrotron sources and X-ray free-electron lasers. Plans for data-processing and visualization applications are discussed, and the benefits and limitations of using graphics-processing units are evaluated. Current pixel-array detectors produce diffraction images at extreme data rates (of up to 2 TB h −1 ) that make severe demands on computational resources. New multiprocessing frameworks are required to achieve rapid data analysis, as it is important to be able to inspect the data quickly in order to guide the experiment in real time. By utilizing readily available web-serving tools that interact with the Python scripting language, it was possible to implement a high-throughput Bragg-spot analyzer (cctbx.spotfinder) that is presently in use at numerous synchrotron-radiation beamlines. Similarly, Python interoperability enabled the production of a new data-reduction package (cctbx.xfel) for serial femtosecond crystallography experiments at the Linac Coherent Light Source (LCLS). Future data-reduction efforts will need to focus on specialized problems such as the treatment of diffraction spots on interleaved lattices arising from multi-crystal specimens. In these challenging cases, accurate modeling of close-lying Bragg spots could benefit from the high-performance computing capabilities of graphics-processing units

  15. CMCpy: Genetic Code-Message Coevolution Models in Python

    Science.gov (United States)

    Becich, Peter J.; Stark, Brian P.; Bhat, Harish S.; Ardell, David H.

    2013-01-01

    Code-message coevolution (CMC) models represent coevolution of a genetic code and a population of protein-coding genes (“messages”). Formally, CMC models are sets of quasispecies coupled together for fitness through a shared genetic code. Although CMC models display plausible explanations for the origin of multiple genetic code traits by natural selection, useful modern implementations of CMC models are not currently available. To meet this need we present CMCpy, an object-oriented Python API and command-line executable front-end that can reproduce all published results of CMC models. CMCpy implements multiple solvers for leading eigenpairs of quasispecies models. We also present novel analytical results that extend and generalize applications of perturbation theory to quasispecies models and pioneer the application of a homotopy method for quasispecies with non-unique maximally fit genotypes. Our results therefore facilitate the computational and analytical study of a variety of evolutionary systems. CMCpy is free open-source software available from http://pypi.python.org/pypi/CMCpy/. PMID:23532367

  16. SCoT: a Python toolbox for EEG source connectivity.

    Science.gov (United States)

    Billinger, Martin; Brunner, Clemens; Müller-Putz, Gernot R

    2014-01-01

    Analysis of brain connectivity has become an important research tool in neuroscience. Connectivity can be estimated between cortical sources reconstructed from the electroencephalogram (EEG). Such analysis often relies on trial averaging to obtain reliable results. However, some applications such as brain-computer interfaces (BCIs) require single-trial estimation methods. In this paper, we present SCoT-a source connectivity toolbox for Python. This toolbox implements routines for blind source decomposition and connectivity estimation with the MVARICA approach. Additionally, a novel extension called CSPVARICA is available for labeled data. SCoT estimates connectivity from various spectral measures relying on vector autoregressive (VAR) models. Optionally, these VAR models can be regularized to facilitate ill posed applications such as single-trial fitting. We demonstrate basic usage of SCoT on motor imagery (MI) data. Furthermore, we show simulation results of utilizing SCoT for feature extraction in a BCI application. These results indicate that CSPVARICA and correct regularization can significantly improve MI classification. While SCoT was mainly designed for application in BCIs, it contains useful tools for other areas of neuroscience. SCoT is a software package that (1) brings combined source decomposition and connectivtiy estimation to the open Python platform, and (2) offers tools for single-trial connectivity estimation. The source code is released under the MIT license and is available online at github.com/SCoT-dev/SCoT.

  17. SCoT: A Python Toolbox for EEG Source Connectivity

    Directory of Open Access Journals (Sweden)

    Martin eBillinger

    2014-03-01

    Full Text Available Analysis of brain connectivity has become an important research tool in neuroscience. Connectivity can be estimated between cortical sources reconstructed from the electroencephalogram (EEG. Such analysis often relies on trial averaging to obtain reliable results. However, some applications such as brain-computer interfaces (BCIs require single-trial estimation methods.In this paper, we present SCoT – a source connectivity toolbox for Python. This toolbox implements routines for blind source decomposition and connectivity estimation with theMVARICA approach. Additionally, a novel extension called CSPVARICA is available for labeled data. SCoT estimates connectivity from various spectral measures relying on vector autoregressive (VAR models. Optionally, these VAR models can be regularized to facilitate ill posed applications such as single-trial fitting.We demonstrate basic usage of SCoT on motor imagery (MI data. Furthermore, we show simulation results of utilizing SCoT for feature extraction in a BCI application. These results indicate that CSPVARICA and correct regularization can significantly improve MI classification. While SCoT was mainly designed for application in BCIs, it contains useful tools for other areas of neuroscience. SCoT is a software package that (1 brings combined source decomposition and connectivtiy estimation to the open Python platform, and (2 offers tools for single-trial connectivity estimation. The source code is released under the MIT license and is available online at github.com/SCoT-dev/SCoT.

  18. Data science and complex networks real case studies with Python

    CERN Document Server

    Caldarelli, Guido

    2016-01-01

    This book provides a comprehensive yet short description of the basic concepts of complex network theory and the code to implement this theory. Differently from other books, we present these concepts starting from real cases of study. The application topics span from food webs, to the Internet, the World Wide Web, and social networks, passing through the international trade web and financial time series. The final part is devoted to definition and implementation of the most important network models. We provide information on the structure of the data and on the quality of available datasets. Furthermore, we provide a series of codes to implement instantly what is described theoretically in the book. People knowing the basis of network theory could learn the art of coding in Python by checking our codes and using the online material. In particular, the interactive Python notebook format is used so that the reader can immediately experiment by themselves with the codes present in the manuscript. To this purpose...

  19. A Distributed Python HPC Framework: ODIN, PyTrilinos, & Seamless

    Energy Technology Data Exchange (ETDEWEB)

    Grant, Robert [Enthought, Inc., Austin, TX (United States)

    2015-11-23

    Under this grant, three significant software packages were developed or improved, all with the goal of improving the ease-of-use of HPC libraries. The first component is a Python package, named DistArray (originally named Odin), that provides a high-level interface to distributed array computing. This interface is based on the popular and widely used NumPy package and is integrated with the IPython project for enhanced interactive parallel distributed computing. The second Python package is the Distributed Array Protocol (DAP) that enables separate distributed array libraries to share arrays efficiently without copying or sending messages. If a distributed array library supports the DAP, it is then automatically able to communicate with any other library that also supports the protocol. This protocol allows DistArray to communicate with the Trilinos library via PyTrilinos, which was also enhanced during this project. A third package, PyTrilinos, was extended to support distributed structured arrays (in addition to the unstructured arrays of its original design), allow more flexible distributed arrays (i.e., the restriction to double precision data was lifted), and implement the DAP. DAP support includes both exporting the protocol so that external packages can use distributed Trilinos data structures, and importing the protocol so that PyTrilinos can work with distributed data from external packages.

  20. New Python-based methods for data processing

    Energy Technology Data Exchange (ETDEWEB)

    Sauter, Nicholas K., E-mail: nksauter@lbl.gov; Hattne, Johan; Grosse-Kunstleve, Ralf W.; Echols, Nathaniel [Lawrence Berkeley National Laboratory, 1 Cyclotron Road, Berkeley, CA 94720 (United States)

    2013-07-01

    The Computational Crystallography Toolbox (cctbx) is a flexible software platform that has been used to develop high-throughput crystal-screening tools for both synchrotron sources and X-ray free-electron lasers. Plans for data-processing and visualization applications are discussed, and the benefits and limitations of using graphics-processing units are evaluated. Current pixel-array detectors produce diffraction images at extreme data rates (of up to 2 TB h{sup −1}) that make severe demands on computational resources. New multiprocessing frameworks are required to achieve rapid data analysis, as it is important to be able to inspect the data quickly in order to guide the experiment in real time. By utilizing readily available web-serving tools that interact with the Python scripting language, it was possible to implement a high-throughput Bragg-spot analyzer (cctbx.spotfinder) that is presently in use at numerous synchrotron-radiation beamlines. Similarly, Python interoperability enabled the production of a new data-reduction package (cctbx.xfel) for serial femtosecond crystallography experiments at the Linac Coherent Light Source (LCLS). Future data-reduction efforts will need to focus on specialized problems such as the treatment of diffraction spots on interleaved lattices arising from multi-crystal specimens. In these challenging cases, accurate modeling of close-lying Bragg spots could benefit from the high-performance computing capabilities of graphics-processing units.