Spelling suggestions: "subject:"python"" "subject:"jython""
91 |
Základy jazyka Python s příklady jeho aplikací ve fyzice / Python basics with examples of its applications in physicsLUKSCH, Tomáš January 2018 (has links)
The aim of this thesis is to provide learning materials for programming in Python, primarily for physics students at the faculties of education. Created materials include general description of the language, including several mathematical libraries, basics of the programming in Python along with examples of standard commands and functions and particular examples of application of the language in mathematical problems and physical simulations.
|
92 |
Tool for querying the National Household Travel Survey dataRathore, Akash January 1900 (has links)
Master of Science / Department of Computer Science / Doina Caragea / The goal of the project is to create a database for storing the National Household Travel Survey (NHTS) data, and a user interface to query the database. Currently, the survey data is stored in excel files in the CSV format, which makes it hard to perform complex analyses over the data. Analyses of interest to transportation community include comparisons of the trips made by urban household to those made by rural household, finding the average trip time spent based on ethnicity, the total travel time of a particular household, the preferred vehicle by a specific household, average time spent per shopping trip, etc. The tool designed for the purpose of querying the NHTS database is a Python-based Web application. Django is used as the Web framework for this project and PostgreSQL is used for the back-end purpose. The user interface consists of various drop-down lists, text-boxes, buttons and other user interface components that facilitate querying the database and presenting the results in formats that allow easy interpretation. FusionCharts Django-Wrapper and FusionCharts Jquery-Plugin are used to visualize the data in the chart form. A Codebook of the NHTS dataset is also linked for the reference purpose at any point for the user. The tool built in the project allows the user to get a deeper understanding of the data, not only by plotting the data in the form of line charts, bar charts, two column graph, but also by providing the results of the queries in the CSV format for further analysis.
|
93 |
En jämförelse av webb-ramverk i Python – Django och PyramidKullberg, Jonathan January 2016 (has links)
I dagens samhälle vill så väl företag som privatpersoner finnas på webben – det är en platform som de flesta förväntar sig hitta information på. För att minska på kostnaderna men samtidigt garantera såväl funktionalitet som säkerhet, så finns det webb-ramverk, ett slags bibliotek av funktioner för utvecklare att använda sig av. Företaget NTT Communications använder sig ofta av programmeringsspråket Python för utveckling av interna webb-applikationer. De är intresserade av att veta vilket webb-ramverk, för detta språk, som bäst möter de krav de ställer; snabb utveckling och modularitet. Till studien valdes två av de största webb-ramverken för Python; Django och Pyramid. Django är ett ”allt-inkluderat” ramverk medan man i Pyramid får göra val i form av databashanterare, templatespråk m.fl. Studien syftar till att ta fram vilket av dessa ramverk som bäst möter NTT:s krav där några utvalda delar från dessa ramverk har valts för att se på så väl funktionalitet, modularitet och komplexitet. De delar som undersöks är: dokumentation, community, url-dirigering, templatespråk och databashanterare. Studien har främst utförts genom undersökning av ramverkens dokumentation men även genom granskning av utomstående artiklar och tredjeparts-paket. Resultatet visar på att Django bäst lämpar sig för snabb utveckling där alla val redan är gjorda åt en men att det även är möjligt att modulera med ibland viss tappad funktionalitet. Pyramid visar istället på högre modularitet där ramverket är konstruerat för att moduleras men att detta medför en högre komplexitet. Båda ramverken visar på liknande funktionalitet. / In todays society, both companies and private individuals want to be seen on the web – it is a platform that everyone expects to find information on. To reduce the costs of development but at the same time guarantee both funtionality and security, there are web-frameworks, a sort of library of functions for developers to use. The company NTT Communications often use the programminglanguage Python for development of internal web-applications. They are interested in knowing which web-framework, for this language, that best meets their requirements; fast development and modularity. For this studie two of the biggest web-frameworks for Python were chosen; Django and Pyramid. Django is an ”all-included”-framework whilst in Pyramid you have to make choices in the form of databasehandler, templatelanguage and more. The study aims to see which of these frameworks that best meet NTT:s requirements where a specific set of parts from these frameworks have been chosen were focus lies on: funtionality, modularity and complexity. The parts that are examined are: documentation, community, url-dispatch, templatelanguage and databasehandler. The study has mainly been conducted through examination of the frameworks documentation, articles and thirdparty-packages. The result shows that Django is best suited for fast development where all choices already have been made for you, but also that there is possibility for modularity with sometimes some loss in functionality. Pyramid on the other hand shows a higher level of modularity were the framework is constructed to be moduled but that this entails a higher complexity. Both frameworks show similar functionality.
|
94 |
Desenvolvimento de um software para modelagem de tomógrafos por emissão de pósitronsVieira, Igor Fagner 31 January 2013 (has links)
Submitted by Amanda Silva (amanda.osilva2@ufpe.br) on 2015-03-03T13:37:46Z
No. of bitstreams: 2
Dissertacao Igor Fagner Vieira.pdf: 11971580 bytes, checksum: 9b20669e6b9542d3990f183c304ff233 (MD5)
license_rdf: 1232 bytes, checksum: 66e71c371cc565284e70f40736c94386 (MD5) / Made available in DSpace on 2015-03-03T13:37:46Z (GMT). No. of bitstreams: 2
Dissertacao Igor Fagner Vieira.pdf: 11971580 bytes, checksum: 9b20669e6b9542d3990f183c304ff233 (MD5)
license_rdf: 1232 bytes, checksum: 66e71c371cc565284e70f40736c94386 (MD5)
Previous issue date: 2013 / CRCN-NE,CNEN e FACEPE / Há uma tendência cada vez mais crescente na comunidade cientifica, ou mesmo dentro das
grandes empresas da área médica, de utilizar códigos de transporte das radiações para validar
resultados experimentais ou mesmo para projetar novos experimentos e/ou equipamentos.
Neste trabalho, um método para modelagem de tomógrafo por emissão de pósitrons utilizando
o GATE (Geant4 Application for Tomographic Emission) foi proposto e inicialmente validado.
O GATE é uma plataforma internacionalmente reconhecida e utilizada para desenvolvimento
de Modelos Computacionais de Exposição (MCE) no contexto da Medicina Nuclear, embora
atualmente hajam módulos dedicados para aplicações em Radioterapia e Tomografia Computadorizada
(TC). O GATE usa métodos Monte Carlo (MC) e tem uma linguagem de script própria.
A escrita dos scripts para simulação de um PET scanner no GATE envolve um conjunto de passos
interligados, sendo a acurácia da simulação dependente do arranjo correto das geometrias
envolvidas, já que os processos físicos dependem destas, bem como da modelagem da eletrônica
dos detectores no módulo Digitizer, por exemplo. A realização manual desse setup pode
ser fonte de erros, sobretudo para usuários que não tenham experiência alguma no campo das
simulações ou familiaridade prévia com uma linguagem de programação, considerando também
o fato de todo este processo de modelagem no GATE ainda permanecer vinculado ao terminal
do LINUX/UNIX, um ambiente familiar apenas para poucos. Isso se torna um obstáculo para
iniciantes e inviabiliza o uso do GATE por uma gama maior de usuários, interessados em otimizar
seus experimentos e/ou protocolos clínicos por meio de um modo mais acessível, rápido
e amigável. O objetivo deste trabalho consiste, portanto, em desenvolver um software amigável
para modelagens de Tomógrafos por Emissão de Pósitrons, chamado GUIGATE (Graphical
User Interface for GATE), com módulos específicos e dedicados a controle de qualidade em
PET scanners. Os resultados obtidos exibem os recursos disponíveis no GUIGATE, presentes
em um conjunto de janelas que permitem ao usuário criar seus arquivos de entrada (os inputs),
executar e visualizar em tempo real o seu modelo, bem como analisar seus arquivo de saída (os
outputs) em um único ambiente, viabilizando assim de modo intuitivo o acesso a toda a arquitetura
de simulação do GATE e ao analisador de dados do CERN, o ROOT.
|
95 |
Konfiguration av VPN med Netconf/Yang och PythonJeppsson, Fredrik January 2017 (has links)
Rapporten behandlar en fiktiv internetleverantör som vill undersöka om protokollet Netconf kan användas för konfiguration av VPN-tjänster. Netconf används tillsammans med datamodelleringsspråket Yang som beskriver vad som kan konfigureras på en viss nätverksenhet. Netconf/Yang utvärderas genom att en lösning för konfiguration av MPLS Layer 3 VPN tas fram. Traditionella metoder för konfiguration av nätverksenheter är CLI och expect-baserade skript. Syftet är att undersöka om Netconf kan ersätta dessa metoder. För att öka trovärdigheten i lösningen har en nätverksarkitekt med erfarenhet av denna typ av lösningar involverats som kravställare. Internetleverantörens nätverk består av routrar från både Cisco och Juniper och projektets lösning tar hänsyn till detta. Utvecklingsarbetet har skett mot en labbmiljö bestående av de virtuella routrarna Juniper vMX 17.1R1.8 och Cisco IOS XRv 6.1.2. Projektets lösning består av indata som beskriver vilka parametrar som ska gälla för en L3VPN. Denna indata är oberoende av routertyp. Indatan valideras mot en egenutvecklad yangmodell, vilket är nödvändigt för att försäkra sig om att den är korrekt formaterad. Därefter skickas indatan till tre olika pythonskript som kan testa, lägga till eller ta bort en L3VPN. Projektets huvudsakliga slutsats är att Netconf/Yang kan ersätta CLI, givet att den önskade funktionaliteten är implementerad i nätverksenheternas yangmodeller. / This report discusses a fictitious Internet Service Provider (ISP) that wants to evaluate whether the Netconf protocol can be used to configure VPN services. Netconf is used in conjunction with Yang, a data modeling language that is used to describe the features that can be configured on a particular network device. Netconf/Yang is evaluated by developing a solution focused on the configuration of MPLS Layer 3 VPNs. Traditional methods for network device configuration are using the CLI and expect based scripts. One purpose of the evaluation is to determine if Netconf/Yang can be used instead. To increase the credibility of the results, a network architect with industry experience has been involved by setting requirements for the Netconf/Yang solution. The ISP in question uses routers from both Juniper and Cisco, something that the proposed solution takes into account. Development has been done against the virtual routers Juniper vMX 17.1R1.8 and Cisco IOS XRv 6.1.2. The proposed solution involves creating script input data that describes a L3VPN in a vendor neutral way. The input data is validated against a custom yang model to ensure that it follows the expected format. The data is then used as an argument to three different scripts that either tests, adds or deletes a L3VPN based on the input data. The main conclusion is that Netconf/Yang can replace configuration using the CLI, given that the desired features have been implemented in the yang models of the network devices.
|
96 |
Utveckling av tvådimensionellt online-spel i kategorin action-strategi för smartphones med fokus på spelupplevelse och prestanda / Development of two-dimensional online game in the category action-strategy for smartphones with focus on game experience and performanceAndersson, Robin January 2017 (has links)
Vid utveckling av spel till smartphones så krävs ofta flera olika implementationer för olika plattformar. Men det finns olika spelmotorer och ramverk till olika programspråk som kan kompilera samma kod till flera olika mobila plattformar. Kivy är ett sådant ramverk för programspråket Python. I detta arbete användes prototypdriven utveckling i Kivy för att försöka höja spelupplevelsen av ett tvådimensionellt online-spel i kategorin action-strategi som tidigare fanns implementerat i GameMaker. Olika tekniker för att öka prestandan för spelet testades också. Det visade sig att med den bästa kombinationen av de tekniker som testades så blev prestandan med hög last cirka 29 bilder/s. Användarbarheten, spelbarheten och ljud-estetiken av spelet ökades medan nöjet och den personliga tillfredställelsen från spelet minskade. Totalt sett blev spelupplevelsen i stort sätt oförändrad.
|
97 |
Automatisk sammanställning av mätbara data : Intrusion detection systemPrestberg, Lars January 2016 (has links)
Projektet utförs på IT-säkerhetsbolaget i Skandinavien AB, en del i deras utbud är ett Cyberlarm där delar skall automatiseras för att kunna presentera information till kunder på ett smidigare sätt. Syftet är att kunna erbjuda kunder mer valuta för pengarna vilket samtidigt innebär ett extra säljargument för produkten. Cyberlarmet är förenklat ett Intrusion Detection System som läser av trafik på ett nätverk och larmar operatören om något suspekt sker på nätet. Utifrån databasen som all information sparas i skapas grafer och tabeller som en översikt av nätet, denna information skall skickas till kunder på veckobasis, vilket sker genom ett Python-script samt ett antal open-source programvaror. Resultatet visar att det automatiserade sättet att utföra uppgiften tar 5,5% av tiden det tog att skapa en levererad grafsida med orginalmetoden. Mot den föreslagna manuella metoden, för tre sensorer, tog den automatiserade metoden 11% av tiden. När endast skapandet av pdf utfördes låg den automatiserade metoden på 82,1% respektive 69,7% av den manuella tiden för en respektive tre sensorer.
|
98 |
PyMorphic - a Morphic based Live Programming Graphical User Interface implemented in PythonÖsterholm, Anders January 2006 (has links)
Programming is a very complex activity that has many simultaneous learning elements. The area of Live-programming offers possibilities for enhancing programming work by speeding up the feedback loop and providing means for reducing the cognitive load on the working memory during the task. This could allow for better education for novice programmers. In this work a number of systems with a shared aim of providing educational tools for scholars from compulsory level to undergraduate college were studied. The common approach in the majority of the tools was to use program abstractions like tangible morphs, playing cards, capsules for code segments, and visual stories. For the user these abstractions and tools offer better focus on the constructive and creative side of programming because they relieve the user from the cumbersome work of writing program code, but they also sacrifice some of the expressiveness of a low-level language. A Live programming system, called PyMorphic, based on the Morphic model was built in the Python programming language. Two different solutions, based on the Wx toolkit for Python, were constructed and evaluated. The results show that Morphic and Python go well together because Python is a programming language that allows for compact and dynamic code. PyMorphic was evaluated with the cognitive dimensions framework and theories on cognitive load and working memory. A user attitude test was performed and the results showed that the users had a positive attitude towards the PyMorphic system. The PyMorphic project is open-source and it is hosted on Sourceforge. The code can be downloaded from the project web-site: http://pymorphic.sourceforge.net. Anyone is welcome to take part in further development of PyMorphic.
|
99 |
Development of a web-based interface for SDHReimann, Kalle January 2012 (has links)
Ericsson in Linköing has a test environment for testing telecommunications equipment. New equipment was recently purchased to the fiber-optic network in the test environment, but the management system for the new equipment lacked a web based interface for users without special access to the system. The purpose of this thesis is to implement such an interface. A web site based on Python and Django was built where users can search for circuits, with or without search filters, and get information about the matching circuits. The website has been live for two months and no major issues have appeared.
|
100 |
InPUTpy : InPUT for PythonFink, Christoffer January 2014 (has links)
There are many problems where the solution depends heavily on parametertuning and therefore on conguration. Examples include Hill Climbers andvarious Evolutionary Algorithms. The Intelligent Parameter Utilization Tool(InPUT) uses a cross-language format for describing congurations of computerexperiments, thereby aiding in documentation and communication. Itis implemented in Java, and a C++ version is being developed. This meansthat only implementations in statically typed languages currently exist. APython port would thus greatly increase the diversity of implementation languages.The goal of this project was to create an InPUT implementation inPython, and to explore the suitability of a dynamically typed language inthis context. A de facto specication was discovered by creating a suite oflearning tests, and the new implementation was developed using a test-drivenapproach. Several features of Python proved advantageous by simplifying thedevelopment process.
|
Page generated in 0.0355 seconds