Repository Structure

In the package

Nomenclature

An example for a directory structure:

user
└── Desktop
    └── Projects
        └── Observations
            └── Hubble
                └── GJ1214_13021  (="run directory")
                    ├── pacman_run_files
                    │   ├── run_pacman.py
                    │   ├── obs_par.pcf
                    │   └── fit_par.txt
                    ├── stage00
                    ├── stage01
                    ├── stage02
                    ├── stage03
                    ├── stage10
                    ├── stage20
                    ├── stage21
                    └── stage30
        └── Data
            └── GJ1214_Hubble13021  (="data directory")
                ├── ibxy06d0q_ima.fits
                ├── ...
                └── ibxy07ryq_ima.fits
  • run directory:

    Example: /home/zieba/Desktop/Projects/Observations/Hubble/GJ1214_13021.

    This is the top-level directory for one PACMAN analysis. It contains the pacman_run_files directory and one output directory for each PACMAN stage.

  • pacman_run_files directory:

    Example: /home/zieba/Desktop/Projects/Observations/Hubble/GJ1214_13021/pacman_run_files.

    This directory contains the files used to configure and start a PACMAN run:

    • run_pacman.py

    • obs_par.pcf

    • fit_par.txt

    To run PACMAN, navigate into this directory and execute:

    python run_pacman.py
    

    The settings in obs_par.pcf and fit_par.txt are read from this directory.

  • stage directories:

    PACMAN stores outputs in stage-specific directories:

    • stage00

    • stage01

    • stage02

    • stage03

    • stage10

    • stage20

    • stage21

    • stage30

    Each stage directory can contain one or more timestamped run directories. The name of each run directory is a combination of the stage name and the time at which the stage was started:

    s00_run_YYYY-MM-DD_HH-MM-SS
    

    For example:

    stage00
    └── s00_run_2022-03-04_15-10-29
    

    When a later stage is run, by default, PACMAN uses the most recent run directory from the previous stage unless the user specifies a different input path.

  • data directory:

    Example: /home/zieba/Desktop/Data/GJ1214_Hubble13021.

    This directory contains the FITS files that will be reduced and analyzed.

  • pipeline directory:

    Example: /home/zieba/Desktop/Projects/Open_Source/PACMAN/src.

    This is the installed PACMAN source code directory. Users normally do not need to edit files in this directory during an analysis.