Resources:
[1] Url to QR code https://www.the-qrcode-generator.com
[2] Text to QR code https://goqr.me
Software Developer, Programming, Web resources and entertaiment. Desarrollo de software, programación, recursos web y entretenimiento.
Resources:
[1] Url to QR code https://www.the-qrcode-generator.com
[2] Text to QR code https://goqr.me
[1] Correntes de retorno https://www.youtube.com/watch?v=yKvDOzvjApE
[2] Rip Current https://www.youtube.com/watch?v=RJ4hcaJ91TY
[3] Paper 2021 https://arxiv.org/pdf/2102.02902.pdf
def save2grid(filename,volume,dimx,dimy,dimz): with open(filename, "wb") as file: for i in range(dimx): for j in range(dimy): for k in range(dimz): f = (volume[i][j][k]*255).astype(np.uint8) #numpy.uint8 #print(type(f)) b = struct.pack('B', f) #was f file.write(b) def save2gridfast(filename,volume,dimx,dimy,dimz): flat=volume.reshape((dimx*dimy*dimz)) flat=(flat*255).astype(np.uint8) with open(filename, "wb") as file: b = struct.pack('%sB' % len(flat), *flat) file.write(b)
Python version for floats
def save2grid(filename,volume,dimx,dimy,dimz): with open(filename, "wb") as file: for i in range(dimx): for j in range(dimy): for k in range(dimz): f = volume[i][j][k] #[3.14, 2.7, 0.0, -1.0, 1.1] b = struct.pack('f', f) file.write(b) def save2grid2(filename,volume,dimx,dimy,dimz): flat=volume.reshape((dimx*dimy*dimz)) with open(filename, "wb") as file: for i in range(dimx*dimy*dimz): f = flat[i] b = struct.pack('f', f) file.write(b) def save2grid3(filename,volume,dimx,dimy,dimz): flat=volume.reshape((dimx*dimy*dimz)) with open(filename, "wb") as file: b = struct.pack('%sf' % len(flat), *flat) #b = struct.pack('f', f) file.write(b)
To review
[1] https://machinelearningmastery.com/how-to-develop-lstm-models-for-time-series-forecasting/
[2] https://www.tensorflow.org/tutorials/structured_data/time_series
[3] https://analyticsindiamag.com/tutorial-on-univariate-single-step-style-lstm-in-time-series-forecasting/
[4] https://towardsdatascience.com/multivariate-time-series-forecasting-with-transformers-384dc6ce989b
[1] Diario/Seq https://apps.odoo.com/apps/modules/17.0/sequence_for_journal