• S sverchok
  • Информация о проекте
    • Информация о проекте
    • Активность
    • Метки
    • Участники
  • Репозиторий
    • Репозиторий
    • Файлы
    • Коммиты
    • Ветки
    • Теги
    • Участники
    • Диаграмма
    • Сравнение
  • Задачи 148
    • Задачи 148
    • Список
    • Доски
    • Спринты
  • Запросы на слияние 21
    • Запросы на слияние 21
  • CI/CD
    • CI/CD
    • Конвейеры
    • Задания
    • Расписания
  • Развертывания
    • Развертывания
    • Окружения
    • Релизы
  • Пакеты и реестры
    • Пакеты и реестры
    • Реестр пакетов
    • Реестр контейнеров
  • Мониторинг
    • Мониторинг
    • Инциденты
  • Аналитика
    • Аналитика
    • Поток ценности
    • CI/CD
    • Репозиторий
  • Wiki
    • Wiki
  • Сниппеты
    • Сниппеты
  • Активность
  • Диаграмма
  • Создать новую задачу
  • Задания
  • Коммиты
  • Доски с задачами
Свернуть панель
  • nikitronn
  • sverchok
  • Запросы на слияние
  • !1894

Spline interpolation refactoring

  • Ревью изменений

  • Скачать
  • Почтовые патчи
  • Простое отличие
Слиты nikitronn запросил слияние github/fork/portnov/interpolate_refactor в master Дек 02, 2017
  • Обзор 3
  • Коммиты 3
  • Конвейеры 0
  • Изменения 3

Created by: portnov

A story: I wanted to write some code that uses cubic spline interpolation similar to "Vector interpolation mk3", and... found out that we have 5 (five!) definitions of cubic_spline method in master. Which are all more or less copy-paste of

# spline function modifed from
# from looptools 4.5.2 done by Bart Crouch

(all implementations have this comment).

There is also yet another implementation, in form of two classes (more OOP-style) in geom.py by @ly29 , which is not used anywhere.

So when I started to write some new code, I was faced with an idea of writing 7th implementation... no way. So I couldn't stay from moving the implementation from "interpolation_mk3.py" (which seems to be the last) to geom.py, merging with ly29's code. So in this PR we have LinearSpline and CubicSpline classes, which are used in interpolation_mk3. I did not touch other copies for now.

Theoretically, end-user is not able to see any differences before and after this PR, as this is just a movement of the same code from one module to another.

@zeffii could you please review?

Ответственный
Назначить
Проверяющие
Запросить ревью
Оценка трудозатрат
Исходная ветка: github/fork/portnov/interpolate_refactor