Necst-lib - Pure Python tools for NECST

Overview

necst-lib

PyPI Python Test License

Pure Python tools for NECST.

Features

This library provides:

  • something.

Installation

pip install necst-lib

Usage

1st module

2nd module


This library is using Semantic Versioning.

You might also like...
🏆 A ranked list of awesome Python open-source libraries and tools. Updated weekly.

Best-of Python 🏆 A ranked list of awesome Python open-source libraries & tools. Updated weekly. This curated list contains 230 awesome open-source pr

A Python utility belt containing simple tools, a stdlib like feel, and extra batteries. Hashing, Caching, Timing, Progress, and more made easy!
A Python utility belt containing simple tools, a stdlib like feel, and extra batteries. Hashing, Caching, Timing, Progress, and more made easy!

Ubelt is a small library of robust, tested, documented, and simple functions that extend the Python standard library. It has a flat API that all behav

Some ideas and tools to develop Python 3.8 plugins for GIMP 2.99.4
Some ideas and tools to develop Python 3.8 plugins for GIMP 2.99.4

gimp-python-development Some ideas and tools to develop Python 3.8 plugins for GIMP 2.99.4. GIMP 2.99.4 is the latest unstable pre-release of GIMP 3.

Python tools for working with Orbit Ephemeris Messages (OEMs).

Python Orbit Ephemeris Message tools Python tools for working with Orbit Ephemeris Messages (OEMs). Development Status Installation The oem package is

Python tools for experimenting with differentiable intonation cost measures

Differentiable Intonation Tools The Differentiable Intonation Tools (dit) are a collection of Python functions to analyze the intonation in multitrack

Python 3 script for installing kali tools on your linux machine

Python 3 script for installing kali tools on your linux machine

A fancy and practical functional tools

Funcy A collection of fancy functional tools focused on practicality. Inspired by clojure, underscore and my own abstractions. Keep reading to get an

Socorro is the Mozilla crash ingestion pipeline. It accepts and processes Breakpad-style crash reports. It provides analysis tools.

Socorro Socorro is a Mozilla-centric ingestion pipeline and analysis tools for crash reports using the Breakpad libraries. Support This is a Mozilla-s

addon for blender to import mocap data from tools like easymocap, frankmocap and Vibe

b3d_mocap_import addon for blender to import mocap data from tools like easymocap, frankmocap and Vibe ==================VIBE================== To use

Comments
  • #288 bias parameter

    #288 bias parameter

    Updating some parameter for OPU1.85m.

    詳細

    • 想定していた配線と違う配線でバイアスボックス周りが組まれていたので任意の配線に対応できるように修正しました。
    • 利用するチャンネル番号よりも多くの設定をsmpl_ch_reqで行う必要があります。
      • 例えば、読み出しチャンネルとしてch = 5, 6, 8, 10, 12を利用するのであれば最低限ch12まで設定する必要があります。
      • これを応用するとchごとに差動入力とシングルエンド入力を切り替えることができるかと思います。
        • ただしこれを利用する際には物理的に配線が重複しないようにデザインする必要があり注意が必要です。
    • all_ch_numsmpl_ch_reqと同数のチャンネル数を入力する必要があります。
      • 逆にall_ch_numと同じだけsmpl_ch_reqを書き込む必要があります。
      • 最大値は差動入力で32、シングルエンド入力では64です。
    • ch_selectorでは各チャンネルがバイアスボックスのどのCHに対応しているかを書き込みます。
      • ただし必ずしもall_ch_numの数だけ設定する必要はなく最低限読み出す予定のチャンネルのみを設定すれば良いです。
    • v_magi_magでは読み出しの実際の値に対して掛けることでSIS素子にかかっているバイアス電圧・電流を計算するためのFoctorを設定します。
      • この値はバイアスボックスの可変抵抗の値で決定します。OPU1.85mの場合は電圧が5倍、電流は500倍です。

    補足

    • 今回のPull Requestで設定されているbias_reader_ch_selectorの値は実際にOPU1.85mに実装されている値です。
    • ~~なお、テスターの値と読み取りの値を比較したときに若干値に齟齬があるような気がしているので現段階ではDraftとします。~~
    • 代わりに確認していただき、正常に値を読めるようになったようです。ありがとうございました。https://github.com/necst-telescope/internal/discussions/62#discussioncomment-4366498
    bug 
    opened by TatsumiISHIKAWA 5
  • Is it possible to add some key works that specifies the spectrometer name in the configuration file?

    Is it possible to add some key works that specifies the spectrometer name in the configuration file?

    Motivation

    I do not want to specify the ROS topic name that is saved in the necstdb when loading the data. To realise this, the keyword in the config file of neclib should somewhat be connected to the necstdb list_tables. Could you consider this issue?

    enhancement 
    opened by r-yamada1998 2
  • #261 cpz3177

    #261 cpz3177

    Adding class reading bias voltage and current. Please check it.

    Nb. 以下の/scr/config.toml内のパラメーターはどのように決めるか考えあぐねたため、適当に割り振ってあります。

    • bias_reader_ave_num = 10
    • bias_reader_all_ch_num = 8
    • bias_reader_smpl_ch_req = [1, 2, 3, 4, 5, 6, 7, 8]

    残りのパラメータは初めから決まっているものかもしくはpyinterface内でデフォルトとして入れてあったものを採用しています。

    enhancement 
    opened by TatsumiISHIKAWA 1
Releases(v0.18.6)
  • v0.18.6(Jan 1, 2023)

    What's Changed

    Bug Fixes

    • Reduce sleep duration for signal generator read-out by @KaoruNishikawa in https://github.com/necst-telescope/neclib/pull/369

    Full Changelog: https://github.com/necst-telescope/neclib/compare/v0.18.5...v0.18.6

    Source code(tar.gz)
    Source code(zip)
  • v0.18.5(Dec 31, 2022)

    What's Changed

    Bug Fixes

    • Fix invalid device identifier for Model-218 by @KaoruNishikawa in https://github.com/necst-telescope/neclib/pull/367

    Full Changelog: https://github.com/necst-telescope/neclib/compare/v0.18.4...v0.18.5

    Source code(tar.gz)
    Source code(zip)
  • v0.18.4(Dec 30, 2022)

    What's Changed

    Bug Fixes

    • Preserve config parameter type by @KaoruNishikawa in https://github.com/necst-telescope/neclib/pull/365

    Full Changelog: https://github.com/necst-telescope/neclib/compare/v0.18.3...v0.18.4

    Source code(tar.gz)
    Source code(zip)
  • v0.18.3(Dec 30, 2022)

    What's Changed

    New Features

    • Support remote path for root directory of parameter files by @KaoruNishikawa in https://github.com/necst-telescope/neclib/pull/363

    Full Changelog: https://github.com/necst-telescope/neclib/compare/v0.18.2...v0.18.3

    Source code(tar.gz)
    Source code(zip)
  • v0.18.2(Dec 30, 2022)

    What's Changed

    Bug Fixes

    • Fix invalid namespace parsing in config by @KaoruNishikawa in https://github.com/necst-telescope/neclib/pull/361

    Full Changelog: https://github.com/necst-telescope/neclib/compare/v0.18.1...v0.18.2

    Source code(tar.gz)
    Source code(zip)
  • v0.18.1(Dec 30, 2022)

    What's Changed

    Bug Fixes

    • Faster config by @KaoruNishikawa in https://github.com/necst-telescope/neclib/pull/359

    Full Changelog: https://github.com/necst-telescope/neclib/compare/v0.18.0...v0.18.1

    Source code(tar.gz)
    Source code(zip)
  • v0.18.0(Dec 28, 2022)

    What's Changed

    New Features

    • Support device ID selection by @KaoruNishikawa in https://github.com/necst-telescope/neclib/pull/354

    Full Changelog: https://github.com/necst-telescope/neclib/compare/v0.17.4...v0.18.0

    Source code(tar.gz)
    Source code(zip)
  • v0.17.4(Dec 26, 2022)

    What's Changed

    New Features

    • Add observer coordinate calculator by @KaoruNishikawa in https://github.com/necst-telescope/neclib/pull/350
    • Add safety measure for bias voltage setter by @KaoruNishikawa in https://github.com/necst-telescope/neclib/pull/351
    • Change time offset management by @KaoruNishikawa in https://github.com/necst-telescope/neclib/pull/352

    Other Changes

    • Version 0.17.4 by @KaoruNishikawa in https://github.com/necst-telescope/neclib/pull/356

    Full Changelog: https://github.com/necst-telescope/neclib/compare/v0.17.3...v0.17.4

    Source code(tar.gz)
    Source code(zip)
  • v0.17.3(Dec 21, 2022)

    What's Changed

    New Features

    • Add extrapolate method by @KaoruNishikawa in https://github.com/necst-telescope/neclib/pull/346

    Full Changelog: https://github.com/necst-telescope/neclib/compare/v0.17.2...v0.17.3

    Source code(tar.gz)
    Source code(zip)
  • v0.17.2(Dec 20, 2022)

    What's Changed

    Bug Fixes

    • Fix error on coordinate query with non-planet celestial body name by @KaoruNishikawa in https://github.com/necst-telescope/neclib/pull/338
    • Fix data drop procedure which possibly fails in data.Resize by @KaoruNishikawa in https://github.com/necst-telescope/neclib/pull/340

    New Features

    • Support time input in PIDController.get_speed by @KaoruNishikawa in https://github.com/necst-telescope/neclib/pull/342
    • Add Python object interpolator by @KaoruNishikawa in https://github.com/necst-telescope/neclib/pull/344

    Full Changelog: https://github.com/necst-telescope/neclib/compare/v0.17.1...v0.17.2

    Source code(tar.gz)
    Source code(zip)
  • v0.17.1(Dec 19, 2022)

    What's Changed

    New Features

    • Support coordinate calculation from name of celestial body by @KaoruNishikawa in https://github.com/necst-telescope/neclib/pull/336

    Full Changelog: https://github.com/necst-telescope/neclib/compare/v0.17.0...v0.17.1

    Source code(tar.gz)
    Source code(zip)
  • v0.17.0(Dec 19, 2022)

    What's Changed

    New Features

    • Support multiple pointing models by @KaoruNishikawa in https://github.com/necst-telescope/neclib/pull/334

    Full Changelog: https://github.com/necst-telescope/neclib/compare/v0.16.1...v0.17.0

    Source code(tar.gz)
    Source code(zip)
  • v0.16.1(Dec 18, 2022)

    What's Changed

    Bug Fixes

    • Support axis name alias for motor control parameter by @KaoruNishikawa in https://github.com/necst-telescope/neclib/pull/326
    • Fix thread handling in NECSTDBWriter by @KaoruNishikawa in https://github.com/necst-telescope/neclib/pull/328

    New Features

    • Make recorder singleton by @KaoruNishikawa in https://github.com/necst-telescope/neclib/pull/331
    • Add file reader by @KaoruNishikawa in https://github.com/necst-telescope/neclib/pull/332

    Full Changelog: https://github.com/necst-telescope/neclib/compare/v0.16.0...v0.16.1

    Source code(tar.gz)
    Source code(zip)
  • v0.16.0(Dec 17, 2022)

    What's Changed

    Bug Fixes

    • Stabilize motor control by @KaoruNishikawa in https://github.com/necst-telescope/neclib/pull/319
    • Fix conditionally not-functioning motor controller by @KaoruNishikawa in https://github.com/necst-telescope/neclib/pull/322

    New Features

    • Return generator in coordinate converter by @KaoruNishikawa in https://github.com/necst-telescope/neclib/pull/313
    • Support URL in config path specification by @KaoruNishikawa in https://github.com/necst-telescope/neclib/pull/321
    • Calculated considering acceleration for SCAN by @takayama-27 in https://github.com/necst-telescope/neclib/pull/293

    Other Changes

    • Version 0.16.0 by @KaoruNishikawa in https://github.com/necst-telescope/neclib/pull/324

    Full Changelog: https://github.com/necst-telescope/neclib/compare/v0.15.3...v0.16.0

    Source code(tar.gz)
    Source code(zip)
  • v0.15.3(Dec 15, 2022)

    What's Changed

    New Features

    • Support log level setting via environment variable by @KaoruNishikawa in https://github.com/necst-telescope/neclib/pull/315

    Other Changes

    • Version 0.15.3 by @KaoruNishikawa in https://github.com/necst-telescope/neclib/pull/317

    Full Changelog: https://github.com/necst-telescope/neclib/compare/v0.15.2...v0.15.3

    Source code(tar.gz)
    Source code(zip)
  • v0.15.2(Dec 15, 2022)

    What's Changed

    Bug Fixes

    • #288 bias parameter by @TatsumiISHIKAWA in https://github.com/necst-telescope/neclib/pull/294
    • Fix parameter handling in modified PID algorithm by @KaoruNishikawa in https://github.com/necst-telescope/neclib/pull/299
    • Add error handler for TR-73U read-out by @KaoruNishikawa in https://github.com/necst-telescope/neclib/pull/303
    • Fix thread handling in recorder by @KaoruNishikawa in https://github.com/necst-telescope/neclib/pull/308
    • Fix thread management in recorder by @KaoruNishikawa in https://github.com/necst-telescope/neclib/pull/309

    New Features

    • Add device controllers by @KaoruNishikawa in https://github.com/necst-telescope/neclib/pull/295
    • Support changing constant term factor by @KaoruNishikawa in https://github.com/necst-telescope/neclib/pull/302

    Other Changes

    • Version 0.15.2 by @KaoruNishikawa in https://github.com/necst-telescope/neclib/pull/305
    • Version 0.15.2 by @KaoruNishikawa in https://github.com/necst-telescope/neclib/pull/306

    Full Changelog: https://github.com/necst-telescope/neclib/compare/v0.15.1...v0.15.2

    Source code(tar.gz)
    Source code(zip)
  • v0.15.1(Dec 10, 2022)

    What's Changed

    • Quick fix on unresponsive motor control by @KaoruNishikawa in https://github.com/necst-telescope/neclib/pull/280
    • Make recorder singleton by @KaoruNishikawa in https://github.com/necst-telescope/neclib/pull/283
    • #285 Change gpib communication->usb communication by @TatsumiISHIKAWA in https://github.com/necst-telescope/neclib/pull/286
    • #287 Delete debug print in PathFinder by @Kirby1717 in https://github.com/necst-telescope/neclib/pull/289
    • Bump certifi from 2022.9.24 to 2022.12.7 by @dependabot in https://github.com/necst-telescope/neclib/pull/292
    • Read actual motion by @KaoruNishikawa in https://github.com/necst-telescope/neclib/pull/291
    • Version 0.15.1 by @KaoruNishikawa in https://github.com/necst-telescope/neclib/pull/297

    New Contributors

    • @dependabot made their first contribution in https://github.com/necst-telescope/neclib/pull/292

    Full Changelog: https://github.com/necst-telescope/neclib/compare/v0.15.0...v0.15.1

    Source code(tar.gz)
    Source code(zip)
  • v0.15.0(Dec 1, 2022)

    What's Changed

    • #260 Update files to add "scan" command by @Kirby1717 in https://github.com/necst-telescope/neclib/pull/275
    • #261 cpz3177 by @TatsumiISHIKAWA in https://github.com/necst-telescope/neclib/pull/272
    • #262 cpz340816 by @yamatomatsuzuki in https://github.com/necst-telescope/neclib/pull/270
    • Add initialization on CPZ7415V start-up by @KaoruNishikawa in https://github.com/necst-telescope/neclib/pull/277

    Full Changelog: https://github.com/necst-telescope/neclib/compare/v0.14.3...v0.15.0

    Source code(tar.gz)
    Source code(zip)
  • v0.14.3(Nov 27, 2022)

    What's Changed

    • Support oblique scan and offset frame by @KaoruNishikawa in https://github.com/necst-telescope/neclib/pull/271
    • Add chopper parameters by @KaoruNishikawa in https://github.com/necst-telescope/neclib/pull/274

    Full Changelog: https://github.com/necst-telescope/neclib/compare/v0.14.2...v0.14.3

    Source code(tar.gz)
    Source code(zip)
  • v0.14.2(Nov 24, 2022)

    What's Changed

    • Change config initialization method by @KaoruNishikawa in https://github.com/necst-telescope/neclib/pull/259
    • Fix config handling by @KaoruNishikawa in https://github.com/necst-telescope/neclib/pull/264
    • #265 add file for minimize spectral data by @FumikaDemachi in https://github.com/necst-telescope/neclib/pull/266
    • Rename configuration exception by @KaoruNishikawa in https://github.com/necst-telescope/neclib/pull/268

    New Contributors

    • @FumikaDemachi made their first contribution in https://github.com/necst-telescope/neclib/pull/266

    Full Changelog: https://github.com/necst-telescope/neclib/compare/v0.14.1...v0.14.2

    Source code(tar.gz)
    Source code(zip)
  • v0.14.1(Nov 21, 2022)

    What's Changed

    • Fix accidentally removed parameter getter by @KaoruNishikawa in https://github.com/necst-telescope/neclib/pull/255
    • Release v0.14.1 by @KaoruNishikawa in https://github.com/necst-telescope/neclib/pull/257

    Full Changelog: https://github.com/necst-telescope/neclib/compare/v0.14.0...v0.14.1

    Source code(tar.gz)
    Source code(zip)
  • v0.14.0(Nov 21, 2022)

    What's Changed

    • Fix type annotations by @KaoruNishikawa in https://github.com/necst-telescope/neclib/pull/249
    • Refactor configuration object by @KaoruNishikawa in https://github.com/necst-telescope/neclib/pull/251
    • Support arbitrary number of instances for single device by @KaoruNishikawa in https://github.com/necst-telescope/neclib/pull/252
    • #247 thermo by @TatsumiISHIKAWA in https://github.com/necst-telescope/neclib/pull/250
    • #187 implement signal generator controller by @yamatomatsuzuki in https://github.com/necst-telescope/neclib/pull/200
    • Support control of chopper motor by @KaoruNishikawa in https://github.com/necst-telescope/neclib/pull/253

    New Contributors

    • @TatsumiISHIKAWA made their first contribution in https://github.com/necst-telescope/neclib/pull/250
    • @yamatomatsuzuki made their first contribution in https://github.com/necst-telescope/neclib/pull/200

    Full Changelog: https://github.com/necst-telescope/neclib/compare/v0.13.8...v0.14.0

    Source code(tar.gz)
    Source code(zip)
  • v0.13.8(Nov 9, 2022)

    What's Changed

    • Make get_quantity optionally return type validator by @KaoruNishikawa in https://github.com/necst-telescope/neclib/pull/241
    • Accept dimensionless weather data by @KaoruNishikawa in https://github.com/necst-telescope/neclib/pull/243
    • #244 change version to 0.13.8 by @takayama-27 in https://github.com/necst-telescope/neclib/pull/245

    Full Changelog: https://github.com/necst-telescope/neclib/compare/v0.13.7...v0.13.8

    Source code(tar.gz)
    Source code(zip)
  • v0.13.7(Nov 8, 2022)

    What's Changed

    • Auto-detect device modules by @KaoruNishikawa in https://github.com/necst-telescope/neclib/pull/235
    • Add config key validation by @KaoruNishikawa in https://github.com/necst-telescope/neclib/pull/237
    • #238 Update project version by @KaoruNishikawa in https://github.com/necst-telescope/neclib/pull/239

    Full Changelog: https://github.com/necst-telescope/neclib/compare/v0.13.6...v0.13.7

    Source code(tar.gz)
    Source code(zip)
  • v0.13.6(Nov 1, 2022)

    What's Changed

    • change humididy by @takayama-27 in https://github.com/necst-telescope/neclib/pull/226
    • #230 Add process to reset config by @Kirby1717 in https://github.com/necst-telescope/neclib/pull/231
    • Add context manager for temporary parameter change by @KaoruNishikawa in https://github.com/necst-telescope/neclib/pull/229
    • Release v0.13.6 by @KaoruNishikawa in https://github.com/necst-telescope/neclib/pull/233

    Full Changelog: https://github.com/necst-telescope/neclib/compare/v0.13.5...v0.13.6

    Source code(tar.gz)
    Source code(zip)
  • v0.13.5(Oct 28, 2022)

    What's Changed

    • #126 path by @Kirby1717 in https://github.com/necst-telescope/neclib/pull/217
    • Change version restriction for ogameasure by @KaoruNishikawa in https://github.com/necst-telescope/neclib/pull/224

    Full Changelog: https://github.com/necst-telescope/neclib/compare/v0.13.4...v0.13.5

    Source code(tar.gz)
    Source code(zip)
  • v0.13.4(Oct 27, 2022)

    What's Changed

    • Fix return type by @KaoruNishikawa in https://github.com/necst-telescope/neclib/pull/220
    • Version 0.13.4 by @KaoruNishikawa in https://github.com/necst-telescope/neclib/pull/222

    Full Changelog: https://github.com/necst-telescope/neclib/compare/v0.13.3...v0.13.4

    Source code(tar.gz)
    Source code(zip)
  • v0.13.3(Oct 27, 2022)

    What's Changed

    • Fix parameter handling by @KaoruNishikawa in https://github.com/necst-telescope/neclib/pull/218

    Full Changelog: https://github.com/necst-telescope/neclib/compare/v0.13.2...v0.13.3

    Source code(tar.gz)
    Source code(zip)
  • v0.13.2(Oct 27, 2022)

    What's Changed

    • Fix config usage by @KaoruNishikawa in https://github.com/necst-telescope/neclib/pull/215

    Full Changelog: https://github.com/necst-telescope/neclib/compare/v0.13.1...v0.13.2

    Source code(tar.gz)
    Source code(zip)
  • v0.13.1(Oct 27, 2022)

    What's Changed

    • Freeze random seed in test suite by @KaoruNishikawa in https://github.com/necst-telescope/neclib/pull/208
    • Change obstime handling in AltAz to AltAz conversion by @KaoruNishikawa in https://github.com/necst-telescope/neclib/pull/211
    • Version 0.13.1 by @KaoruNishikawa in https://github.com/necst-telescope/neclib/pull/213

    Full Changelog: https://github.com/necst-telescope/neclib/compare/v0.13.0...v0.13.1

    Source code(tar.gz)
    Source code(zip)
Owner
NANTEN2 Group
NANTEN2 Group
x-tools is a collection of tools developed in Python

x-tools X-tools is a collection of tools developed in Python Commands\

null 5 Jan 24, 2022
:snake: Complete C99 parser in pure Python

pycparser v2.20 Contents 1 Introduction 1.1 What is pycparser? 1.2 What is it good for? 1.3 Which version of C does pycparser support? 1.4 What gramma

Eli Bendersky 2.8k Dec 29, 2022
An ultra fast cross-platform multiple screenshots module in pure Python using ctypes.

Python MSS from mss import mss # The simplest use, save a screen shot of the 1st monitor with mss() as sct: sct.shot() An ultra fast cross-platfo

Mickaël Schoentgen 799 Dec 30, 2022
Ikaros is a free financial library built in pure python that can be used to get information for single stocks, generate signals and build prortfolios

Ikaros is a free financial library built in pure python that can be used to get information for single stocks, generate signals and build prortfolios

Salma Saidane 64 Sep 28, 2022
Project based on pure python with OOP

Object oriented programming review Object oriented programming (OOP) is among the most used programming paradigms (if not the most common) in the indu

Facundo Abrahan Cerimeli 1 May 9, 2022
An kind of operating system portal to a variety of apps with pure python

pyos An kind of operating system portal to a variety of apps. Installation Run this on your terminal: git clone https://github.com/arjunj132/pyos.git

null 1 Jan 22, 2022
A(Sync) Interface for internal Audible API written in pure Python.

Audible Audible is a Python low-level interface to communicate with the non-publicly Audible API. It enables Python developers to create there own Aud

mkb79 192 Jan 3, 2023
Yunqi Chen 7 Oct 30, 2022
msImpersonate - User account impersonation written in pure Python3

msImpersonate v1.0 msImpersonate is a Python-native user impersonation tool that is capable of impersonating local or network user accounts with valid

Joe Helle 90 Dec 16, 2022
The purpose is to have a fairly simple python assignment that introduces the basic features and tools of python

This repository contains the code for the python introduction lab. The purpose is to have a fairly simple python assignment that introduces the basic

null 1 Jan 24, 2022