diff --git a/sbmy_control.egg-info/PKG-INFO b/sbmy_control.egg-info/PKG-INFO new file mode 100644 index 0000000..f3ef9c4 --- /dev/null +++ b/sbmy_control.egg-info/PKG-INFO @@ -0,0 +1,35 @@ +Metadata-Version: 2.4 +Name: sbmy_control +Version: 0.1.0 +Summary: Simbelmyne control package +Home-page: https://git.aquila-consortium.org/maubin/sbmy_control +Author: Mayeul Aubin +Author-email: mayeul.aubin@iap.fr +License: GPL-3.0 +Classifier: Development Status :: 3 - Alpha +Classifier: Intended Audience :: Science/Research +Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3) +Classifier: Programming Language :: Python :: 3 +Classifier: Programming Language :: Python :: 3.8 +Classifier: Programming Language :: Python :: 3.9 +Classifier: Programming Language :: Python :: 3.10 +Classifier: Programming Language :: Python :: 3.11 +Requires-Python: >=3.8 +Description-Content-Type: text/markdown +Requires-Dist: pysbmy +Requires-Dist: numpy +Requires-Dist: matplotlib +Requires-Dist: h5py +Requires-Dist: tqdm +Dynamic: author +Dynamic: author-email +Dynamic: classifier +Dynamic: description +Dynamic: description-content-type +Dynamic: home-page +Dynamic: license +Dynamic: requires-dist +Dynamic: requires-python +Dynamic: summary + +This package provides control functionalities for Simbelmyne. It allows to create automatically all the required files and scripts to run a N-body simulation with Simbelmyne, using monofonIC for initial conditions. The subpackage `analysis` provides tools to analyze the results of the simulation (slices and power spectra), while the subpackage `scripts` includes tools to handle snapshots, tiles and density fields. diff --git a/sbmy_control.egg-info/SOURCES.txt b/sbmy_control.egg-info/SOURCES.txt new file mode 100644 index 0000000..5fadffd --- /dev/null +++ b/sbmy_control.egg-info/SOURCES.txt @@ -0,0 +1,30 @@ +setup.py +sbmy_control/ICs.py +sbmy_control/__init__.py +sbmy_control/args_main.py +sbmy_control/cosmo_params.py +sbmy_control/low_level.py +sbmy_control/main.py +sbmy_control/monofonic.py +sbmy_control/parameters_card.py +sbmy_control/parameters_monofonic.py +sbmy_control/progress_bar.py +sbmy_control/scola.py +sbmy_control/simbelmyne.py +sbmy_control/slurm_submission.py +sbmy_control/timestepping.py +sbmy_control.egg-info/PKG-INFO +sbmy_control.egg-info/SOURCES.txt +sbmy_control.egg-info/dependency_links.txt +sbmy_control.egg-info/entry_points.txt +sbmy_control.egg-info/requires.txt +sbmy_control.egg-info/top_level.txt +sbmy_control/analysis/__init__.py +sbmy_control/analysis/colormaps.py +sbmy_control/analysis/power_spectrum.py +sbmy_control/analysis/slices.py +sbmy_control/scripts/__init__.py +sbmy_control/scripts/convert_snapshot_to_density.py +sbmy_control/scripts/field_to_field.py +sbmy_control/scripts/gather_tiles.py +sbmy_control/scripts/scola_submit.py \ No newline at end of file diff --git a/sbmy_control.egg-info/dependency_links.txt b/sbmy_control.egg-info/dependency_links.txt new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/sbmy_control.egg-info/dependency_links.txt @@ -0,0 +1 @@ + diff --git a/sbmy_control.egg-info/entry_points.txt b/sbmy_control.egg-info/entry_points.txt new file mode 100644 index 0000000..2481b2f --- /dev/null +++ b/sbmy_control.egg-info/entry_points.txt @@ -0,0 +1,8 @@ +[console_scripts] +convert_snapshot_to_density = sbmy_control.scripts.convert_snapshot_to_density:console_main +field_to_field = sbmy_control.scripts.field_to_field:console_main +gather_tiles = sbmy_control.scripts.gather_tiles:console_main +power_spectrum = sbmy_control.analysis.power_spectrum:console_main +sbmy_control = sbmy_control.main:console_main +scola_submit = sbmy_control.scripts.scola_submit:console_main +slices = sbmy_control.analysis.slices:console_main diff --git a/sbmy_control.egg-info/requires.txt b/sbmy_control.egg-info/requires.txt new file mode 100644 index 0000000..ad720a3 --- /dev/null +++ b/sbmy_control.egg-info/requires.txt @@ -0,0 +1,5 @@ +pysbmy +numpy +matplotlib +h5py +tqdm diff --git a/sbmy_control.egg-info/top_level.txt b/sbmy_control.egg-info/top_level.txt new file mode 100644 index 0000000..8f3970f --- /dev/null +++ b/sbmy_control.egg-info/top_level.txt @@ -0,0 +1 @@ +sbmy_control diff --git a/.gitignore b/sbmy_control/.gitignore similarity index 100% rename from .gitignore rename to sbmy_control/.gitignore diff --git a/ICs.py b/sbmy_control/ICs.py similarity index 100% rename from ICs.py rename to sbmy_control/ICs.py diff --git a/__init__.py b/sbmy_control/__init__.py similarity index 100% rename from __init__.py rename to sbmy_control/__init__.py diff --git a/analysis/__init__.py b/sbmy_control/analysis/__init__.py similarity index 100% rename from analysis/__init__.py rename to sbmy_control/analysis/__init__.py diff --git a/analysis/colormaps.py b/sbmy_control/analysis/colormaps.py similarity index 100% rename from analysis/colormaps.py rename to sbmy_control/analysis/colormaps.py diff --git a/analysis/power_spectrum.py b/sbmy_control/analysis/power_spectrum.py similarity index 100% rename from analysis/power_spectrum.py rename to sbmy_control/analysis/power_spectrum.py diff --git a/analysis/slices.py b/sbmy_control/analysis/slices.py similarity index 100% rename from analysis/slices.py rename to sbmy_control/analysis/slices.py diff --git a/args_main.py b/sbmy_control/args_main.py similarity index 100% rename from args_main.py rename to sbmy_control/args_main.py diff --git a/cosmo_params.py b/sbmy_control/cosmo_params.py similarity index 100% rename from cosmo_params.py rename to sbmy_control/cosmo_params.py diff --git a/low_level.py b/sbmy_control/low_level.py similarity index 100% rename from low_level.py rename to sbmy_control/low_level.py diff --git a/main.py b/sbmy_control/main.py similarity index 100% rename from main.py rename to sbmy_control/main.py diff --git a/monofonic.py b/sbmy_control/monofonic.py similarity index 100% rename from monofonic.py rename to sbmy_control/monofonic.py diff --git a/parameters_card.py b/sbmy_control/parameters_card.py similarity index 100% rename from parameters_card.py rename to sbmy_control/parameters_card.py diff --git a/parameters_monofonic.py b/sbmy_control/parameters_monofonic.py similarity index 100% rename from parameters_monofonic.py rename to sbmy_control/parameters_monofonic.py diff --git a/progress_bar.py b/sbmy_control/progress_bar.py similarity index 100% rename from progress_bar.py rename to sbmy_control/progress_bar.py diff --git a/scola.py b/sbmy_control/scola.py similarity index 100% rename from scola.py rename to sbmy_control/scola.py diff --git a/scripts/__init__.py b/sbmy_control/scripts/__init__.py similarity index 100% rename from scripts/__init__.py rename to sbmy_control/scripts/__init__.py diff --git a/scripts/convert_snapshot_to_density.py b/sbmy_control/scripts/convert_snapshot_to_density.py similarity index 100% rename from scripts/convert_snapshot_to_density.py rename to sbmy_control/scripts/convert_snapshot_to_density.py diff --git a/scripts/field_to_field.py b/sbmy_control/scripts/field_to_field.py similarity index 100% rename from scripts/field_to_field.py rename to sbmy_control/scripts/field_to_field.py diff --git a/scripts/gather_tiles.py b/sbmy_control/scripts/gather_tiles.py similarity index 100% rename from scripts/gather_tiles.py rename to sbmy_control/scripts/gather_tiles.py diff --git a/scripts/scola_submit.py b/sbmy_control/scripts/scola_submit.py similarity index 100% rename from scripts/scola_submit.py rename to sbmy_control/scripts/scola_submit.py diff --git a/simbelmyne.py b/sbmy_control/simbelmyne.py similarity index 100% rename from simbelmyne.py rename to sbmy_control/simbelmyne.py diff --git a/slurm_submission.py b/sbmy_control/slurm_submission.py similarity index 100% rename from slurm_submission.py rename to sbmy_control/slurm_submission.py diff --git a/timestepping.py b/sbmy_control/timestepping.py similarity index 100% rename from timestepping.py rename to sbmy_control/timestepping.py diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..ed3897f --- /dev/null +++ b/setup.py @@ -0,0 +1,42 @@ +from setuptools import setup, find_packages +setup( + name='sbmy_control', + version='0.1.0', + author='Mayeul Aubin', + author_email='mayeul.aubin@iap.fr', + description='Simbelmyne control package', + long_description='This package provides control functionalities for Simbelmyne. It allows to create automatically all the required files and scripts to run a N-body simulation with Simbelmyne, using monofonIC for initial conditions. The subpackage `analysis` provides tools to analyze the results of the simulation (slices and power spectra), while the subpackage `scripts` includes tools to handle snapshots, tiles and density fields.', + long_description_content_type='text/markdown', + url='https://git.aquila-consortium.org/maubin/sbmy_control', + packages=find_packages(), + install_requires=[ + 'pysbmy', + 'numpy', + 'matplotlib', + 'h5py', + 'tqdm', + ], + license='GPL-3.0', + classifiers=[ + 'Development Status :: 3 - Alpha', + 'Intended Audience :: Science/Research', + 'License :: OSI Approved :: GNU General Public License v3 (GPLv3)', + 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', + 'Programming Language :: Python :: 3.10', + 'Programming Language :: Python :: 3.11', + ], + python_requires='>=3.8', + entry_points={ + 'console_scripts': [ + 'sbmy_control=sbmy_control.main:console_main', + 'slices=sbmy_control.analysis.slices:console_main', + 'power_spectrum=sbmy_control.analysis.power_spectrum:console_main', + 'field_to_field=sbmy_control.scripts.field_to_field:console_main', + 'gather_tiles=sbmy_control.scripts.gather_tiles:console_main', + 'convert_snapshot_to_density=sbmy_control.scripts.convert_snapshot_to_density:console_main', + 'scola_submit=sbmy_control.scripts.scola_submit:console_main', + ], + }, +) \ No newline at end of file