• Title/Summary/Keyword: Python package

Search Result 29, Processing Time 0.023 seconds

Applications of python package for statistical engineering (통계공학을 위한 Python 패키지 응용)

  • Jang, Dae-Heung
    • The Korean Journal of Applied Statistics
    • /
    • v.34 no.4
    • /
    • pp.633-658
    • /
    • 2021
  • Statistical engineering contains design of experiments, quality control/ management, and reliability engineering. Python is a free software environment for machine learning, data science, and graphics. Python package has many functions and libraries for statistical engineering. We can use Python package as a useful tool for statistical engineering. This paper shows applications of Python package for statistical engineering and suggests a total Python projects for statistical engineering.

PyOncoPrint: a python package for plotting OncoPrints

  • Jeongbin Park;Nagarajan Paramasivam
    • Genomics & Informatics
    • /
    • v.21 no.1
    • /
    • pp.14.1-14.4
    • /
    • 2023
  • OncoPrint, the plot to visualize an overview of genetic variants in sequencing data, has been widely used in the field of cancer genomics. However, still, there have been no Python libraries capable to generate OncoPrint yet, a big hassle to plot OncoPrints within Python-based genetic variants analysis pipelines. This paper introduces a new Python package PyOncoPrint, which can be easily used to plot OncoPrints in Python. The package is based on the existing widely used scientific plotting library Matplotlib, the resulting plots are easy to be adjusted for various needs.

Python Package Prototype for Adaptive Optics Modeling and Simulation

  • Choi, Seonghwan;Bang, Byungchae;Kim, Jihun;Jung, Gwanghee;Baek, Ji-Hye;Park, Jongyeob;Han, Jungyul;Kim, Yunjong
    • The Bulletin of The Korean Astronomical Society
    • /
    • v.46 no.2
    • /
    • pp.53.3-53.3
    • /
    • 2021
  • Adaptive Optics (AO) was first studied in the field of astronomy, and its applications have been extended to the field of laser, microscopy, bio, medical, and free space laser communication. AO modelling and simulation are required throughout the system development process. It is necessary not only for proper design but also for performance verification after the final system is built. In KASI, we are trying to develop the AO Python Package for AO modelling and simulation. It includes modelling classes of atmosphere, telescope, Shack-Hartmann wavefront sensor, deformable mirror, which are the components for an AO system. It also includes the ability to simulate the entire AO system over time. It is being developed in the Super Eye Bridge project to develop a segmented mirror, an adaptive optics, and an emersion grating spectrograph, which are future telescope technologies. And it is planned to be used as a performance analysis system for several telescope projects in Korea.

  • PDF

Python Package Production for Agricultural Researcher to Use Meteorological Data (농업연구자의 기상자료 활용을 위한 파이썬 패키지 제작)

  • Hyeon Ji Yang;Joo Hyun Park;Mun-Il Ahn;Min Gu Kang;Yong Kyu Han;Eun Woo Park
    • Korean Journal of Agricultural and Forest Meteorology
    • /
    • v.25 no.2
    • /
    • pp.99-107
    • /
    • 2023
  • Recently, the abnormal weather events and crop damages occurred frequently likely due to climate change. The importance of meteorological data in agricultural research is increasing. Researchers can download weather observation data by accessing the websites provided by the KMA (Korea Meteorological Administration) and the RDA (Rural Development Administration). However, there is a disadvantage that multiple inquiry work is required when a large amount of meteorological data needs to be received. It is inefficient for each researcher to store and manage the data needed for research on an independent local computer in order to avoid this work. In addition, even if all the data were downloaded, additional work is required to find and open several files for research. In this study, data collected by the KMA and RDA were uploaded to GitHub, a remote storage service, and a package was created that allows easy access to weather data using Python. Through this, we propose a method to increase the accessibility and usability of meteorological data for agricultural personnel by adopting a method that allows anyone to take data without an additional authentication process.

Tools for Light Curve of Exoplanet Transit Observation with Youth

  • Kang, Wonseok;Kim, Taewoo;Yoo, Jihyun;Kim, Jeong-eun;Kang, Min;Noh, Hannah
    • The Bulletin of The Korean Astronomical Society
    • /
    • v.42 no.2
    • /
    • pp.70.2-70.2
    • /
    • 2017
  • Transit event of exoplanet is a good example of observational studies with youth, because the event is geometrically simple and its analysis is essential to astronomical observation. Therefore, we developed the package of data reduction and aperture photometry in Python for educational purpose. In 27 July, we observed the transit event of TrES-3b with the students of "NYSC Space Science Club" program, and presented the Python package, PyPhotW for data reduction and aperture photometry. PyPhotW consists of simple functions for youth to understand the processes easier. Nonetheless, the photometric results of PyPhotW show a good agreement with those of Source Extractor, ${\Delta}m{\sim}-0.01{\pm}0.03$ and $-0.04{\pm}0.08$ for TrES-3b and TrES-5b time-series observations in 27 - 28 July.

  • PDF

Creating Structure with Pymatgen Package and Application to the First-Principles Calculation (Pymatgen 패키지를 이용한 구조 생성 및 제일원리계산에의 적용)

  • Lee, Dae-Hyung;Seo, Dong-Hwa
    • Journal of the Korean Institute of Electrical and Electronic Material Engineers
    • /
    • v.35 no.6
    • /
    • pp.556-561
    • /
    • 2022
  • Computational material science as an application of Density Functional Theory (DFT) to the discipline of material science has emerged and applied to the research and development of energy materials and electronic materials such as semiconductor. However, there are a few difficulties, such as generating input files for various types of materials in both the same calculating condition and appropriate parameters, which is essential in comparing results of DFT calculation in the right way. In this tutorial status report, we will introduce how to create crystal structures and to prepare input files automatically for the Vienna Ab initio Simulation Package (VASP) and Gaussian, the most popular DFT calculation programs. We anticipate this tutorial makes DFT calculation easier for the ones who are not experts on DFT programs.

Optimal dwelling time prediction for package tour using K-nearest neighbor classification algorithm

  • Aria Bisma Wahyutama;Mintae Hwang
    • ETRI Journal
    • /
    • v.46 no.3
    • /
    • pp.473-484
    • /
    • 2024
  • We introduce a machine learning-based web application to help travel agents plan a package tour schedule. K-nearest neighbor (KNN) classification predicts the optimal tourists' dwelling time based on a variety of information to automatically generate a convenient tour schedule. A database collected in collaboration with an established travel agency is fed into the KNN algorithm implemented in the Python language, and the predicted dwelling times are sent to the web application via a RESTful application programming interface provided by the Flask framework. The web application displays a page in which the agents can configure the initial data and predict the optimal dwelling time and automatically update the tour schedule. After conducting a performance evaluation by simulating a scenario on a computer running the Windows operating system, the average response time was 1.762 s, and the prediction consistency was 100% over 100 iterations.

A prediction of overall survival status by deep belief network using Python® package in breast cancer: a nationwide study from the Korean Breast Cancer Society

  • Ryu, Dong-Won
    • Korean Journal of Artificial Intelligence
    • /
    • v.6 no.2
    • /
    • pp.11-15
    • /
    • 2018
  • Breast cancer is one of the leading causes of cancer related death among women. So prediction of overall survival status is important into decided in adjuvant treatment. Deep belief network is a kind of artificial intelligence (AI). We intended to construct prediction model by deep belief network using associated clinicopathologic factors. 103881 cases were found in the Korean Breast Cancer Registry. After preprocessing of data, a total of 15733 cases were enrolled in this study. The median follow-up period was 82.4 months. In univariate analysis for overall survival (OS), the patients with advanced AJCC stage showed relatively high HR (HR=1.216 95% CI: 0.011-289.331, p=0.001). Based on results of univariate and multivariate analysis, input variables for learning model included 17 variables associated with overall survival rate. output was presented in one of two states: event or cencored. Individual sensitivity of training set and test set for predicting overall survival status were 89.6% and 91.2% respectively. And specificity of that were 49.4% and 48.9% respectively. So the accuracy of our study for predicting overall survival status was 82.78%. Prediction model based on Deep belief network appears to be effective in predicting overall survival status and, in particular, is expected to be applicable to decide on adjuvant treatment after surgical treatment.

Data reduction package for the Immersion Grating Infrared Spectrograph (IGRINS)

  • Sim, Chae Kyung;Le, Huynh Anh Nguyen;Pak, Soojong;Lee, Hye-In;Kang, Wonseok;Chun, Moo-Young;Jeong, Ueejeong;Yuk, In-Soo;Kim, Kang-Min;Park, Chan;Jaffe, Daniel T.;Pavel, Michael
    • The Bulletin of The Korean Astronomical Society
    • /
    • v.38 no.2
    • /
    • pp.84.1-84.1
    • /
    • 2013
  • We present a python-based data reduction pipeline for the Immersion GRating INfrared Spectrograph (IGRINS). IGRINS covers the complete H- and K-bands in a single exposure with a spectral resolving power of greater than 40,000. IGRINS is designed to be compatible with telescopes of diameters ranging from 2.7-m (the Harlan J. Smith telescope at McDonald Observatory) to 8-10m. Commissioning and initial operation will be on the 2.7-m telescope from late 2013. The pipeline package is a part of the IGRINS software and designed to be compatible with other package that maneuvers the spectrograph during the observation. This package provides high-quality spectra with minimal human intervention and the processes of order extraction, distortion correction, and wavelength calibration can be automatically carried out using the predefined functions (e.g. echellogram mapping and 2D transform). Since the IGRINS is a prototype of the Giant Magellan Telescope Near-Infrared Spectrometer (GMTNIRS), this pipeline will be extended to the GMTNIRS software.

  • PDF

VLBI NETWORK SIMULATOR: AN INTEGRATED SIMULATION TOOL FOR RADIO ASTRONOMERS

  • Zhao, Zhen;An, Tao;Lao, Baoqiang
    • Journal of The Korean Astronomical Society
    • /
    • v.52 no.5
    • /
    • pp.207-216
    • /
    • 2019
  • In this paper we introduce a software package, the Very long baseline interferometry Network SIMulator (VNSIM), which provides an integrated platform assisting radio astronomers to design Very Long Baseline Interferometry (VLBI) experiments and evaluate the network performance, with a user-friendly interface. Though VNSIM is primarily motivated by the East Asia VLBI Network, it can also be used for other VLBI networks and generic interferometers. The software package not only integrates the functionality of plotting (u, v) coverage, scheduling the observation, and displaying the dirty and CLEAN images, but also adds new features including sensitivity calculations for a given VLBI network. VNSIM provides flexible interactions on both command line and graphical user interface and offers friendly support for log reports and database management. Multi-processing acceleration is also supported, enabling users to handle large survey data. To facilitate future developments and updates, all simulation functions are encapsulated in separate Python modules, allowing independent invoking and testing. In order to verify the performance of VNSIM, we performed simulations and compared the results with other simulation tools, showing good agreement.