-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Federico Berlfein
committed
Nov 8, 2024
1 parent
6454870
commit 7e9b74b
Showing
65 changed files
with
6,813 additions
and
837 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Changes from v0.0.0 to v0.0.1 | ||
========================= | ||
Made repo public. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
Config imsim | ||
============ | ||
|
||
``was.yaml``: *euclidlike_imsim example* config file. | ||
You will want to update the following entries: | ||
|
||
- ``input.obseq_data.file_name``: path to the observing sequence. Link to ``euclidlike/data/euclid_obseq.fits`` | ||
- ``input.sky_catalog.file_name``: path to the skyCatalog to use | ||
- ``output.dir``: path to the output directory for the simulated images | ||
- ``output.truth.dir``: path to the output directory for the true catalogs | ||
|
||
To run the code: | ||
|
||
.. code-block:: bash | ||
galsim was.yaml | ||
You might want to specify some config entries on the command line, like: | ||
|
||
.. code-block:: bash | ||
galsim was.yaml input.obseq_data.visit=33690 image.CCD=1 | ||
Config SLURM | ||
============ | ||
|
||
``slurm_runner.sh`` contains the SLURM configuration to run "large scale" simulations. | ||
You will want to update the following lines: | ||
|
||
- ``#!/bin/zsh``: depending on the shell you are using, you might want to change it to: ``#!/bin/bash`` | ||
- ``#SBATCH --output=/path/to/slurm-%A-%a.out``: SLURM stdout file | ||
- ``#SBATCH --error=/path/to/slurm-%A-%a.err``: SLURM stderr file | ||
- ``source activate [env_name]``: conda environment to use | ||
- ``file_list='/path/to/run_list.txt'``: file containing the pointings to simulate (see note below) | ||
|
||
The ``run_list.txt`` is a 2-column file with the pointing and the ``CCD_ID`` to simulate. It should look like: | ||
|
||
.. code-block:: text | ||
33688 0 | ||
33688 1 | ||
33688 2 | ||
[...] | ||
33688 35 | ||
33689 0 | ||
33689 1 | ||
[...] | ||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Sphinx build info version 1 | ||
# This file records the configuration used when building these files. When it is not found, a full rebuild will be done. | ||
config: cec21682d6cc0df78936fbd198ac0c57 | ||
config: 11d168bc3ba21763cf541d100b9a19c3 | ||
tags: 645f666f9bcd5a90fca523b33c5a78b7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.