Search found 15 matches: numpy golly

Searched query: numpy golly

by LaundryPizza03
February 12th, 2023, 2:18 pm
Forum: Scripts
Topic: Thread for your script-related questions
Replies: 430
Views: 148792

Re: Thread for your script-related questions

Is it possible to import an external module such as NumPy into a Golly script? Sure -- just have to install whatever you want, probably with "pip install". Install ...
by dvgrn
February 11th, 2023, 10:34 am
Forum: Scripts
Topic: Thread for your script-related questions
Replies: 430
Views: 148792

Re: Thread for your script-related questions

Is it possible to import an external module such as NumPy into a Golly script? Sure -- just have to install whatever you want, probably with "pip install". Install ...
by LaundryPizza03
February 11th, 2023, 4:17 am
Forum: Scripts
Topic: Thread for your script-related questions
Replies: 430
Views: 148792

Re: Thread for your script-related questions

Is it possible to import an external module such as NumPy into a Golly script?
by pcallahan
July 5th, 2022, 3:59 pm
Forum: General Discussion
Topic: Adding sound (not music) to CGoL
Replies: 4
Views: 1343

Re: Adding sound (not music) to CGoL

... the cells' presence. This Python script generates the sound within Golly. It requires SciPy for WAV file generation as well as fast sound mixing ... the status line: import golly as g import itertools import math import numpy import scipy.io.wavfile import scipy.signal SAMPLING_RATE = 16000 MAX_LEVEL ...
by martin.novy
April 13th, 2020, 8:00 am
Forum: Other Cellular Automata
Topic: Gaussian-weighted rules now work in LifeViewer
Replies: 31
Views: 9836

Gaussian-weighted LtL rules that have natural spaceships

other possibilities : Call Python or Lua from Golly a) NewCA.lua https://conwaylife.com/forums/viewtopic.php?f=9&t=3995 b) yesterday I found out it ,that even *numpy* works from Golly, at least on my computer ( https://www.conwaylife.com/forums/search.php?keywords=numpy+golly ...
by wildmyron
December 6th, 2019, 12:46 am
Forum: Bugs & Errors
Topic: Golly not running on recent versions of Ubuntu
Replies: 7
Views: 9500

Re: Golly not running on recent versions of Ubuntu

... to run the AppImage. Here is the output from running the command: $ ./Golly-x86_64.AppImage golly: /lib/x86_64-linux-gnu/libz.so.1: version `ZLIB_1.2.9' ... install additional packages into the bundled Python environment? E.g. numpy, python-lifelib...
by Hunting
September 20th, 2018, 11:28 am
Forum: Scripts
Topic: Minimalistic Game of Life simulator in Python
Replies: 11
Views: 14416

Re: Minimalistic Game of Life simulator in Python

... I can do a much faster method (considering I don't usually use NumPy ). I will create a Golly-independent Python script (probably with wxWidgets) that will search for combinations ...
by dvgrn
September 18th, 2018, 12:15 pm
Forum: Scripts
Topic: How to install additional libraries in Python (e.g., numpy)
Replies: 18
Views: 11602

Re: How to install additional libraries in Python (e.g., numpy)

... anyway). For the record, for mutate.py I had to run pip install numpy pip install scipy pip install IPython pip install matplotlib before ... be written in Lua, just because that way it will always Just Work in Golly 3.x, with no possibility of installation headaches (Python, pip, etc.)
by dvgrn
September 18th, 2018, 10:35 am
Forum: Scripts
Topic: How to install additional libraries in Python (e.g., numpy)
Replies: 18
Views: 11602

Re: How to install additional libraries in Python (e.g., numpy)

... If mutate.py just flips a random isotropic bit, you don't need either numpy or Python to do that in Golly 3.x. There's an equivalent Lua script . Wait, there is? Yeah, it's pretty serious overkill ...
by KittyTac
September 18th, 2018, 8:11 am
Forum: Scripts
Topic: How to install additional libraries in Python (e.g., numpy)
Replies: 18
Views: 11602

Re: How to install additional libraries in Python (e.g., numpy)

... If mutate.py just flips a random isotropic bit, you don't need either numpy or Python to do that in Golly 3.x. There's an equivalent Lua script . Scripts folder. Yes. Wait, there is?
by dvgrn
September 18th, 2018, 5:18 am
Forum: Scripts
Topic: How to install additional libraries in Python (e.g., numpy)
Replies: 18
Views: 11602

Re: How to install additional libraries in Python (e.g., numpy)

... If mutate.py just flips a random isotropic bit, you don't need either numpy or Python to do that in Golly 3.x. There's an equivalent Lua script .
by Saka
September 16th, 2018, 12:30 am
Forum: Scripts
Topic: How to install additional libraries in Python (e.g., numpy)
Replies: 18
Views: 11602

Re: Golly scripts

KittyTac wrote:Can anyone tell me the solution to my problem?
Install numpy
You can do

Code: Select all

pip install numpy
(dvgrn beat me but I'll post anyway :P )
by dvgrn
September 16th, 2018, 12:28 am
Forum: Scripts
Topic: How to install additional libraries in Python (e.g., numpy)
Replies: 18
Views: 11602

Re: Golly scripts

Can anyone tell me the solution to my problem? The numpy libraries aren't installed by default -- you have to download them , one way or another. Depends on your operating system . If it's Windows, I think I'd recommend that you try installing it ...
by Gustavo6046
September 14th, 2018, 9:16 pm
Forum: Scripts
Topic: Minimalistic Game of Life simulator in Python
Replies: 11
Views: 14416

Re: Minimalistic Game of Life simulator in Python

... I can do a much faster method (considering I don't usually use NumPy ). I will create a Golly-independent Python script (probably with wxWidgets) that will search for combinations ...
by Apple Bottom
July 28th, 2016, 5:55 am
Forum: Website Discussion
Topic: Scatter plot for still lifes (R help needed)
Replies: 7
Views: 12122

Re: Scatter plot for still lifes (R help needed)

... line 805, in include_dirs_hook import numpy File "/usr/lib/python3.4/site-packages/numpy/__init__.py", line 170, ... either for 3.5 or the older 2.7 I still have installed for use with Golly. So currently I'm downloading an 800 MiB bundle called Python(x, y) ...