#scipy — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #scipy, aggregated by home.social.
-
#scipy minimal spanning tree
The sketch-a-day archives and tip jar are at: https://abav.lugaralgum.com/sketch-a-day Code for this: https://github.com/villares/sketch-a-day/tree/main/2026/sketch_2026_03_20 #Processing #Python #py5 #CreativeCoding -
@rzeta0 my friend, what do you think about the code using np.roll() (in the linked sketch)?
I'm afraid it would be a bit hard to explain on a short class. So I'll use the simpler inefficient function...
The next big step in efficiency would be using #scipy I think:
def count_live_neighbors(status):
"""Counts the number of neighboring live cells"""
kernel = np.array([
[1, 1, 1],
[1, 0, 1],
[1, 1, 1]
])
return scipy.signal.convolve2d(status, kernel, mode='same', boundary="wrap") -
I love this logo for the upcoming #SciPy (#Scientific #Python) conference coming up this summer in #Minneapolis #Minnesota
-
Hi all,
Hope you're fine and safe
An important #announcement about #tyssue , a Python modeling library :
https://github.com/DamCB/tyssue/blob/main/README.md
Please 🔁 this message to reach the few and far apart people that might be impacted :pray:
-
#scipy #TSP #genuary #genuary20 @genuary2026
Find the sketch-a-day archives and tip jar at: https://abav.lugaralgum.com/sketch-a-day
Code for this sketch at: https://github.com/villares/sketch-a-day/tree/main/2026/sketch_2026_01_20 #Processing #Python #py5 #CreativeCoding -
CW: Advent of Code 2025 Day 10 Spoilers
Today I "cheated" and used scipy's MILP solver for Part 2. Discretion is the better part of valor, as they say, and writing a constraint solver by hand is not what I had planned for this Wednesday morning. The existence of `uv` to deal with all the dependencies makes reaching for scipy for even little scripts like this an easy choice.
Part 1 was trivial. Treat the lights and the buttons as bitmasks and recognize that buttons XOR themselves so they're pressed at most 1 time each. Generate the smallest combination of buttons that XOR to the target.
Part 2 is probably solvable via something like DFS before the heat death of the universe, but it would take way too long. Instead, I used scipy's integer linear programming solver, defined the constraints, objective, and bounds, and let it do its thing.
https://github.com/biesnecker/aoc-anyhow/blob/main/202510.py
-
Книга «Python для инженерных задач»
Приветствуем, коллеги. Расскажем вам о нашей долгожданной новинке – «
https://habr.com/ru/companies/bhv_publishing/articles/973246/
#Python #самоучитель #математика #инженерия #matplotlib #numpy #scipy #pandas #книги_по_программированию
-
The #Volcanic Isles . A brief history of volcanism across The British Isles.
Quite pleased with how this one turned out.
Location of volcanoes taken from wikipedia (spotted a mistake and got to make an edit to wikipedia in the process); fault lines from the #BGS 625k bedrock dataset and the IE GSI 500k Bedrock Geology for Ireland. Font: League-Spartan by the League of Moveable Type.
#requests, #pandas and #geopandas for scraping and wrangling.#scipy for making the proximity surface (that's the colour scheme), #matplotlib for plotting. With all labeling done manually in #inkscape.
EDIT: I've been kindly and helpfully informed that (a) Ben Nevis' age is closer to 399 Ma; (b) some are missing; (c) others perhaps shouldn't be there; (d) it's complicated. So, maybe don't use this map to make any strategic decisions.
#volcanism #volcano #imNotExtinctImDormant #magma #geology #faultlines
-
The #Volcanic Isles . A brief history of volcanism across The British Isles.
Quite pleased with how this one turned out.
Location of volcanoes taken from wikipedia (spotted a mistake and got to make an edit to wikipedia in the process); fault lines from the #BGS 625k bedrock dataset and the IE GSI 500k Bedrock Geology for Ireland. Font: League-Spartan by the League of Moveable Type.
#requests, #pandas and #geopandas for scraping and wrangling.#scipy for making the proximity surface (that's the colour scheme), #matplotlib for plotting. With all labeling done manually in #inkscape.
EDIT: I've been kindly and helpfully informed that (a) Ben Nevis' age is closer to 399 Ma; (b) some are missing; (c) others perhaps shouldn't be there; (d) it's complicated. So, maybe don't use this map to make any strategic decisions.
#volcanism #volcano #imNotExtinctImDormant #magma #geology #faultlines
-
The #Volcanic Isles . A brief history of volcanism across The British Isles.
Quite pleased with how this one turned out.
Location of volcanoes taken from wikipedia (spotted a mistake and got to make an edit to wikipedia in the process); fault lines from the #BGS 625k bedrock dataset and the IE GSI 500k Bedrock Geology for Ireland. Font: League-Spartan by the League of Moveable Type.
#requests, #pandas and #geopandas for scraping and wrangling.#scipy for making the proximity surface (that's the colour scheme), #matplotlib for plotting. With all labeling done manually in #inkscape.
EDIT: I've been kindly and helpfully informed that (a) Ben Nevis' age is closer to 399 Ma; (b) some are missing; (c) others perhaps shouldn't be there; (d) it's complicated. So, maybe don't use this map to make any strategic decisions.
#volcanism #volcano #imNotExtinctImDormant #magma #geology #faultlines
-
The #Volcanic Isles . A brief history of volcanism across The British Isles.
Quite pleased with how this one turned out.
Location of volcanoes taken from wikipedia (spotted a mistake and got to make an edit to wikipedia in the process); fault lines from the #BGS 625k bedrock dataset and the IE GSI 500k Bedrock Geology for Ireland. Font: League-Spartan by the League of Moveable Type.
#requests, #pandas and #geopandas for scraping and wrangling.#scipy for making the proximity surface (that's the colour scheme), #matplotlib for plotting. With all labeling done manually in #inkscape.
EDIT: I've been kindly and helpfully informed that (a) Ben Nevis' age is closer to 399 Ma; (b) some are missing; (c) others perhaps shouldn't be there; (d) it's complicated. So, maybe don't use this map to make any strategic decisions.
#volcanism #volcano #imNotExtinctImDormant #magma #geology #faultlines
-
The #Volcanic Isles . A brief history of volcanism across The British Isles.
Quite pleased with how this one turned out.
Location of volcanoes taken from wikipedia (spotted a mistake and got to make an edit to wikipedia in the process); fault lines from the #BGS 625k bedrock dataset and the IE GSI 500k Bedrock Geology for Ireland. Font: League-Spartan by the League of Moveable Type.
#requests, #pandas and #geopandas for scraping and wrangling.#scipy for making the proximity surface (that's the colour scheme), #matplotlib for plotting. With all labeling done manually in #inkscape.
#volcanism #volcano #imNotExtinctImDormant #magma #geology #faultlines
-
Все об устройстве Q65 с примерами на Python (часть 1)
Q65 — цифровой протокол, разработанный Джо Тейлором (K1JT) и его командой в 2021 году для проведения минимальных связей в условиях сложных трасс прохождения радиосигнала, в том числе для проведения связи через отражение сигнала от Луны, где сигналы не только очень сильно ослабевают, но и имеют Доплеровский разброс. В этой статье будут рассмотрены подробности работы протокола. Статья может быть интересна радиолюбителям, как знакомым, так и не знакомым с Q65, а также тем, кто хочет понять устройство этого протокола.
https://habr.com/ru/articles/965862/
#ham #hamradio #numpy #scipy #python #python3 #LDPC #QRA #GF #Q65
-
We're hiring an open-source #python developer focused on modeling APIs!
https://tidyverse.org/blog/2025/11/python-open-source-developer/
-
I'm back trying to make #ParticleLife run faster, this time with #scipy #cKDTree. #ScipySpatial Code at: https://github.com/villares/sketch-a-day/tree/main/2025/sketch_2025_11_11
More sketch-a-day: https://abav.lugaralgum.com/sketch-a-day
If you like this, support my work:
https://www.paypal.com/donate/?hosted_button_id=5B4MZ78C9J724
https://liberapay.com/Villares
https://wise.com/pay/me/alexandrev562 #Processing #Python #py5 #CreativeCoding -
RE: https://hachyderm.io/@ponderingpothos/115528825818501604
Scipy is a phenomenal library. It's not every day that one can beat its performance by 1-2 orders of magnitude. Today is that day, though!
Must-read post if you care about any of:
- high performance Rust
- numerical methods
- how Rust can make Python faster -
Making Math Less Stressful with a Python Super-Calculator https://hackaday.com/2025/10/26/making-math-less-stressful-with-a-python-super-calculator/ #WolframMathematica #datavisualization #SoftwareHacks #matplotlib #Seaborn #Pandas #python #maple #numpy #scipy #SymPy
-
Making Math Less Stressful with a Python Super-Calculator - In a recent write-up, [David Delony] explains how he built a Wolfram Mathematica-l... - https://hackaday.com/2025/10/26/making-math-less-stressful-with-a-python-super-calculator/ #wolframmathematica #datavisualization #softwarehacks #matplotlib #seaborn #pandas #python #maple #numpy #scipy #sympy
-
Все об устройстве MSK144 с примерами на Python (часть 2)
MSK144 — цифровой протокол, разработанный Джо Тейлором (K1JT) и его командой в 2016 году для проведения связей через метеорное рассеивание. В предыдущей части были рассмотрены общие характеристики протокола, а также алгоритмы, формирующие сигнал. В этой части статьи рассматриваются механизмы детектирования и декодирования сигналов в протоколе MSK144. Статья может быть интересна радиолюбителям и людям, интересующимся темой цифровой обработки сигналов.
https://habr.com/ru/articles/956582/
#ham #hamradio #python #python3 #scipy #numpy #msk #msk144 #ldpc #crc
-
Коротко об устройстве протокола MSK144 с примерами на Python
MSK144 — цифровой протокол, разработанный Джо Тейлором (K1JT) и его командой в 2016 году для проведения связей через метеорное рассеивание. В этой статье будут рассмотрены подробности работы протокола. Статья может быть интересна радиолюбителям, как знакомым, так и не знакомым с MSK144 и связью через метеорное рассеивание, а также тем, кто хочет понять устройство этого протокола.
https://habr.com/ru/articles/946898/
#ham #hamradio #python #python3 #scipy #numpy #msk #msk144 #ldpc #crc
-
@hisold Citing a plain website or GitHub repo is kinda unprofessional. Many widespead software packages have a publication that is well citable, e.g. #sympy has this one with a proper DOI: https://doi.org/10.7717/peerj-cs.103, same for #numpy, #scipy, #matplotlib, etc. Some have at least a #Zenodo entry (with a DOI) to be properly citable. #PlatformIO apparently has none of those.
-
"A Better Default #Colormap for #Matplotlib | #SciPy 2015 | Nathaniel Smith and Stéfan van der Walt"
-
#NumPy, #SciPy and The Wild Early Days of Scientific #Python with NumPy creator Travis Oliphant
https://www.youtube.com/watch?v=-xhai2iu_QY -
Did you know the main driver behind NumPy/SciPy didn't get tenure? 🧐
I guess that board was wrong about Travis Oliphant.Literally everything I did in my scientific work since 2008 heavily depends on work like (and in my case particularly) NumPy/SciPy. #numpy #scipy #python #ScientificComputing
-
My first experience with #chatgpt5.
I queried how to write some #python code to write out unformatted, binary files so my #fortran code could read it.
Proceeds to give me a load of #NumPy code. Completely neglects to mention the #SciPy FortranFile class that can trivially read and write, and appears on the first page of a search.
This is going to be a bumpy ride!
-
Всё об устройстве FT8/FT4 с примерами на Python
FT8 — цифровой радиолюбительский протокол, разработанный Джо Тейлором (K1JT) и Стивом Франке (K9AN) в 2017 году. В этой статье будут рассмотрены подробности работы протокола. Статья может быть интересна радиолюбителям, как знакомым, так и не знакомым с протоколами FT8 и FT4, а также тем, кто хочет в подробностях понять устройство этих протоколов.
https://habr.com/ru/articles/928024/
#ham #hamradio #python #python3 #scipy #numpy #ft8 #ft4 #gfsk #ldpc
-
Comparing a naive "nearest neighbor" #TravellingSalesmanProblem solver with a #2optSwap one, adding a #DelaunayTriangulation mesh, it shows how often the better solution falls into the triangulation!
The #py5 sketch is interactive, you can generate other random nodes and move them around dragging with the mouse.
Code at: https://github.com/villares/sketch-a-day/tree/main/2025/sketch_2025_02_15
More sketch-a-day: https://abav.lugaralgum.com/sketch-a-day
If you like this, support my work: https://www.paypal.com/donate/?hosted_button_id=5B4MZ78C9J724
#scipy #Processing #Python #TSP #CreativeCoding -
I'll be serving as Editor-in-Chief (EiC) for @pyOpenSci's Python package peer review process for the first half of 2025!
Interested in reviewing scientific Python packages? Let us know at:
-
#Voronoi #Delaunay #scipy Code at: https://github.com/villares/sketch-a-day/tree/main/2024/sketch_2024_12_17
More sketch-a-day: https://abav.lugaralgum.com/sketch-a-day
I really need your support to keep going, if you can, donate any amount at: https://www.paypal.com/donate/?hosted_button_id=5B4MZ78C9J724 #Processing #Python #py5 #CreativeCoding -
#shapely #scipy #scipySpatial #Voronoi
Code at: https://github.com/villares/sketch-a-day/tree/main/2024/sketch_2024_12_15
More sketch-a-day: https://abav.lugaralgum.com/sketch-a-day
I really need your support to keep going, if you can, donate any amount at: https://www.paypal.com/donate/?hosted_button_id=5B4MZ78C9J724 #Processing #Python #py5 #CreativeCoding -
#scipy #Voronoi #shapely Code at: https://github.com/villares/sketch-a-day/tree/main/2024/sketch_2024_12_02
More sketch-a-day: https://abav.lugaralgum.com/sketch-a-day
I really need your support to keep going, if you can, donate any amount at: https://www.paypal.com/donate/?hosted_button_id=5B4MZ78C9J724 #Processing #Python #py5 #CreativeCoding -
I indulged myself re-reading my finest ever piece of writing: the poliastro 2022 paper for #SciPyUS2022 doi.org/10.25080/maj... Now re-rendered with @curvenote.com to look extra cool 🔥 I'm so damn proud of this work. I miss Astrodynamics and applied math so much 💔 #python #scipy #astrodynamics
poliastro: a Python library fo... -
With 🔍 FElupe, it's easier than ever to simulate the deformation of nonlinear hyperelastic solid bodies!
https://github.com/adtzlr/felupe
#python #numpy #scipy #fea #finiteelementmethod #numericsimulation #scientificcomputing #opensource #computationalmechanics #hyperelasticity
-
#python #algorithm #investment #portfolio #optimization
#scipy vs #montecarlo
min #variance
max #sharpe ratio
#gold #btc #oil #eurusd
Risk-Adjusted BTC-Gold-Oil- EURUSD Portfolio Optimization for Quant Traders: AutoEDA, Scipy SLSQP, Markowitz, Sharpe & VAR -
#python #algorithm #investment #portfolio #optimization
#scipy vs #montecarlo
min #variance
max #sharpe ratio
#gold #btc #oil #eurusd
Risk-Adjusted BTC-Gold-Oil- EURUSD Portfolio Optimization for Quant Traders: AutoEDA, Scipy SLSQP, Markowitz, Sharpe & VAR -
#python #algorithm #investment #portfolio #optimization
#scipy vs #montecarlo
min #variance
max #sharpe ratio
#gold #btc #oil #eurusd
Risk-Adjusted BTC-Gold-Oil- EURUSD Portfolio Optimization for Quant Traders: AutoEDA, Scipy SLSQP, Markowitz, Sharpe & VAR -
Индуктивная статистика: доверительные интервалы, предельные ошибки, размер выборки и проверка гипотез
Одной из самых распространённых задач современной аналитики является формирование суждений о большой совокупности (например, о миллионах пользователей приложения), опираясь на данные лишь о небольшой части этой совокупности - выборке. Можно ли сделать вывод о миллионной аудитории крупного мобильного приложения, собрав данные об использовании лишь для 100 пользователей? Или стоит собрать данные для 1000 пользователей? Ответ интуитивно прост и понятен: чем больше данных есть в наличии, тем более точными будут прогнозируемые результаты для всей совокупности. Какую вероятность ошибиться при анализе мы можем допустить: 5% или 1%? Относятся ли две выборки к одной совокупности, или между ними есть ощутимая значимая разница и они относятся к разным совокупностям? Точность прогноза и вероятность ошибки при ответе на эти и другие вопросы поддаются вполне конкретным расчётам и могут корректироваться в зависимости от потребностей продукта и бизнеса на этапе планирования и подготовки эксперимента. Рассмотрим подробнее, как параметры эксперимента и статистические критерии оказывают влияние на результаты анализа и выводы обо всей совокупности, а для этого смоделируем тысячу A/A , A/B и A/B/C/D тестов .
https://habr.com/ru/articles/807051/
#математика #математическая_статистика #анализ_данных #статистический_анализ #ab_тесты #statsmodels #scipy #python #matplotlib #проверка_гипотез
-
Scientific Python Lectures
#Tutorials on the scientific #Python ecosystem: a quick introduction to central tools and techniques. The different chapters each correspond to a 1 to 2 hours course with increasing level of expertise, from beginner to expert.
https://lectures.scientific-python.org/
#compsci #machinelearning #ComputerScience
#NumPy #Matplotlib #SciPy #SymPy #Scikit_Learn -
@vmagnin I see from the link below that "#LFortran (as of today) can compile 6 out of 18 Fortran packages in #SciPy" and is asking for input on this issue to start using LFortran to compile SciPy to #WASM and for further testing: https://github.com/emscripten-forge/recipes/issues/684
-
for anyone thinking about trying #python312 : #matplotlib , #hvplot , #astropy don't exist yet on #condaforge, but #numpy , #scipy , #pandas are there.
-
for anyone thinking about trying #python312 : #matplotlib , #hvplot , #astropy don't exist yet on #condaforge, but #numpy , #scipy , #pandas are there.
-
for anyone thinking about trying #python312 : #matplotlib , #hvplot , #astropy don't exist yet on #condaforge, but #numpy , #scipy , #pandas are there.
-
for anyone thinking about trying #python312 : #matplotlib , #hvplot , #astropy don't exist yet on #condaforge, but #numpy , #scipy , #pandas are there.
-
for anyone thinking about trying #python312 : #matplotlib , #hvplot , #astropy don't exist yet on #condaforge, but #numpy , #scipy , #pandas are there.