From 3031f8e0ac69a0b90aaeb9eba09c90975224b5ec Mon Sep 17 00:00:00 2001 From: Mathieu Vergez Date: Tue, 25 Aug 2026 17:33:49 +0200 Subject: [PATCH] =?UTF-8?q?chore(scaffolding):=20cr=C3=A9ation=20arboresce?= =?UTF-8?q?nce=20du=20projet?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ARCHITECTURE.md | 33 +++++++++++++++++++++++++++- README.md | 0 app.py | 0 data/messier_classifier/.gitkeep | 0 data/pictures_test/.gitkeep | 0 pipeline_a/skymap_generator.py | 0 pipeline_b/star_detector.py | 0 pipeline_c/c0_dataset_acquisition.py | 0 pipeline_c/c1_model_training.py | 0 pipeline_c/c2_operational_model.py | 0 tests/tests_pipeline_a.py | 0 tests/tests_pipeline_b.py | 0 tests/tests_pipeline_c0.py | 0 tests/tests_pipeline_c1.py | 0 tests/tests_pipeline_c2.py | 0 15 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 README.md create mode 100644 app.py create mode 100644 data/messier_classifier/.gitkeep create mode 100644 data/pictures_test/.gitkeep create mode 100644 pipeline_a/skymap_generator.py create mode 100644 pipeline_b/star_detector.py create mode 100644 pipeline_c/c0_dataset_acquisition.py create mode 100644 pipeline_c/c1_model_training.py create mode 100644 pipeline_c/c2_operational_model.py create mode 100644 tests/tests_pipeline_a.py create mode 100644 tests/tests_pipeline_b.py create mode 100644 tests/tests_pipeline_c0.py create mode 100644 tests/tests_pipeline_c1.py create mode 100644 tests/tests_pipeline_c2.py diff --git a/ARCHITECTURE.md b/ARCHITECTURE.md index c2e2b98..03259e6 100644 --- a/ARCHITECTURE.md +++ b/ARCHITECTURE.md @@ -92,7 +92,7 @@ Objectif : déterminer si une image donnée, cadrée sur un objet du ciel profon | `ra_deg` | float | Ascension droite, en degrés décimaux (converti depuis le format heures/minutes/secondes natif : 1h = 15°) | | `dec_deg` | float | Déclinaison, en degrés décimaux (-90 à +90) | | `magnitude` | float | Magnitude apparente (échelle inversée : plus la valeur est basse, plus l'objet est brillant) | -| `proper_name` | string ou NULL | Nom propre de l'étoile si disponible (absent pour la grande majorité des entrées du catalogue) | +| `proper_name` | string ou NULL | Nom propre de l'étoile si disponible (absent pour la grande majorité des entrées du catalogue) | Exemple de ligne (Sirius / Alpha Canis Majoris) : @@ -130,6 +130,37 @@ L'identifiant `id` suit la nomenclature standardisée de l'Union Astronomique In ] ``` +## Arborescence du projet + +``` +data/ + pictures_test/ # images de test, Pipeline B + messier_classifier/ # dataset C0/C1/C2 + manifest.csv # colonnes : nom;label (label = "messier" ou "ngc") + dataset_hipparcos.csv + dataset_constellations.json +pipeline_a/ + skymap_generator.py +pipeline_b/ + star_detector.py +pipeline_c/ + c0_dataset_acquisition.py + c1_model_training.py + c2_operational_model.py +tests/ + tests_pipeline_a.py + tests_pipeline_b.py + tests_pipeline_c0.py + tests_pipeline_c1.py + tests_pipeline_c2.py +app.py +CONTRIBUTING.md +ARCHITECTURE.md +README.md +``` + +Chaque pipeline (A/B/C) vit dans son propre dossier, reflétant l'indépendance actée en phase de Découpage. Le pipeline C conserve la séparation C0/C1/C2 jusque dans les fichiers de test, ces trois sous-étapes ayant des natures très différentes (scraping, entraînement, inférence). Pas de fichier `utils.py` créé par anticipation : le code partagé entre pipelines, s'il s'avère nécessaire, sera extrait au moment où un besoin concret de duplication apparaîtra, plutôt que par anticipation. + ## Décisions techniques actées - Catalogue source : Hipparcos, pré-traité offline via `astropy` en CSV propre (RA, Dec, magnitude, nom) plutôt que parsé à la volée dans l'application diff --git a/README.md b/README.md new file mode 100644 index 0000000..e69de29 diff --git a/app.py b/app.py new file mode 100644 index 0000000..e69de29 diff --git a/data/messier_classifier/.gitkeep b/data/messier_classifier/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/data/pictures_test/.gitkeep b/data/pictures_test/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/pipeline_a/skymap_generator.py b/pipeline_a/skymap_generator.py new file mode 100644 index 0000000..e69de29 diff --git a/pipeline_b/star_detector.py b/pipeline_b/star_detector.py new file mode 100644 index 0000000..e69de29 diff --git a/pipeline_c/c0_dataset_acquisition.py b/pipeline_c/c0_dataset_acquisition.py new file mode 100644 index 0000000..e69de29 diff --git a/pipeline_c/c1_model_training.py b/pipeline_c/c1_model_training.py new file mode 100644 index 0000000..e69de29 diff --git a/pipeline_c/c2_operational_model.py b/pipeline_c/c2_operational_model.py new file mode 100644 index 0000000..e69de29 diff --git a/tests/tests_pipeline_a.py b/tests/tests_pipeline_a.py new file mode 100644 index 0000000..e69de29 diff --git a/tests/tests_pipeline_b.py b/tests/tests_pipeline_b.py new file mode 100644 index 0000000..e69de29 diff --git a/tests/tests_pipeline_c0.py b/tests/tests_pipeline_c0.py new file mode 100644 index 0000000..e69de29 diff --git a/tests/tests_pipeline_c1.py b/tests/tests_pipeline_c1.py new file mode 100644 index 0000000..e69de29 diff --git a/tests/tests_pipeline_c2.py b/tests/tests_pipeline_c2.py new file mode 100644 index 0000000..e69de29