{"id":328896,"date":"2022-02-01T09:00:34","date_gmt":"2022-02-01T09:00:34","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=328896"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=328896","title":{"rendered":"<span>Python \u0438 Samila. \u0414\u0435\u043b\u0430\u0435\u043c \u043a\u0440\u0430\u0441\u0438\u0432\u043e<\/span>"},"content":{"rendered":"<div><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/57a\/436\/85c\/57a43685c12fcba3e63fb2ae58fbf7b6.jpg\" width=\"780\" height=\"440\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/57a\/436\/85c\/57a43685c12fcba3e63fb2ae58fbf7b6.jpg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p>  \u0421\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435:<\/p>\n<ul>\n<li>\n<p>  \u0412\u0432\u0435\u0434\u0435\u043d\u0438\u0435<\/p>\n<\/li>\n<li>\n<p>  \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 | \u0417\u0430\u043f\u0443\u0441\u043a \u0431\u0435\u0437 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438   <\/p>\n<\/li>\n<li>\n<p>  \u0420\u0430\u0431\u043e\u0442\u0430 \u0441 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u043e\u0439 Samila   <\/p>\n<\/li>\n<li>\n<p>  \u041f\u043e\u043b\u0435\u0437\u043d\u044b\u0435 \u0441\u0441\u044b\u043b\u043a\u0438   <\/p>\n<\/li>\n<\/ul>\n<h3>\u0412\u0432\u0435\u0434\u0435\u043d\u0438\u0435   <\/h3>\n<p>  <a href=\"https:\/\/github.com\/sepandhaghighi\/samila\" rel=\"noopener noreferrer nofollow\">Samila<\/a> &#8212; \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0433\u0435\u043d\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u043e\u0433\u043e \u0438\u0441\u043a\u0443\u0441\u0441\u0442\u0432\u0430, \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u0430\u044f \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f Python. \u0412 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 Samila \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u0442\u0430\u0442\u0438\u0447\u043d\u044b\u0435 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f. \u041f\u043e \u0437\u0430\u0432\u0435\u0440\u0435\u043d\u0438\u044e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432, \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u0438 \u043f\u043e\u044f\u0432\u0438\u0442\u0441\u044f \u0432 \u0431\u043b\u0438\u0436\u0430\u0439\u0448\u0435\u0435 \u0432\u0440\u0435\u043c\u044f.   <\/p>\n<p>  \u0412 \u043e\u0441\u043d\u043e\u0432\u0435 \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c\u0430 \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 Samila \u043b\u0435\u0436\u0438\u0442 \u0438\u0434\u0435\u044f \u043e \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u0438 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0430 \u043a\u0432\u0430\u0434\u0440\u0430\u0442\u043d\u043e\u0439 \u0444\u043e\u0440\u043c\u044b, \u0438\u0437 \u0414\u0435\u043a\u0430\u0440\u0442\u043e\u0432\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442, \u0432 \u043b\u044e\u0431\u0443\u044e \u0438\u043d\u0443\u044e \u0441\u0438\u0441\u0442\u0435\u043c\u0443, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0442\u0430\u043a\u0443\u044e \u043a\u0430\u043a \u041f\u043e\u043b\u044f\u0440\u043d\u0430\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442. Samila \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f, \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u043d\u0430 \u0442\u044b\u0441\u044f\u0447\u0430\u0445 \u0442\u043e\u0447\u0435\u043a. \u041f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043a\u0430\u0436\u0434\u043e\u0439 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0439 \u0442\u043e\u0447\u043a\u0438 \u0440\u0430\u0441\u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u043e \u0444\u043e\u0440\u043c\u0443\u043b\u0435 \u0441\u043e \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u043c\u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438. \u0418\u0437-\u0437\u0430 \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b \u043a\u0430\u0436\u0434\u043e\u0435 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043f\u043e-\u0440\u0430\u0437\u043d\u043e\u043c\u0443.   <\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/cf5\/9da\/52a\/cf59da52ad36248e4b9a3962fe50e90a.jpg\" width=\"780\" height=\"440\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/cf5\/9da\/52a\/cf59da52ad36248e4b9a3962fe50e90a.jpg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<h3>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 | \u0417\u0430\u043f\u0443\u0441\u043a \u0431\u0435\u0437 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438   <\/h3>\n<p>  \u0414\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b Samila \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u0430 \u0432\u0435\u0440\u0441\u0438\u044f Python \u043d\u0435 \u043d\u0438\u0436\u0435 3.5.   <\/p>\n<p>  \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438:   <\/p>\n<pre><code class=\"python\">pip install samila<\/code><\/pre>\n<p>  \u0417\u0430\u043f\u0443\u0441\u043a \u0431\u0435\u0437 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438:   <\/p>\n<p>  \u041f\u043e\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u043e\u0439 \u043c\u043e\u0436\u043d\u043e \u0438 \u0431\u0435\u0437 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u043d\u0430 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0439 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432 Google Colab. \u042f \u043d\u0430\u043a\u0438\u0434\u0430\u043b \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432, \u0432\u043e\u0442 \u043f\u043e <a href=\"https:\/\/colab.research.google.com\/drive\/1jWOlk001JPHLLsSxXpndftZlZSg38OC-?usp=sharing\" rel=\"noopener noreferrer nofollow\">\u044d\u0442\u043e\u0439<\/a> \u0441\u0441\u044b\u043b\u043a\u0435. \u041f\u0440\u0438 \u0436\u0435\u043b\u0430\u043d\u0438\u0438 \u043c\u043e\u0436\u043d\u043e \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0435\u0431\u0435(\u043a\u043d\u043e\u043f\u043a\u0430 &#171;Copy to Drive&#187;, \u0435\u0441\u043b\u0438 \u0432\u044b \u0437\u0430\u043b\u043e\u0433\u0438\u043d\u0435\u043d\u044b \u043f\u043e\u0434 \u0441\u0432\u043e\u0438\u043c Google \u0430\u043a\u043a\u0430\u0443\u043d\u0442\u043e\u043c).   <\/p>\n<h3>\u0420\u0430\u0431\u043e\u0442\u0430 \u0441 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u043e\u0439 Samila   <\/h3>\n<p>  \u0411\u044b\u0441\u0442\u0440\u044b\u0439 \u0441\u0442\u0430\u0440\u0442. \u0413\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044f \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u043e\u0433\u043e \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0431\u0435\u0437 \u043a\u0430\u043a\u0438\u0445-\u043b\u0438\u0431\u043e \u0432\u0445\u043e\u0434\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445:   <\/p>\n<pre><code class=\"python\">import matplotlib.pyplot as plt from samila import GenerativeImage   g = GenerativeImage() g.generate() g.plot() plt.show()<\/code><\/pre>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/e90\/0e9\/08d\/e900e908d93a230467db095e43c740d8.jpg\" width=\"780\" height=\"440\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/e90\/0e9\/08d\/e900e908d93a230467db095e43c740d8.jpg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p>  \u0421 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435\u043c \u0432 PNG:   <\/p>\n<pre><code class=\"python\">from samila import GenerativeImage   g = GenerativeImage() g.generate() g.plot() g.save_image(file_adr=\"test.png\")<\/code><\/pre>\n<p>  \u0415\u0441\u043b\u0438 \u043d\u0443\u0436\u043d\u043e \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0437\u0430\u0434\u0430\u043d\u043d\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u0445 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0439, \u0447\u0442\u043e\u0431\u044b \u0431\u044b\u043b\u043e \u0438\u0437 \u0447\u0435\u0433\u043e \u0432\u044b\u0431\u0440\u0430\u0442\u044c:   <\/p>\n<pre><code class=\"python\">from samila import GenerativeImage   for i in range(10):     g = GenerativeImage()     g.generate()     g.plot()     img_name = str(i+1) + \"_test.png\"     g.save_image(file_adr=img_name)<\/code><\/pre>\n<p>  \u041e\u0441\u043d\u043e\u0432\u0430 \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043a\u0440\u0430\u0441\u0438\u0432\u044b\u0445 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0439. \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0443\u0441\u043b\u043e\u0432\u0438\u0439:   <\/p>\n<pre><code class=\"python\">import matplotlib.pyplot as plt from samila import GenerativeImage import random import math   def f1(x, y):     result = random.uniform(-1,1) * x**2  - math.sin(y**2) + abs(y-x)     return result   def f2(x, y):     result = random.uniform(-1,1) * y**3 - math.cos(x**2) + 2*x     return result   g = GenerativeImage(f1, f2) g.generate() g.plot() plt.show()<\/code><\/pre>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/afe\/ea6\/79c\/afeea679c84bea62cd86acb439559050.jpg\" width=\"780\" height=\"440\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/afe\/ea6\/79c\/afeea679c84bea62cd86acb439559050.jpg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p>  \u041f\u0440\u043e\u0435\u043a\u0446\u0438\u044f:   <\/p>\n<pre><code class=\"python\">import matplotlib.pyplot as plt from samila import GenerativeImage import random import math from samila import Projection   def f1(x, y):     result = random.uniform(-1,1) * x**2  - math.sin(y**2) + abs(y-x)     return result   def f2(x, y):     result = random.uniform(-1,1) * y**3 - math.cos(x**2) + 2*x     return result   g = GenerativeImage(f1, f2) g.generate() g.plot(projection=Projection.POLAR) plt.show()<\/code><\/pre>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/c4e\/401\/aa7\/c4e401aa7efd7b6e0fa2a7b9a64c5bc8.jpg\" width=\"780\" height=\"440\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/c4e\/401\/aa7\/c4e401aa7efd7b6e0fa2a7b9a64c5bc8.jpg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p>  \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0432\u0438\u0434 \u043f\u0440\u043e\u0435\u043a\u0446\u0438\u0438(projection): RECTILINEAR   <\/p>\n<p>  \u041f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043c\u044b\u0435 \u0432\u0438\u0434\u044b \u043f\u0440\u043e\u0435\u043a\u0446\u0438\u0439: RECTILINEAR, POLAR, AITOFF, HAMMER, LAMBERT \u0438 MOLLWEIDE:<\/p>\n<figure class=\"full-width\"><img decoding=\"async\" src=\"\/img\/image-loader.svg\" height=\"440\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/a3f\/e83\/b5e\/a3fe83b5e3ced106385c4886aff91e7a.gif\" data-width=\"780\"\/><figcaption><\/figcaption><\/figure>\n<p>  \u0414\u0438\u0430\u043f\u0430\u0437\u043e\u043d:   <\/p>\n<pre><code class=\"python\">import matplotlib.pyplot as plt from samila import GenerativeImage import random import math from samila import Projection   def f1(x, y):     result = random.uniform(-1,1) * x**2  - math.sin(y**2) + abs(y-x)     return result   def f2(x, y):     result = random.uniform(-1,1) * y**3 - math.cos(x**2) + 2*x     return result   g = GenerativeImage(f1, f2) g.generate(start=-2*math.pi, step=0.01, stop=0) g.plot() plt.show()<\/code><\/pre>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/e6e\/711\/736\/e6e711736bbaa68f0aed90e6891e8067.jpg\" width=\"780\" height=\"440\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/e6e\/711\/736\/e6e711736bbaa68f0aed90e6891e8067.jpg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p>  \u0426\u0432\u0435\u0442:   <\/p>\n<pre><code class=\"python\">import matplotlib.pyplot as plt from samila import GenerativeImage import random import math from samila import Projection   def f1(x, y):     result = random.uniform(-1,1) * x**2  - math.sin(y**2) + abs(y-x)     return result   def f2(x, y):     result = random.uniform(-1,1) * y**3 - math.cos(x**2) + 2*x     return result   g = GenerativeImage(f1, f2) g.generate() g.plot(color=\"yellow\", bgcolor=\"black\", projection=Projection.POLAR) plt.show()<\/code><\/pre>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/2c6\/174\/b13\/2c6174b135abfdef059280e0b864ca95.jpg\" width=\"780\" height=\"440\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/2c6\/174\/b13\/2c6174b135abfdef059280e0b864ca95.jpg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0420\u0435\u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044f(\u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 seed):<\/p>\n<pre><code class=\"python\">import matplotlib.pyplot as plt from samila import GenerativeImage import random import math from samila import Projection   def f1(x, y):     result = random.gauss(0, 1) * math.sin(y)+ (x + y) * random.uniform(-1, 1)     return result   def f2(x, y):     result = random.uniform(-1, 1) * y * x + math.cos(x ** 2) + random.gauss(0, 1)     return result   g = GenerativeImage(f1, f2) g.generate(seed=300) g.plot(color=\"red\", bgcolor=\"black\", projection=Projection.POLAR) plt.show()<\/code><\/pre>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/3b0\/e34\/2da\/3b0e342da58a86e58f9099ca103a7256.jpg\" width=\"780\" height=\"440\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/3b0\/e34\/2da\/3b0e342da58a86e58f9099ca103a7256.jpg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p>  \u041f\u043e\u043c\u0438\u043c\u043e \u0432\u0441\u0435\u0433\u043e \u0432\u044b\u0448\u0435\u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u043d\u043e\u0433\u043e, Samila \u0442\u0430\u043a\u0436\u0435 \u0443\u043c\u0435\u0435\u0442:   <\/p>\n<ul>\n<li>\n<p>  \u0421\u043e\u0445\u0440\u0430\u043d\u044f\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u043e \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0445 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f\u0445 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 JSON   <\/p>\n<\/li>\n<li>\n<p>  \u0412\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u044c \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u0440\u0430\u043d\u0435\u0435 \u0441\u043e\u0445\u0440\u0430\u043d\u0451\u043d\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445   <\/p>\n<\/li>\n<li>\n<p>  \u0421\u043e\u0445\u0440\u0430\u043d\u044f\u0442\u044c \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0432 \u0431\u043e\u043b\u0435\u0435 \u0432\u044b\u0441\u043e\u043a\u043e\u043c \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u0438   <\/p>\n<\/li>\n<li>\n<p>  \u0417\u0430\u0433\u0440\u0443\u0436\u0430\u0442\u044c \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u043d\u0430\u043f\u0440\u044f\u043c\u0443\u044e \u0432 NFT.storage   <\/p>\n<\/li>\n<\/ul>\n<h3>  \u041f\u043e\u043b\u0435\u0437\u043d\u044b\u0435 \u0441\u0441\u044b\u043b\u043a\u0438<\/h3>\n<ul>\n<li>\n<p>  <a href=\"https:\/\/github.com\/sepandhaghighi\/samila\" rel=\"noopener noreferrer nofollow\">Samila Github<\/a><\/p>\n<\/li>\n<li>\n<p>  <a href=\"https:\/\/pypi.org\/project\/samila\/\" rel=\"noopener noreferrer nofollow\">Samila PyPI<\/a>      <\/p>\n<\/li>\n<li>\n<p>  <a href=\"https:\/\/discord.com\/invite\/94bz5QGZWb\" rel=\"noopener noreferrer nofollow\">Samila Discord Server<\/a>   <\/p>\n<\/li>\n<li>\n<p>  Google Colab \u0441 <a href=\"https:\/\/colab.research.google.com\/drive\/1jWOlk001JPHLLsSxXpndftZlZSg38OC-?usp=sharing\" rel=\"noopener noreferrer nofollow\">\u043f\u0440\u0438\u043c\u0435\u0440\u0430\u043c\u0438<\/a>   <\/p>\n<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"v-portal\" style=\"display:none;\"><\/div>\n<\/div>\n<p> <!----> <!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/648955\/\"> https:\/\/habr.com\/ru\/post\/648955\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>  \u0421\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435:<\/p>\n<ul>\n<li>\n<p>  \u0412\u0432\u0435\u0434\u0435\u043d\u0438\u0435<\/p>\n<\/li>\n<li>\n<p>  \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 | \u0417\u0430\u043f\u0443\u0441\u043a \u0431\u0435\u0437 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438   <\/p>\n<\/li>\n<li>\n<p>  \u0420\u0430\u0431\u043e\u0442\u0430 \u0441 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u043e\u0439 Samila   <\/p>\n<\/li>\n<li>\n<p>  \u041f\u043e\u043b\u0435\u0437\u043d\u044b\u0435 \u0441\u0441\u044b\u043b\u043a\u0438   <\/p>\n<\/li>\n<\/ul>\n<h3>\u0412\u0432\u0435\u0434\u0435\u043d\u0438\u0435   <\/h3>\n<p>  <a href=\"https:\/\/github.com\/sepandhaghighi\/samila\" rel=\"noopener noreferrer nofollow\">Samila<\/a> &#8212; \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0433\u0435\u043d\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u043e\u0433\u043e \u0438\u0441\u043a\u0443\u0441\u0441\u0442\u0432\u0430, \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u0430\u044f \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f Python. \u0412 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 Samila \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u0442\u0430\u0442\u0438\u0447\u043d\u044b\u0435 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f. \u041f\u043e \u0437\u0430\u0432\u0435\u0440\u0435\u043d\u0438\u044e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432, \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u0438 \u043f\u043e\u044f\u0432\u0438\u0442\u0441\u044f \u0432 \u0431\u043b\u0438\u0436\u0430\u0439\u0448\u0435\u0435 \u0432\u0440\u0435\u043c\u044f.   <\/p>\n<p>  \u0412 \u043e\u0441\u043d\u043e\u0432\u0435 \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c\u0430 \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 Samila \u043b\u0435\u0436\u0438\u0442 \u0438\u0434\u0435\u044f \u043e \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u0438 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0430 \u043a\u0432\u0430\u0434\u0440\u0430\u0442\u043d\u043e\u0439 \u0444\u043e\u0440\u043c\u044b, \u0438\u0437 \u0414\u0435\u043a\u0430\u0440\u0442\u043e\u0432\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442, \u0432 \u043b\u044e\u0431\u0443\u044e \u0438\u043d\u0443\u044e \u0441\u0438\u0441\u0442\u0435\u043c\u0443, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0442\u0430\u043a\u0443\u044e \u043a\u0430\u043a \u041f\u043e\u043b\u044f\u0440\u043d\u0430\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442. Samila \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f, \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u043d\u0430 \u0442\u044b\u0441\u044f\u0447\u0430\u0445 \u0442\u043e\u0447\u0435\u043a. \u041f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043a\u0430\u0436\u0434\u043e\u0439 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0439 \u0442\u043e\u0447\u043a\u0438 \u0440\u0430\u0441\u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u043e \u0444\u043e\u0440\u043c\u0443\u043b\u0435 \u0441\u043e \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u043c\u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438. \u0418\u0437-\u0437\u0430 \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b \u043a\u0430\u0436\u0434\u043e\u0435 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043f\u043e-\u0440\u0430\u0437\u043d\u043e\u043c\u0443.   <\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<h3>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 | \u0417\u0430\u043f\u0443\u0441\u043a \u0431\u0435\u0437 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438   <\/h3>\n<p>  \u0414\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b Samila \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u0430 \u0432\u0435\u0440\u0441\u0438\u044f Python \u043d\u0435 \u043d\u0438\u0436\u0435 3.5.   <\/p>\n<p>  \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438:   <\/p>\n<pre><code class=\"python\">pip install samila<\/code><\/pre>\n<p>  \u0417\u0430\u043f\u0443\u0441\u043a \u0431\u0435\u0437 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438:   <\/p>\n<p>  \u041f\u043e\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u043e\u0439 \u043c\u043e\u0436\u043d\u043e \u0438 \u0431\u0435\u0437 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u043d\u0430 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0439 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432 Google Colab. \u042f \u043d\u0430\u043a\u0438\u0434\u0430\u043b \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432, \u0432\u043e\u0442 \u043f\u043e <a href=\"https:\/\/colab.research.google.com\/drive\/1jWOlk001JPHLLsSxXpndftZlZSg38OC-?usp=sharing\" rel=\"noopener noreferrer nofollow\">\u044d\u0442\u043e\u0439<\/a> \u0441\u0441\u044b\u043b\u043a\u0435. \u041f\u0440\u0438 \u0436\u0435\u043b\u0430\u043d\u0438\u0438 \u043c\u043e\u0436\u043d\u043e \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0435\u0431\u0435(\u043a\u043d\u043e\u043f\u043a\u0430 &#171;Copy to Drive&#187;, \u0435\u0441\u043b\u0438 \u0432\u044b \u0437\u0430\u043b\u043e\u0433\u0438\u043d\u0435\u043d\u044b \u043f\u043e\u0434 \u0441\u0432\u043e\u0438\u043c Google \u0430\u043a\u043a\u0430\u0443\u043d\u0442\u043e\u043c).   <\/p>\n<h3>\u0420\u0430\u0431\u043e\u0442\u0430 \u0441 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u043e\u0439 Samila   <\/h3>\n<p>  \u0411\u044b\u0441\u0442\u0440\u044b\u0439 \u0441\u0442\u0430\u0440\u0442. \u0413\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044f \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u043e\u0433\u043e \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0431\u0435\u0437 \u043a\u0430\u043a\u0438\u0445-\u043b\u0438\u0431\u043e \u0432\u0445\u043e\u0434\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445:   <\/p>\n<pre><code class=\"python\">import matplotlib.pyplot as plt from samila import GenerativeImage   g = GenerativeImage() g.generate() g.plot() plt.show()<\/code><\/pre>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>  \u0421 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435\u043c \u0432 PNG:   <\/p>\n<pre><code class=\"python\">from samila import GenerativeImage   g = GenerativeImage() g.generate() g.plot() g.save_image(file_adr=\"test.png\")<\/code><\/pre>\n<p>  \u0415\u0441\u043b\u0438 \u043d\u0443\u0436\u043d\u043e \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0437\u0430\u0434\u0430\u043d\u043d\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u0445 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0439, \u0447\u0442\u043e\u0431\u044b \u0431\u044b\u043b\u043e \u0438\u0437 \u0447\u0435\u0433\u043e \u0432\u044b\u0431\u0440\u0430\u0442\u044c:   <\/p>\n<pre><code class=\"python\">from samila import GenerativeImage   for i in range(10):     g = GenerativeImage()     g.generate()     g.plot()     img_name = str(i+1) + \"_test.png\"     g.save_image(file_adr=img_name)<\/code><\/pre>\n<p>  \u041e\u0441\u043d\u043e\u0432\u0430 \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043a\u0440\u0430\u0441\u0438\u0432\u044b\u0445 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0439. \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0443\u0441\u043b\u043e\u0432\u0438\u0439:   <\/p>\n<pre><code class=\"python\">import matplotlib.pyplot as plt from samila import GenerativeImage import random import math   def f1(x, y):     result = random.uniform(-1,1) * x**2  - math.sin(y**2) + abs(y-x)     return result   def f2(x, y):     result = random.uniform(-1,1) * y**3 - math.cos(x**2) + 2*x     return result   g = GenerativeImage(f1, f2) g.generate() g.plot() plt.show()<\/code><\/pre>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>  \u041f\u0440\u043e\u0435\u043a\u0446\u0438\u044f:   <\/p>\n<pre><code class=\"python\">import matplotlib.pyplot as plt from samila import GenerativeImage import random import math from samila import Projection   def f1(x, y):     result = random.uniform(-1,1) * x**2  - math.sin(y**2) + abs(y-x)     return result   def f2(x, y):     result = random.uniform(-1,1) * y**3 - math.cos(x**2) + 2*x     return result   g = GenerativeImage(f1, f2) g.generate() g.plot(projection=Projection.POLAR) plt.show()<\/code><\/pre>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>  \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0432\u0438\u0434 \u043f\u0440\u043e\u0435\u043a\u0446\u0438\u0438(projection): RECTILINEAR   <\/p>\n<p>  \u041f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043c\u044b\u0435 \u0432\u0438\u0434\u044b \u043f\u0440\u043e\u0435\u043a\u0446\u0438\u0439: RECTILINEAR, POLAR, AITOFF, HAMMER, LAMBERT \u0438 MOLLWEIDE:<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>  \u0414\u0438\u0430\u043f\u0430\u0437\u043e\u043d:   <\/p>\n<pre><code class=\"python\">import matplotlib.pyplot as plt from samila import GenerativeImage import random import math from samila import Projection   def f1(x, y):     result = random.uniform(-1,1) * x**2  - math.sin(y**2) + abs(y-x)     return result   def f2(x, y):     result = random.uniform(-1,1) * y**3 - math.cos(x**2) + 2*x     return result   g = GenerativeImage(f1, f2) g.generate(start=-2*math.pi, step=0.01, stop=0) g.plot() plt.show()<\/code><\/pre>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>  \u0426\u0432\u0435\u0442:   <\/p>\n<pre><code class=\"python\">import matplotlib.pyplot as plt from samila import GenerativeImage import random import math from samila import Projection   def f1(x, y):     result = random.uniform(-1,1) * x**2  - math.sin(y**2) + abs(y-x)     return result   def f2(x, y):     result = random.uniform(-1,1) * y**3 - math.cos(x**2) + 2*x     return result   g = GenerativeImage(f1, f2) g.generate() g.plot(color=\"yellow\", bgcolor=\"black\", projection=Projection.POLAR) plt.show()<\/code><\/pre>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u0420\u0435\u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044f(\u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 seed):<\/p>\n<pre><code class=\"python\">import matplotlib.pyplot as plt from samila import GenerativeImage import random import math from samila import Projection   def f1(x, y):     result = random.gauss(0, 1) * math.sin(y)+ (x + y) * random.uniform(-1, 1)     return result   def f2(x, y):     result = random.uniform(-1, 1) * y * x + math.cos(x ** 2) + random.gauss(0, 1)     return result   g = GenerativeImage(f1, f2) g.generate(seed=300) g.plot(color=\"red\", bgcolor=\"black\", projection=Projection.POLAR) plt.show()<\/code><\/pre>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>  \u041f\u043e\u043c\u0438\u043c\u043e \u0432\u0441\u0435\u0433\u043e \u0432\u044b\u0448\u0435\u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u043d\u043e\u0433\u043e, Samila \u0442\u0430\u043a\u0436\u0435 \u0443\u043c\u0435\u0435\u0442:   <\/p>\n<ul>\n<li>\n<p>  \u0421\u043e\u0445\u0440\u0430\u043d\u044f\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u043e \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0445 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f\u0445 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 JSON   <\/p>\n<\/li>\n<li>\n<p>  \u0412\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u044c \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u0440\u0430\u043d\u0435\u0435 \u0441\u043e\u0445\u0440\u0430\u043d\u0451\u043d\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445   <\/p>\n<\/li>\n<li>\n<p>  \u0421\u043e\u0445\u0440\u0430\u043d\u044f\u0442\u044c \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0432 \u0431\u043e\u043b\u0435\u0435 \u0432\u044b\u0441\u043e\u043a\u043e\u043c \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u0438   <\/p>\n<\/li>\n<li>\n<p>  \u0417\u0430\u0433\u0440\u0443\u0436\u0430\u0442\u044c \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u043d\u0430\u043f\u0440\u044f\u043c\u0443\u044e \u0432 NFT.storage   <\/p>\n<\/li>\n<\/ul>\n<h3>  \u041f\u043e\u043b\u0435\u0437\u043d\u044b\u0435 \u0441\u0441\u044b\u043b\u043a\u0438<\/h3>\n<ul>\n<li>\n<p>  <a href=\"https:\/\/github.com\/sepandhaghighi\/samila\" rel=\"noopener noreferrer nofollow\">Samila Github<\/a><\/p>\n<\/li>\n<li>\n<p>  <a href=\"https:\/\/pypi.org\/project\/samila\/\" rel=\"noopener noreferrer nofollow\">Samila PyPI<\/a>      <\/p>\n<\/li>\n<li>\n<p>  <a href=\"https:\/\/discord.com\/invite\/94bz5QGZWb\" rel=\"noopener noreferrer nofollow\">Samila Discord Server<\/a>   <\/p>\n<\/li>\n<li>\n<p>  Google Colab \u0441 <a href=\"https:\/\/colab.research.google.com\/drive\/1jWOlk001JPHLLsSxXpndftZlZSg38OC-?usp=sharing\" rel=\"noopener noreferrer nofollow\">\u043f\u0440\u0438\u043c\u0435\u0440\u0430\u043c\u0438<\/a>   <\/p>\n<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"v-portal\" style=\"display:none;\"><\/div>\n<\/div>\n<p> <!----> <!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/648955\/\"> https:\/\/habr.com\/ru\/post\/648955\/<\/a><br \/><\/br><\/br><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-328896","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/328896","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=328896"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/328896\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=328896"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=328896"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=328896"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}