Suljettu

Tweak an existing Python script to include a sliding window for the data and plot image save function for a sequence of images

This is for an animation project and I already have the core of the script (see attached).

I imagine it’s a very quick job for someone who knows what they’re doing.

I’ve been playing around with this script which is used to generate ulam spirals based on the distribution of primes. I’ve already stripped out the prime generating part as I don’t need that and edited it to populate the squares of the spiral in a sequence of my choosing. In this case I paste in the positions on the spiral where I want them to be black. eg. position 2,5,7,23,45, etc. from the middle out. That works but I need it to be more dynamic. In this configuration I have to run the script manually each time to generate a new image and it’s very slow.

What I really need is to run a binary sequence through it of zeros or ones. Using a csv with a single column of ones and zeros as the source. One making a black square and zero a white one.

Is there a way to edit the script so that it has a sliding window of the spiral size (in this example script case of 361 squares), then creates image saved as "[login to view URL]", then loops to beginning deletes first number in sequence and generates image for that next 361 in the sequence and saves it as "[login to view URL]". And so on until the entire sequence has been run through…

Taidot: Python

Näytä lisää: matplotlib save figure, matplotlib examples, matplotlib savefig size, save 3d plot python, output graph python, matplotlib multiple figures, python basemap save to file, pandas save plot, python script extract data web page, python script crape data, python script read url data, python script extract data, python script read data text file, python script extract data website, python script data extraction csv, python script extract web data, python script data website, python script data site, python script modify file data, python script download historical data yahoo

Tietoa työnantajasta:
( 7 arvostelua ) Moncrabeau, France

Projektin tunnus: #17825030

4 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön

shivampanchal

I have a good hands on working with Advanced R and Python and BI tools and technologies, AI, Big Data. I have quite a good knowledge of DL/ML Algorithm , have also developed Dashboards and Web Applications using flask/ Lisää

$150 USD 1 päivässä
(20 arvostelua)
5.6
DarkKnight2206

Hello! I am a python developer. I looked at your project and it seems interesting. I have all necessary skills required for this project. Ping me to discuss in detail.

$20 USD 2 päivässä
(22 arvostelua)
5.0
sakhawat2

Hi, I've been playing with the code you have posted. I do have a few questions. If you could please take some of your time to answer them, they'd help me greatly. 1. The program can easily read the 0 and 1's Lisää

$21 USD 1 päivässä
(1 arvostelu)
3.1
ankushagarwal87

Hi I am interested in working on your project with you. I have good experience in python & can help you on it. We can discuss more on it over chat.

$45 USD 2 päivässä
(0 arvostelua)
0.0