286 resultados para python
Resumo:
This paper reports on a replication of earlier studies into a possible hierarchy of programming skills. In this study, the students from whom data was collected were at a university that had not provided data for earlier studies. Also, the students were taught the programming language Python, which had not been used in earlier studies. Thus this study serves as a test of whether the findings in the earlier studies were specific to certain institutions, student cohorts, and programming languages. Also, we used a non–parametric approach to the analysis, rather than the linear approach of earlier studies. Our results are consistent with the earlier studies. We found that students who cannot trace code usually cannot explain code, and also that students who tend to perform reasonably well at code writing tasks have also usually acquired the ability to both trace code and explain code.
Resumo:
Interactive development environments are making a resurgence. The traditional batch style of programming, edit -> compile -> run, is slowly being reevaluated by the development community at large. Languages such as Perl, Python and Ruby are at the heart of a new programming culture commonly described as extreme, agile or dynamic. Musicians are also beginning to embrace these environments and to investigate the opportunity to use dynamic programming tools in live performance. This paper provides an introduction to Impromptu, a new interactive development environment for musicians and sound artists.
Resumo:
Virtual prototyping emerges as a new technology to replace existing physical prototypes for product evaluation, which are costly and time consuming to manufacture. Virtualization technology allows engineers and ergonomists to perform virtual builds and different ergonomic analyses on a product. Digital Human Modelling (DHM) software packages such as Siemens Jack, often integrate with CAD systems to provide a virtual environment which allows investigation of operator and product compatibility. Although the integration between DHM and CAD systems allows for the ergonomic analysis of anthropometric design, human musculoskeletal, multi-body modelling software packages such as the AnyBody Modelling System (AMS) are required to support physiologic design. They provide muscular force analysis, estimate human musculoskeletal strain and help address human comfort assessment. However, the independent characteristics of the modelling systems Jack and AMS constrain engineers and ergonomists in conducting a complete ergonomic analysis. AMS is a stand alone programming system without a capability to integrate into CAD environments. Jack is providing CAD integrated human-in-the-loop capability, but without considering musculoskeletal activity. Consequently, engineers and ergonomists need to perform many redundant tasks during product and process design. Besides, the existing biomechanical model in AMS uses a simplified estimation of body proportions, based on a segment mass ratio derived scaling approach. This is insufficient to represent user populations anthropometrically correct in AMS. In addition, sub-models are derived from different sources of morphologic data and are therefore anthropometrically inconsistent. Therefore, an interface between the biomechanical AMS and the virtual human model Jack was developed to integrate a musculoskeletal simulation with Jack posture modeling. This interface provides direct data exchange between the two man-models, based on a consistent data structure and common body model. The study assesses kinematic and biomechanical model characteristics of Jack and AMS, and defines an appropriate biomechanical model. The information content for interfacing the two systems is defined and a protocol is identified. The interface program is developed and implemented through Tcl and Jack-script(Python), and interacts with the AMS console application to operate AMS procedures.
Resumo:
A comprehensive one-dimensional meanline design approach for radial inflow turbines is described in the present work. An original code was developed in Python that takes a novel approach to the automatic selection of feasible machines based on pre-defined performance or geometry characteristics for a given application. It comprises a brute-force search algorithm that traverses the entire search space based on key non-dimensional parameters and rotational speed. In this study, an in-depth analysis and subsequent implementation of relevant loss models as well as selection criteria for radial inflow turbines is addressed. Comparison with previously published designs, as well as other available codes, showed good agreement. Sample (real and theoretical) test cases were trialed and results showed good agreement when compared to other available codes. The presented approach was found to be valid and the model was found to be a useful tool with regards to the preliminary design and performance estimation of radial inflow turbines, enabling its integration with other thermodynamic cycle analysis and three-dimensional blade design codes.
Resumo:
Space-vector-based pulse width modulation (PWM) for a voltage source inverter (VSI) offers flexibility in terms of different switching sequences. Numerical simulation is helpful to assess the performance of a PWM method before actual implementation. A quick-simulation tool to simulate a variety of space-vector-based PWM strategies for a two-level VSI-fed squirrel cage induction motor drive is presented. The simulator is developed using C and Python programming languages, and has a graphical user interface (GUI) also. The prime focus being PWM strategies, the simulator developed is 40 times faster than MATLAB in terms of the actual time taken for a simulation. Simulation and experimental results are presented on a 5-hp ac motor drive.
Resumo:
[ES]Este documento tiene la intención de presentar un Trabajo de Fin de Grado (TFG). Este proyecto consiste en una serie de herramientas que permitan el diseño, implementación y desarrollo del software de control de un robot humanoide. El proyecto se centra en la mejora de la efectividad, robustez, rendimiento y fiabilidad del software. Los cambios propuestos introducen mejoras sobre el robot comercial robo nova. En concreto la capacidad de ser modular, permitiendo de esta forma el uso total o parcial de las soluciones escogidas, ahorrando tiempo y dinero en futuros desarrollos de esta plataforma
Resumo:
[ES]Este trabajo describe una serie de mejoras aplicables a un kit comercial de robot humanoide Robonova, con el fin de que este reproduzca el comportamiento cinemático del ser humano con mayor autonomía. Entre ellas destacan la implementación de sensores infrarrojos, sensores de posición, cámaras de visión y conexiones en serie de servomotores. Todo ello controlado desde un ordenador de placa reducida Raspberry Pi.
Resumo:
[EU]Proiektu honen helburua sare ezberdinetan algoritmo metaheuristikoen erabileraren bitartez bideratze arazoak ebaztea eta aztertzea da. Helburu honetarako erabiliko diren algoritmoak Coral Reefs Optimization eta Firefly Algorithm dira. Bi algoritmoak Python erabiliz inplementatuko dira, baita sareak simulatzen dituen programa ere. Modu honetan, algoritmo bakoitzaren gaitasuna aztertuko da sareko bi punturen arteko bide bideragarri bat, zeinek ezarritako murrizketak betetzen dituen, aurkitzeko; prozesu hau ausaz sortutako simulatutako sare batean oinarrituz garatuko da. Honen bitartez, arazo honen ebazpenerako algoritmo bakoitza egokia den eta bietariko zein den egokiena ondorioztatu ahalko da.
Resumo:
El propósito fundamental de éste trabajo fin de grado es la creación de una herramienta que permita a un profesor poder gestionar los distintos servicios a los que puede acceder un alumno. Entendemos como servicios, aquellas herramientas que permiten desarrollar de forma efectiva las competencias necesarias en cada asignatura. Por ejemplo, servicios como bases de datos “MySQL” o servicios de control de versiones como “GIT”. Éste trabajo fin de grado ha consistido en la consecución del estudio de 3 lenguajes de programación diferentes, del aprendizaje de nuevas formas distintas de programar, de saber hacer una búsqueda de información, de escuchar al usuario para obtener una mejor adaptación visual, de encontrar los diferentes caminos que llevan a una solución, de entender que cada lenguaje tiene su forma de pensar y de hacer y sobre todo, de la dificultad que acarrea integrar una aplicación compleja en varios entornos operativos con distintos tipos de arquitecturas.
Resumo:
[ES] El trabajo se centra en el estudio de un Freeware de sistemas distribuidos llamado EPICS, para la monitorización de un motor de paso y el uso de una cámara. Este proyecto consta de tres partes. Un primer capítulo está dedicado a introducir los conceptos básicos de EPICS que serán necesarios para el desarrollo del proyecto en su totalidad. Tales como la estructura de un sistema estándar EPICS, los conceptos de Process Variable, IOC, database, device support y driver support. También se hablará de las herramientas complementarias utilizadas para llevar a cabo el trabajo, como Python, C, C++ o AsynDriver. Una segunda parte dónde se describe en detalle el proceso llevado a cabo para crear las distintas aplicaciones para el motor y la cámara. En una tercera, se describe el proceso de como se han hecho los distintos entornos gráficos para cada una de las aplicaciones.
Resumo:
As narrativas em torno da busca do Graal tiveram origem no século XI e foram de grande importância para fixar a imagem de um personagem típico da sociedade medieval, o cavaleiro, como um novo modelo heroico. Nesse sentido, os cavaleiros que encontraram o Graal nessas narrativas, especialmente no ciclo literário conhecido como Matéria da Bretanha, representam a configuração máxima desse paradigma. Esta pesquisa visa analisar a permanência de tal imagem no cinema, que é igualmente uma arte narrativa, como o eram as novelas de cavalaria que originaram o modelo. O corpus a ser analisado são três significativas obras do cineasta norte-americano Terry Gilliam que direta ou indiretamente retomam a questão do Graal: Monty Python em busca do Cálice sagrado (Monty Phyton and The Holy Grail, 1974), O pescador de ilusões (The Fisher King, 1991) e Os doze macacos (Twelve Monkeys, 1995). Assim, procura-se com esta tese traçar um panorama das retomadas da imagem literária e medieval dos cavaleiros no cinema, assim como observar as mudanças no padrão dessas imagens descritas literariamente para sua representação óptico-sonora
Resumo:
Finding an appropriate turbulence model for a given flow case usually calls for extensive experimentation with both models and numerical solution methods. This work presents the design and implementation of a flexible, programmable software framework for assisting with numerical experiments in computational turbulence. The framework targets Reynolds-averaged Navier-Stokes models, discretized by finite element methods. The novel implementation makes use of Python and the FEniCS package, the combination of which leads to compact and reusable code, where model- and solver-specific code resemble closely the mathematical formulation of equations and algorithms. The presented ideas and programming techniques are also applicable to other fields that involve systems of nonlinear partial differential equations. We demonstrate the framework in two applications and investigate the impact of various linearizations on the convergence properties of nonlinear solvers for a Reynolds-averaged Navier-Stokes model. © 2011 Elsevier Ltd.
Resumo:
We present a new online psycholinguistic resource for Greek based on analyses of written corpora combined with text processing technologies developed at the Institute for Language & Speech Processing (ILSP), Greece. The "ILSP PsychoLinguistic Resource" (IPLR) is a freely accessible service via a dedicated web page, at http://speech.ilsp.gr/iplr. IPLR provides analyses of user-submitted letter strings (words and nonwords) as well as frequency tables for important units and conditions such as syllables, bigrams, and neighbors, calculated over two word lists based on printed text corpora and their phonetic transcription. Online tools allow retrieval of words matching user-specified orthographic or phonetic patterns. All results and processing code (in the Python programming language) are freely available for noncommercial educational or research use. © 2010 Springer Science+Business Media B.V.
Resumo:
BACKGROUND: Computer simulations are of increasing importance in modeling biological phenomena. Their purpose is to predict behavior and guide future experiments. The aim of this project is to model the early immune response to vaccination by an agent based immune response simulation that incorporates realistic biophysics and intracellular dynamics, and which is sufficiently flexible to accurately model the multi-scale nature and complexity of the immune system, while maintaining the high performance critical to scientific computing. RESULTS: The Multiscale Systems Immunology (MSI) simulation framework is an object-oriented, modular simulation framework written in C++ and Python. The software implements a modular design that allows for flexible configuration of components and initialization of parameters, thus allowing simulations to be run that model processes occurring over different temporal and spatial scales. CONCLUSION: MSI addresses the need for a flexible and high-performing agent based model of the immune system.