{ "cells": [ { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [], "source": [ "# Copyright (C) 2024 Richard Stiskalek\n", "# This program is free software; you can redistribute it and/or modify it\n", "# under the terms of the GNU General Public License as published by the\n", "# Free Software Foundation; either version 3 of the License, or (at your\n", "# option) any later version.\n", "#\n", "# This program is distributed in the hope that it will be useful, but\n", "# WITHOUT ANY WARRANTY; without even the implied warranty of\n", "# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General\n", "# Public License for more details.\n", "#\n", "# You should have received a copy of the GNU General Public License along\n", "# with this program; if not, write to the Free Software Foundation, Inc.,\n", "# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n", "import numpy as np\n", "import matplotlib.pyplot as plt\n", "from tqdm import trange\n", "from joblib import dump\n", "from h5py import File\n", "\n", "import csiborgtools\n", "\n", "%matplotlib inline\n", "%load_ext autoreload\n", "%autoreload 2\n" ] }, { "cell_type": "code", "execution_count": 5, "metadata": {}, "outputs": [], "source": [ "fpath = \"/mnt/extraspace/rstiskalek/catalogs/PV_compilation.hdf5\"\n", "\n", "with File(fpath, 'r') as f:\n", " RA_2MTF = f[\"2MTF/RA\"][...]\n", " DEC_2MTF = f[\"2MTF/DEC\"][...]" ] }, { "cell_type": "code", "execution_count": 36, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Saving to /mnt/extraspace/rstiskalek/csiborg_postprocessing/flow_mock/Carrick2MTFmock_seed0.hdf5\n" ] } ], "source": [ "!rm /mnt/extraspace/rstiskalek/csiborg_postprocessing/flow_mock/*\n", "\n", "\n", "reader = csiborgtools.read.Carrick2015Field()\n", "velocity = reader.velocity_field()\n", "boxsize = csiborgtools.simname2boxsize(\"Carrick2015\")\n", "\n", "mean_mag = 10.31\n", "std_mag = 0.83\n", "\n", "kmax = 1\n", "seed = 53\n", "\n", "for k in trange(kmax):\n", " mock, truths = csiborgtools.flow.mock_Carrick2MTF(\n", " velocity, boxsize, RA_2MTF, DEC_2MTF,\n", " mean_mag=mean_mag, std_mag=std_mag,\n", " seed=seed, verbose=True)\n", " seed += 1\n", "\n", " fname = f\"/mnt/extraspace/rstiskalek/csiborg_postprocessing/flow_mock/Carrick2MTFmock_seed{k}.hdf5\" # noqa\n", " print(\"Saving to \", fname)\n", " with File(fname, 'w') as f:\n", " for key in mock.keys():\n", " f.create_dataset(key, data=mock[key])\n", "\n", " fname_truths = fname.replace(\".hdf5\", \"_truths.pkl\")\n", " dump(truths, fname_truths)" ] }, { "cell_type": "code", "execution_count": 31, "metadata": {}, "outputs": [ { "data": { "image/png": "iVBORw0KGgoAAAANSUhEUgAAAigAAAGdCAYAAAA44ojeAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjguMywgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/H5lhTAAAACXBIWXMAAA9hAAAPYQGoP6dpAAAiaElEQVR4nO3df1jV9f3/8QeIgL84CMpBCpTM+SOblT8INadJ0nIVi1U2Zr+8ZBVUaktlSytnYa7SS2dSzbCudDa3NNNrdilOvZaIilmZRtowMT24ZpyTOBDl9f3Dr+ezk5Q/OofzAu+36zrXtfN+v8/bJ2/e17j3Pr9CjDFGAAAAFgkN9gAAAADfRqAAAADrECgAAMA6BAoAALAOgQIAAKxDoAAAAOsQKAAAwDoECgAAsE5YsAe4EPX19Tp48KDatWunkJCQYI8DAADOgTFG33zzjRISEhQa+v3XSJpkoBw8eFCJiYnBHgMAAFyAiooKXXrppd+7TZMMlHbt2kk69QNGRUUFeRoAAHAuPB6PEhMTvX/Hv0+TDJTTT+tERUURKAAANDHn8vIMXiQLAACsQ6AAAADrECgAAMA6BAoAALAOgQIAAKxDoAAAAOsQKAAAwDoECgAAsA6BAgAArEOgAAAA6xAoAADAOgQKAACwDoECAACsQ6AAAADrhAV7AADB12XyqoDuf9+MkQHdP4DmhysoAADAOgQKAACwDoECAACsQ6AAAADrECgAAMA6BAoAALAOgQIAAKxDoAAAAOsQ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sMpHIdTOA6ncBxOaU7H4WxXTk4Lyotkw8PD1bdvXxUVFXmX1dfXq6ioSKmpqcEYCQAAWCRoT/FMmDBB99xzj/r166cBAwZo9uzZqq6u1n333ReskQAAgCWCFih33nmn/v3vf2vq1KlyuVy66qqrtHr16jNeONscRURE6MknnzzjaauLDcfhFI7DKRyHUzgOp3AcTrmYj0OIOZf3+gAAADQivosHAABYh0ABAADWIVAAAIB1CBQAAGAdAqURrV+/XiEhIQ3etm7dKknat29fg+s3b94c5On9q0uXLmf8jDNmzPDZ5qOPPtJ1112nyMhIJSYmaubMmUGaNjD27dunMWPGKDk5Wa1atVLXrl315JNP6vjx4z7bXAznw7x589SlSxdFRkYqJSVFW7ZsCfZIAZWfn6/+/furXbt2iouLU0ZGhsrKyny2GTp06Bm/9wceeCBIEwfGU089dcbP2KNHD+/6mpoa5eTkKDY2Vm3btlVmZuYZH/DZHDT0/4chISHKycmRdHGcCw1pEh9131wMHDhQhw4d8lk2ZcoUFRUVqV+/fj7L165dqyuuuMJ7PzY2tlFmbEzTpk3T2LFjvffbtWvn/d8ej0cjRoxQWlqaCgoK9PHHH+v+++9XdHS0srOzgzGu33366aeqr6/Xyy+/rMsvv1w7d+7U2LFjVV1dreeff95n2+Z8Prz11luaMGGCCgoKlJKSotmzZys9PV1lZWWKi4sL9ngBsWHDBuXk5Kh///46ceKEfvvb32rEiBHatWuX2rRp491u7NixmjZtmvd+69atgzFuQF1xxRVau3at935Y2P/9WRo/frxWrVqlpUuXyuFwKDc3V7fddpvef//9YIwaMFu3btXJkye993fu3KkbbrhBt99+u3fZxXAunMEgaI4fP246duxopk2b5l1WXl5uJJkPPvggeIM1gs6dO5tZs2Z95/qXXnrJtG/f3tTW1nqXTZo0yXTv3r0RpguemTNnmuTkZO/9i+F8GDBggMnJyfHeP3nypElISDD5+flBnKpxHT582EgyGzZs8C77yU9+Yh599NHgDdUInnzySdOnT58G11VVVZmWLVuapUuXepft3r3bSDLFxcWNNGFwPProo6Zr166mvr7e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ZTmfG588cUXWrt27VmvjFwM54LEUzx+0bFjR3Xs2PGctzfGqLCwUHfffbdatmx51u137NihTp06/ZARG8X5Hof/tWPHDoWGhnrftZGamqrf/e53qqur8x6jNWvWqHv37tY/vXM+x+HLL7/UsGHD1LdvXxUWFio09OwvC2sq58O5CA8PV9++fVVUVKSMjAxJp57yKCoqUm5ubnCHCyBjjB5++GEtW7ZM69evP+PpzIbs2LFDkprN774hR48e1eeff67Ro0erb9++atmypYqKipSZmSlJKisr0/79+5WamhrkSQOjsLBQcXFxGjly5PdudzGcC5J4iicY1q5d+51PdyxcuNAsXrzY7N692+zevds888wzJjQ01Lz22mtBmDQwNm3aZGbNmmV27NhhPv/8c/Pmm2+ajh07mrvvvtu7TVVVlXE6nWb06NFm586dZsmSJaZ169bm5ZdfDuLk/nXgwAFz+eWXm+HDh5sDBw6YQ4cOeW+nXQznw5IlS0xERIRZuHCh2bVrl8nOzjbR0dHG5XIFe7SAefDBB43D4TDr16/3+b0fO3bMGGPM3r17zbRp08y2bdtMeXm5eeedd8xll11mhgwZEuTJ/euxxx4z69evN+Xl5eb99983aWlppkOHDubw4cPGmFNPfyUlJZl169aZbdu2mdTUVJOamhrkqQPj5MmTJikpyUyaNMln+cVyLjSEQAmCu+66ywwcOLDBdQsXLjQ9e/Y0rVu3NlFRUWbAgAE+b7NrDkpLS01KSopxOBwmMjLS9OzZ0zz77LPe15+c9uGHH5rBgwebiIgIc8kll5gZM2YEaeLAKCws/M7XqJx2MZwPxhgzd+5ck5SUZMLDw82AAQPM5s2bgz1SQH3X772wsNAYY8z+/fvNkCFDTExMjImIiDCXX365efzxx43b7Q7u4H525513mk6dOpnw8HBzySWXmDvvvNPndRX//e9/zUMPPWTat29vWrdubX7+85/7BHxz8t577xlJpqyszGf5xXIuNCTEGGOCceUGAADgu/A5KAAAwDoECgAAsA6BAgAArEOgAAAA6xAoAADAOgQKAACwDoECAACsQ6AAAADrECgAAMA6BAoAALAOgQIAAKxDoAAAAOv8PynOiPxX0q37AAAAAElFTkSuQmCC", "text/plain": [ "
" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "plt.figure()\n", "plt.hist(mock[\"DEC\"], bins=\"auto\")\n", "plt.show()" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [] } ], "metadata": { "kernelspec": { "display_name": "venv_csiborg", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.11.4" } }, "nbformat": 4, "nbformat_minor": 2 }