Skip to content

Commit

Permalink
cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
jmbhughes committed Feb 29, 2024
1 parent df7a8fd commit addd44b
Show file tree
Hide file tree
Showing 11 changed files with 35 additions and 4 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
# overlappogram

[![CI](https://github.com/jmbhughes/overlappogram/actions/workflows/CI.yml/badge.svg)](https://github.com/jmbhughes/overlappogram/actions/workflows/CI.yml)

![overlappogram example](overlappogram.png)

Overlappogram is a Python package for inverting overlappogram observations of the Sun, for examples MaGIXS observations
or ECCCO observations.

## How to Use

## Getting Help

## Cite

## Code of Conduct
18 changes: 18 additions & 0 deletions example_config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[paths]
response = "data/D27Feb2024_eccco_response_feldman_m_el_with_tables_trim_sw_lw_s_i_scaled.fits"
weights = "data/combined_ECCCO_weights_trim_sw_lw_s_i_scaled.fits"
# image = "data/combined_ECCCO_trim_sw_lw_s_i_scaled.fits"
output = "output/"

[inversion]
solution_fov_width = 2
detector_row_range = [0, 792]
field_angle_range = [-1227, 1227]
response_dependency_name = "logt"
response_dependency_list = [5.7, 5.8, 5.9, 6.0 , 6.1, 6.2, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8]
smooth_over = 'dependence'
alphas = [0.2, 0.1, 0.01, 0.005]
rhos = [0.1]

[execution]
num_threads = 11
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file modified overlappogram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions run_multiion_inversion.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import os

nthreads = 1
os.environ["OMP_NUM_THREADS"] = str(nthreads)
os.environ["OPENBLAS_NUM_THREADS"] = str(nthreads)
os.environ["MKL_NUM_THREADS"] = str(nthreads)
NUMPY_TREAD_COUNT = 1
os.environ["OMP_NUM_THREADS"] = str(NUMPY_TREAD_COUNT)
os.environ["OPENBLAS_NUM_THREADS"] = str(NUMPY_TREAD_COUNT)
os.environ["MKL_NUM_THREADS"] = str(NUMPY_TREAD_COUNT)

import argparse
import os
Expand Down

0 comments on commit addd44b

Please sign in to comment.