Sepand Haghighi
3c0144d045
New `GenerateMode` ( #222 )
...
* fix : f1,f2 renamed to f1_vs_index and f2_vs_index
* feat : 2 new generate mode added
* fix : overall_test.py updated
* doc : README.md updated
* fix : minor typo in overall_test.py fixed
* fix : minor edit in generate method
2024-08-22 16:56:09 -07:00
Sepand Haghighi
e895b97bf7
Generate mode ( #219 )
...
* feat : GenerateMode enum added
* feat : mode added to generate method
* fix : _GI_initializer updated
* fix : generate_params_filter function updated
* fix : __init__.py updated
* fix : minor bug in generate method fixed
* fix : generate_params_filter function updated
* fix : minor bug in generate method fixed
* update : readme updated.
* update : save/load config functions update accordingly.
* test : a test for generation_mode added.
* log : changes logged.
* test : more tests added.
* doc : minor edit in generate mode section in README.md
* fix : autopep8
* doc : generate_mode example updated
---------
Co-authored-by: Sadra Sabouri <sabouri.sadra@gmail.com>
2024-08-14 17:11:51 -07:00
Sepand Haghighi
874b99b64c
Random mode modification ( #213 )
...
* fix : RANDOM_EQUATION_FOF_MAX_DEPTH set to 2
* fix : ELEMENTS_LIST updated
* doc : CHANGELOG.md updated
* fix : minor edit in overall_test.py (numpy update)
2024-06-19 00:10:38 -07:00
Sadra Sabouri
6a744487f3
`func_seed` added ( #201 )
...
* add : `func_seed` added to GenerativeImage.__init__
* add : "
* log : changes logged.
* readme : readme updated.
* fix : random seed problem fixed.
2023-12-05 19:35:57 +03:30
Sadra Sabouri
ad05ef464d
Minor edit ( #193 )
...
* fix : different ways of matplotlib import unified.
* edit : test system optimized.
* edit : Install section modified.
* fix : doctest issues fixed.
* fix : usecases of `matplotlib` unified.
* pep8 : autpep8ed.
* fix : usecases of `matplotlib` unified.
* delete : `Test with pytest` is now in all Python versions.
2023-05-09 17:21:49 +03:30
Sadra Sabouri
2a98624138
Samila version added for reproducibility ( #184 )
...
* change : micro version is no longer saved.
* add : `__version__` attribute for Samila version. (#171 )
* fix : minor mistake in CHANGELOG.md.
* update : `VERSION_WARNING` updated.
2023-03-31 17:37:17 +03:30
Sadra Sabouri
a54a5107a5
Rotation Added ( #177 )
...
* rotate : [INIT]
* edit : docstring edited.
* add : `rotate` function added.
* edit : docstring edited.
* add : `rotate` added to config and data files.
* log : changes logged.
* update : document updated.
* test : tests added (#176 )
* add : `PIL` added to dependecies.
* fix : typo fixed in `requirements.txt`.
* remove : extra import in `genimage.py` removed.
* add : version for Pillow.
---------
Co-authored-by: sepandhaghighi <sepand.haghighi@yahoo.com>
2023-03-26 18:30:40 +03:30
Sadra Sabouri
a9e23235b2
Reproducibility Feature by Adding `python_version` ( #172 )
...
* add : `python_version` added.
* test : tests added.
* log : changes logged. (#171 )
* fix : minor issues fixed.
* test : new test added for python version.
* fix : typo fixed in `genimage.py`.
* update : tests updated.
2023-01-06 10:36:21 +03:30
Sepand Haghighi
b8967acc28
Generate method optimization ( #163 )
...
* fix : generate method optimized
* doc : CHANGELOG updated
* fix : missed_points_number added
* doc : CHANGELOG updated
* fix : tests updated
2022-11-10 17:52:52 +03:30
Sepand Haghighi
5be1cc35fc
Minor edits ( #161 )
...
* fix : tests updated
* fix : tests updated
* fix : tests updated
* doc : minor edit in description
2022-11-08 08:22:13 +03:30
Sadra Sabouri
27317de6c8
Marker Added ( #159 )
...
* add : `Marker` enum added. (#156 )
* add : `marker` parameter added. (#156 )
* log : changes logged. (#156 )
* add : RANDOM marker added.
* change : minor change in docstring.
* add : `Marker` added to `__init__`.
* update : documents updated.
* test : tests added.
* edit : minor bugs fixed in tests.
* fix : minor typo fixed in demo.
2022-11-06 01:46:28 +03:30
Sepand Haghighi
a7a1ae56ee
Error handling ( #151 )
...
* fix : load_config function updated
* fix : load_data function updated
* fix : tests updated
* fix : tests updated
* fix : new tests added
* doc : CHANGELOG updated
2022-09-15 13:52:24 +04:30
Sadra Sabouri
d67d69c9dd
Point Colors 🌈 ( #143 )
...
* add : `DEFAULT_CMAP` added.
* add : `filter_cmap` added.
* edit : `cmap` added to proper functions accordingly.
* add : `cmap` added to the realted methods.
* log : changes logged. (#75 )
* add : `c` added to `plot`, now list of colors are supported.
* add : `cmap` added to save and load (config and data).
* fix : minor bug related to cmap always being `DEFAULT_CMAP` fixed.
* change : minor change in `filter_cmap`.
* fix : `str` type cmap suuport added.
* add : serializing the cmap.
* fix : `Colormap` issue fixed.
* change : `DEFAULT_CMAP`: `viridis` --> `cm.get_cmap("viridis", 256)`.
* fix : minor bugs fixed.
* edit : changes are no applied on all entries of a `cmap.colors`.
* add : minor tests added.
* edit : minor edits in tests.
* fix : minor issues in tests fixed.
* add : `_serialize_color` function.
* test : add few tests.
* fix : trailing whitespace fixed.
* test : a test added.
* edit : minor edit in `filter_cmap`.
* remove : `c` parameter removed.
* fix : minor typo fixed.
2022-08-28 00:27:20 +04:30
Sadra Sabouri
819792d832
Warnings ( #135 )
...
* add : BOTH_COLOR_COMPLEMENT_WARNING added.
* add : INVALID_COLOR_TYPE_ERROR added. (#134 )
* add : COLOR_NOT_FOUND_WARNING added. (#134 )
* cahnge : INVALID_COLOR_TYPE_ERROR -> INVALID_COLOR_TYPE_WARNING.
* change : warning -> error.
* test : tests added.
* fix : minor typo in error message fixed.
* edit : INVALID_COLOR_TYPE_ERROR edited.
* edit : BOTH_COLOR_COMPLEMENT_WARNING edited.
2022-05-28 16:24:18 +04:30
Sadra Sabouri
fd80f431ef
Transparent Feature Added ( #133 )
...
* add : set_background function usage added to `genimage.py`.
* add : `set_background` function added.
* log : changes logged. (#118 )
* test : some tests added.
* fix : minor typo in tests fixed.
* add : transparent added to documents.
* update : CHANGELOG.md updated.
* fix : minor typo fixed.
* edit : Transparent description added.
* edit : make `Transparent` bold.
2022-05-20 02:19:51 +04:30
Sepand Haghighi
6007ab4c16
fix : set hex color format to lowercase ( #132 )
2022-05-18 00:53:25 +04:30
Sepand Haghighi
df9cf76f34
Complement color ( #131 )
...
* feat : is_valid_color function added #122
* fix : filter_color function updated #122
* feat : color_complement function added
* fix : filter_color function updated #122
* fix : autopep8 #122
* fix : tests updated #122
* fix : tests updated #131
* fix : docstring updated #131
* fix : minor edit in tests #131
* fix : tests updated #131
* fix : minor edit in tests #131
* fix : minor edit in tests #131
* fix : minor edit in tests #131
* doc : README updated #131
* doc : CHANGELOG updated #131
* doc : docstring updated #131
2022-05-17 17:54:04 +04:30
Sepand Haghighi
e0cc52f74c
Update test ( #126 )
...
* fix : test updated
* fix : is_same_data function bug fixed
* fix : test updated
* doc : CHANGELOG updated
* fix : minor edit in test
* fix : minor edit in test spaces
2022-05-01 12:24:10 +04:30
Sepand Haghighi
7444b9bd90
Random mode ( #124 )
...
* feat : random mode added to Projection #88
* feat : random mode added to color and bgcolor #88
* fix : tests updated #88
* fix : tests updated #88
* fix : tests updated #88
* fix : autopep8 #88
* doc : CHANGELOG updated #88
* doc : README updated #88
* fix : tests updated #124
2022-04-26 17:36:19 +04:30
sepandhaghighi
d298cf0a56
fix : test updated
2022-04-20 13:33:14 +04:30
Sadra Sabouri
b6558c5cd7
Html colors support ( #117 )
...
* add : HEX_COLOR_PATTERN added.
* edit : filter_color edited so that hex color is supported now.
* log : changes logged. (#116 )
* test : test added.
2022-04-20 12:55:33 +04:30
Sepand Haghighi
841862f8da
Test update ( #114 )
...
* fix : minor edit in tests
* doc : CHANGELOG updated
2022-04-16 09:15:22 +04:30
Sadra Sabouri
24cec90e9e
Link and Path fields added ( #109 )
...
* add : link added to nft_storage_upload result. (#99 )
* tests : tests added.
* add : path added to the `save_fig/config/data_file` functions. (#99 )
* edit : minor edit in CHANGELOG.md.
* test : tests added accordingly.
* edit : link/path added to message field.
* fix : minor typo fixed.
* edit : minor edits.
2022-04-06 15:36:45 +04:30
Sepand Haghighi
5d3a0a11bb
Minor edits ( #98 )
...
* fix : alpha added to save_config and save_data
* fix : alpha added to load_config and load_data
* doc : docstring updated
* doc : CHANGELOG updated
* fix : autopep8
* doc : AUTHORS.md updated
* fix : overall_test.py updated
* doc : AUTHORS.md updated
2022-02-04 21:56:03 +03:30
Sadra Sabouri
843ab6684b
Minor Edits Added ( #82 )
...
* fix : point colors bug fixed. (74)
* fix : bug fixed in *filter_params.
* add : plot configs added to save and load data.
* test : minor tests added.
* fix : minor fixes in plot and generate.
* change : minor changes in CHANGELOG.md.
2022-01-06 00:41:33 +03:30
Sadra Sabouri
78f4c9a4d0
Config json Added ( #80 )
...
* fix : typo fixed in docstring.
* unifx : never mind :).
* remove : extra lines removed from Magic section.
* add : samilaConfigError added.
* edit : DEFAULT_PROJECTION edited.
* add : CONFIG_TYPE_ERROR added.
* add : filter_float function added.
* add : save_config_file function added.
* add : load_config function added.
* add : minor imports addded to functions.py.
* add : some imports added to genimage.py.
* fix : whitespace removed.
* add : config parameter added.
* add : save_config method added.
* edit : minor edits in genimage.py.
* edit : minor edits in save/load config.
* edit: minor edits in save/load config.
* add : filter_size added to functions.
* update : minor updated due to last change.
* edit : minor edit in filter_size.
* add : plot_params_filter function added.
* add : generate_params_filter added.
* remove : unneccessary errors and warnings removed.
* update : GenerativeImage __init__ updated due to last commit.
* add : _GI_initializer added.
* edit : make load_data structure similar to load_config.
* fix : typo fixed in functions.
* test : some tests added.
* test : tests added for warning.
* fix : minor bug fixed.
* add : filter_size tests added.
* add : error tests added.
* add : save_config part added.
* fix : typo fixed.
* tests : minor tests added.
* move : function[12]_str moved to __init__ root.
* fix : typo fixed in errors.py.
* fix : typo fixed in README.md.
* fix : typo fixed in CHANGELOG.md.
* add : matplotlib_version attribute added.
* add : samilaPlotError added.
* add : PLOT_DATA_ERROR added.
* update : minor updates due to latest changes.
* remove : extra tests removed.
* edit : PLOT_DATA_ERROR edited.
* test : tests added.
* edit : minor edits in save_config/data.
* add : new error messages added.
* test : tests added.
* fix : typo fixed.
* replace : DATA_NO_DATA_ERROR -> SAVE_NO_DATA_ERROR.
* edit : minor edits in plot_params_filter function.
* add : two parameter added.
* edit : __init__ docstring edited.
* fix : typo fixed in genimage.
* fix : typo fixed in params.py.
* fix : typo fixed in tests.
* fix : typo fixed in CHANGELOG.md.
2022-01-04 18:54:12 +03:30
sadrasabouri
855f3b7933
test : new tests added.
2021-10-30 10:01:13 +03:30
sadrasabouri
648bef06b5
test : tests added.
2021-10-29 18:34:31 +03:30
sadrasabouri
c4a62f5463
fix : test fixed.
2021-10-26 00:36:17 +03:30
sadrasabouri
af2f49b7f0
test : save_data error form added.
2021-10-26 00:31:52 +03:30
sadrasabouri
c80fa5aa2d
test : tests added.
2021-10-15 18:45:42 +03:30
sepandhaghighi
1aaae77ddf
fix : tests updated #53
2021-10-12 20:10:19 +03:30
sepandhaghighi
d8af6e02d1
fix : tests updated #53
2021-10-12 20:07:23 +03:30