ascl_id stringclasses 752
values | repo_url stringclasses 737
values | file_path stringlengths 4 194 | content large_stringlengths 1 1M | language stringclasses 29
values | license_type stringclasses 24
values | size int64 1 1M |
|---|---|---|---|---|---|---|
[ascl:2011.023] | https://github.com/astropy/reproject | docs/index.rst | .. _reprojection:
*******************************
Image reprojection (resampling)
*******************************
Introduction
============
The *reproject* package implements image reprojection (resampling) methods
for astronomical images and more generally n-dimensional data. These assume
that the WCS information c... | reStructuredText | BSD | 5,502 |
[ascl:2011.023] | https://github.com/astropy/reproject | docs/conf.py | # Licensed under a 3-clause BSD style license - see LICENSE.rst
import datetime
import sys
from importlib import metadata
try:
from sphinx_astropy.conf.v1 import * # noqa
except ImportError:
print("ERROR: the documentation requires the sphinx-astropy package to be installed")
sys.exit(1)
# -- General co... | Python | BSD | 4,245 |
[ascl:2011.023] | https://github.com/astropy/reproject | docs/hips.rst |
***************************************
HiPS (Hierarchical Progressive Surveys)
***************************************
.. warning:: The hips functionality in the reproject package is
currently experimental, so use with care and please report
issues at https://github.com/astropy/reproject
`... | reStructuredText | BSD | 6,945 |
[ascl:2011.023] | https://github.com/astropy/reproject | docs/performance.rst | ****************************************************
Optimizing performance for single-image reprojection
****************************************************
Disabling coordinate transformation round-tripping
==================================================
For the interpolation and adaptive algorithms, an optiona... | reStructuredText | BSD | 11,662 |
[ascl:2011.023] | https://github.com/astropy/reproject | docs/installation.rst | .. _installation:
********************
Installing reproject
********************
Requirements
============
This package has the following dependencies:
* `Python <http://www.python.org/>`__ 3.9 or later
* `Numpy <http://www.numpy.org/>`__ 1.20 or later
* `Astropy <http://www.astropy.org/>`__ 5.0 or later
* `Scip... | reStructuredText | BSD | 1,092 |
[ascl:2011.023] | https://github.com/astropy/reproject | .github/dependabot.yml | version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"
groups:
actions:
patterns:
- "*"
| YAML | BSD | 180 |
[ascl:2011.023] | https://github.com/astropy/reproject | .github/release.yml | changelog:
exclude:
authors:
- dependabot[bot]
- pre-commit-ci[bot]
categories:
- title: New Features
labels:
- enhancement
- title: Bug Fixes
labels:
- bug
- title: Documentation
labels:
- Documentation
- title: Other Changes
labels:
... | YAML | BSD | 333 |
[ascl:2011.023] | https://github.com/astropy/reproject | .github/workflows/ci_workflows.yml | name: CI
on:
schedule:
# run every day at 4am UTC
- cron: '0 4 * * *'
push:
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
tests:
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@e97344095b0... | YAML | BSD | 1,720 |
[ascl:2011.023] | https://github.com/astropy/reproject | .github/workflows/update-changelog.yaml | # This workflow takes the GitHub release notes an updates the changelog on the
# main branch with the body of the release notes, thereby keeping a log in
# the git repo of the changes.
name: "Update Changelog"
on:
release:
types: [released]
jobs:
update:
runs-on: ubuntu-latest
steps:
- name: C... | YAML | BSD | 1,014 |
[ascl:1612.022] | https://github.com/matteozennaro/reps | params.ini | ######################## reps ###### BC #######################################
###############################################################################
This is a commented version of the params.ini file for running reps
./ reps params.ini
If you want to see some examples with different cosmologies and/or differ... | Config | null | 5,133 |
[ascl:1612.022] | https://github.com/matteozennaro/reps | INCLUDE/write_output.h | /** WRITE OUTPUT ************************************************************/
extern void write_output(int knum, double *k,
double **Delta_b,double **Delta_c,double **Delta_n,double **Delta_m,
double **growth_b,double **growth_c,double **growth_n,double **growth_m);
/*************************************... | C/C++ Header | null | 363 |
[ascl:1612.022] | https://github.com/matteozennaro/reps | INCLUDE/RungeKutta_solver.h | /** RUNGE-KUTTA SOLVER ******************************************************/
extern void RK (int k_num, double *k,
double *BETAB, double *BETANU,
double *FB, double *FC, double *FN,
double **Delta_b, double **Delta_c, double **Delta_n, double **Delta_m,
double **growth_b, double **growth_c, ... | C/C++ Header | null | 440 |
[ascl:1612.022] | https://github.com/matteozennaro/reps | INCLUDE/include.h | /******************************************************************************/
/* DECLARATION OF FUNCTIONS */
/******************************************************************************/
/** GENERAL PURPOSE ******************************************************... | C/C++ Header | null | 2,612 |
[ascl:1612.022] | https://github.com/matteozennaro/reps | INCLUDE/boundary_conditions.h | extern void BC();
| C/C++ Header | null | 18 |
[ascl:1612.022] | https://github.com/matteozennaro/reps | INCLUDE/global_variables.h | /******************************************************************************/
/* INITIAL SETTINGS - GLOBAL VARIABLES */
/******************************************************************************/
char use_boundary_conditions_from_file;
char boundaryconditionsfile[200];
cha... | C/C++ Header | null | 1,277 |
[ascl:1612.022] | https://github.com/matteozennaro/reps | INCLUDE/neutrino_distribution_function.h | /** NEUTRINO DISTRIBUTION FUNCTION ******************************************/
extern void read_GG_FF_tabs();
extern double FF(double Y);
extern double GG(double Y);
/******************************************************************************/
| C/C++ Header | null | 249 |
[ascl:1612.022] | https://github.com/matteozennaro/reps | INCLUDE/general_purpose.h | /** GENERAL PURPOSE *********************************************************/
extern void frame(char str[]);
extern void fscanf_error(int n);
extern double det(double **a_in,int n);
extern double **allocate_matrix(int rows, int columns);
extern double *allocate_double_vec(int n_elems);
extern void deallocate_matrix(... | C/C++ Header | null | 931 |
[ascl:1612.022] | https://github.com/matteozennaro/reps | INCLUDE/read_ini_file.h | /** READ INI FILE ***********************************************************/
extern void read_parameter_file(char parfile[]);
/******************************************************************************/
| C/C++ Header | null | 211 |
[ascl:1612.022] | https://github.com/matteozennaro/reps | INCLUDE/include_global.h | extern char use_boundary_conditions_from_file;
extern char boundaryconditionsfile[200];
extern char outputfile[200];
extern char output_format[200];
extern char boltzmann_code[200];
extern char boltzmann_folder[500];
extern char neutrino_tab_file[200];
extern char class_precision_file[500];
extern char class_base_par_f... | C/C++ Header | null | 1,019 |
[ascl:1612.022] | https://github.com/matteozennaro/reps | INCLUDE/boltzmann_solver.h | /** BOLTZMANN SOLVER ********************************************************/
extern void create_boltzmann_ini_file (char dir_chain[]);
/******************************************************************************/
| C/C++ Header | null | 220 |
[ascl:1612.022] | https://github.com/matteozennaro/reps | INCLUDE/background.h | /** BACKGROUND FUNCTIONS *****************************************************/
extern double func_1_3w(double A);
extern double A_func (double A, double OR_rk, double OCB_rk, double OX_rk,
double rk_1_plus_3w, double ON_rk, double E2_rk);
extern double E2(double A, double ONE2_CURRENT);
extern d... | C/C++ Header | null | 643 |
[ascl:1612.022] | https://github.com/matteozennaro/reps | INCLUDE/transfer_details.h | // For CAMB Nov 2015
#define CAMB_TRANSFER_NCOL 13
#define CAMB_TRANSFER_k 0
#define CAMB_TRANSFER_Tb 2
#define CAMB_TRANSFER_Tc 1
#define CAMB_TRANSFER_Tn 5
// For class v. 2.5.0
#define CLASS_NONU_TRANSFER_NCOL 8
#define CLASS_NONU_TRANSFER_k 0
#define CLASS_NONU_TRANSFER_Tb 2
#define CLASS_NONU_TRANSFER_Tc 3
// #de... | C/C++ Header | null | 506 |
[ascl:1612.022] | https://github.com/matteozennaro/reps | MODULES/RungeKutta_solver_3fluids.c | #include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <time.h>
#include <math.h>
#include <malloc.h>
#include <unistd.h>
#include <omp.h>
#include "include_global.h"
#include "background.h"
#include "general_purpose.h"
/********************************************************************/
/* DIFFE... | C | null | 12,098 |
[ascl:1612.022] | https://github.com/matteozennaro/reps | MODULES/boundary_conditions.c | #include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <time.h>
#include <math.h>
#include <malloc.h>
#include <unistd.h>
/******************************************************************************/
/* INITIAL SETTINGS - GLOBAL VARIABLES */
/*********************... | C | null | 15,025 |
[ascl:1612.022] | https://github.com/matteozennaro/reps | MODULES/read_ini_file.c | #include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <time.h>
#include <math.h>
#include <malloc.h>
#include <unistd.h>
#include <ctype.h>
#include "include_global.h"
#include "background.h"
#include "general_purpose.h"
void read_err(char paramname[])
{
char error[1000];
sprintf(error,"Error! Param... | C | null | 10,475 |
[ascl:1612.022] | https://github.com/matteozennaro/reps | MODULES/neutrino_distribution_function.c | #include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <time.h>
#include <math.h>
#include <malloc.h>
#include <unistd.h>
#include "include_global.h"
#include "general_purpose.h"
void read_GG_FF_tabs()
{
FILE *gft = fopen(neutrino_tab_file,"r");
if (gft==NULL)
{
char dir[1000];
if (getcwd(d... | C | null | 2,426 |
[ascl:1612.022] | https://github.com/matteozennaro/reps | MODULES/general_purpose.c | #include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <time.h>
#include <math.h>
#include <malloc.h>
#include <unistd.h>
#include "include_global.h"
void frame(char str[])
{
int add_newline=0;
int i=0;
while (str[i]!='\0') i++; if(str[i-1]!='\n') add_newline=1;
printf("--------------------------... | C | null | 5,307 |
[ascl:1612.022] | https://github.com/matteozennaro/reps | MODULES/boltzmann_solver.c | #include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <time.h>
#include <math.h>
#include <malloc.h>
#include <unistd.h>
#include "include_global.h"
#include "background.h"
void create_boltzmann_ini_file (char dir_chain[])
{
double bc_zz[50];
if (mode==1)
{
int i_bc;
double zmin = z_initia... | C | null | 19,026 |
[ascl:1612.022] | https://github.com/matteozennaro/reps | MODULES/write_output.c | #include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <time.h>
#include <math.h>
#include <malloc.h>
#include <unistd.h>
#include "include_global.h"
#include "background.h"
#include "boltzmann_solver.h"
#include "general_purpose.h"
void read_power_spectrum(char file[],int knum,double *k,double *P)
{
i... | C | null | 22,741 |
[ascl:1612.022] | https://github.com/matteozennaro/reps | MODULES/rescale_ps.c | #include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <time.h>
#include <math.h>
#include <malloc.h>
#include <unistd.h>
#include "include_extern.h"
extern void create_boltzmann_ini_file (char dir_chain[]);
extern void fscanf_error(int n);
extern double *allocate_double_vec(int n_elems);
extern int count... | C | null | 8,287 |
[ascl:1612.022] | https://github.com/matteozennaro/reps | MODULES/background_functions.c | #include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <time.h>
#include <math.h>
#include <malloc.h>
#include <unistd.h>
#include "include_global.h"
#include "neutrino_distribution_function.h"
/******************************************************************************/
/* BACKGROUND ... | C | null | 3,707 |
[ascl:1612.022] | https://github.com/matteozennaro/reps | EXAMPLES/test_mnu015_camb_scenario00.ini | # Example using camb, mnu = 0.15
boltzmann_code = camb
boltzmann_folder = /home/user/CAMB_2015/
k_per_logint_camb = 10
input_file = boundary_conditions.dat
outputfile = mnu015_scenario00
output_format = camb transfer functions
#compute_Pk_0 = F
#file_Pk_0_in = PK_TABS/po... | Config | null | 883 |
[ascl:1612.022] | https://github.com/matteozennaro/reps | EXAMPLES/test_mnu000_class_scenario00.ini | # Example using class, mnu = 0.00
boltzmann_code = class
boltzmann_folder = /home/user/class_2.5.0/
input_file = boundary_conditions.dat
outputfile = mnu000_scenario00
output_format = camb transfer functions
#compute_Pk_0 = F
#file_Pk_0_in = PK_TABS/power_norm_z1_pk.dat
wr... | Config | null | 847 |
[ascl:1612.022] | https://github.com/matteozennaro/reps | EXAMPLES/test_mnu015_class_scenario00.ini | # Example using class, mnu = 0.15
boltzmann_code = class
boltzmann_folder = /home/user/class_2.5.0/
input_file = boundary_conditions.dat
outputfile = mnu015_scenario00
output_format = power spectra
#compute_Pk_0 = F
#file_Pk_0_in = PK_TABS/power_norm_z1_pk.dat
wrong_nu ... | Config | null | 852 |
[ascl:1612.022] | https://github.com/matteozennaro/reps | EXAMPLES/test_mnu000_camb_scenario00.ini | # Example using camb, mnu = 0.00
boltzmann_code = camb
boltzmann_folder = /home/user/CAMB_2015/
k_per_logint_camb = 10
input_file = boundary_conditions.dat
outputfile = mnu000_scenario00
output_format = camb transfer functions
#compute_Pk_0 = F
#file_Pk_0_in = PK_TABS/po... | Config | null | 868 |
[ascl:1612.022] | https://github.com/matteozennaro/reps | SOURCE/reps.c | #include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <time.h>
#include <math.h>
#include <malloc.h>
#include <unistd.h>
/******************************************************************************/
/* INITIAL SETTINGS - GLOBAL VARIABLES */
/*********************... | C | null | 4,188 |
[ascl:1809.016] | https://github.com/astro-informatics/RequiSim | RequiSim.py | #__________________________________#
# RequiSim #
# Peter Taylor #
# Mullard Space Laboratory #
# University College London #
# 2018 #
#__________________________________#
import numpy as np
from matplotlib import pyplot as plt
im... | Python | null | 8,392 |
[ascl:1809.016] | https://github.com/astro-informatics/RequiSim | sample_run_script.py | #__________________________________#
# RequiSim #
# Peter Taylor #
# Mullard Space Laboratory #
# University College London #
# 2018 #
#__________________________________#
from RequiSim import P_VWPO
from RequiSim import plot_k
fr... | Python | null | 879 |
[ascl:1809.016] | https://github.com/astro-informatics/RequiSim | README.md | # _RequiSim_ #
# Background #
**statement**: I hope that you enjoy _RequiSim_, and find it useful.
Please contact Peter Taylor (**peterllewlyntaylor at gmail dot com**)
if there are problems, or if you need the data files for
surveys other than Euclid.
If you use _RequiSim_ please remember... | Markdown | null | 4,555 |
[ascl:1809.016] | https://github.com/astro-informatics/RequiSim | 2500/k_samps.txt | 6.700000000000000226e-04
6.839856488259556545e-04
6.982632355221844028e-04
7.128388540297795478e-04
7.277187254953872099e-04
7.429092009265073505e-04
7.584167639022221154e-04
7.742480333405119420e-04
7.904097663233286336e-04
8.069088609806475149e-04
8.237523594347179613e-04
8.409474508057721443e-04
8.585014742804768836... | Text | null | 12,500 |
[ascl:1809.016] | https://github.com/astro-informatics/RequiSim | 2500/z_samps.txt | 3.499999999999999947e-06
6.015517034068136072e-03
1.202753406813627211e-02
1.803955110220440902e-02
2.405156813627254420e-02
3.006358517034067937e-02
3.607560220440881454e-02
4.208761923847694625e-02
4.809963627254508489e-02
5.411165330661322354e-02
6.012367034068135524e-02
6.613568737474949388e-02
7.214770440881763947... | Text | null | 12,500 |
[ascl:1809.016] | https://github.com/astro-informatics/RequiSim | 3000/k_samps.txt | 6.700000000000000226e-04
6.839856488259556545e-04
6.982632355221844028e-04
7.128388540297795478e-04
7.277187254953872099e-04
7.429092009265073505e-04
7.584167639022221154e-04
7.742480333405119420e-04
7.904097663233286336e-04
8.069088609806475149e-04
8.237523594347179613e-04
8.409474508057721443e-04
8.585014742804768836... | Text | null | 12,500 |
[ascl:1809.016] | https://github.com/astro-informatics/RequiSim | 3000/z_samps.txt | 3.499999999999999947e-06
6.015517034068136072e-03
1.202753406813627211e-02
1.803955110220440902e-02
2.405156813627254420e-02
3.006358517034067937e-02
3.607560220440881454e-02
4.208761923847694625e-02
4.809963627254508489e-02
5.411165330661322354e-02
6.012367034068135524e-02
6.613568737474949388e-02
7.214770440881763947... | Text | null | 12,500 |
[ascl:1809.016] | https://github.com/astro-informatics/RequiSim | 2000/z_samps.txt | 3.499999999999999947e-06
6.015517034068136072e-03
1.202753406813627211e-02
1.803955110220440902e-02
2.405156813627254420e-02
3.006358517034067937e-02
3.607560220440881454e-02
4.208761923847694625e-02
4.809963627254508489e-02
5.411165330661322354e-02
6.012367034068135524e-02
6.613568737474949388e-02
7.214770440881763947... | Text | null | 12,500 |
[ascl:1809.016] | https://github.com/astro-informatics/RequiSim | 2000/k_samps.txt | 6.700000000000000226e-04
6.839856488259556545e-04
6.982632355221844028e-04
7.128388540297795478e-04
7.277187254953872099e-04
7.429092009265073505e-04
7.584167639022221154e-04
7.742480333405119420e-04
7.904097663233286336e-04
8.069088609806475149e-04
8.237523594347179613e-04
8.409474508057721443e-04
8.585014742804768836... | Text | null | 12,500 |
[ascl:1809.016] | https://github.com/astro-informatics/RequiSim | 1000/k_samps.txt | 6.700000000000000226e-04
6.839856488259556545e-04
6.982632355221844028e-04
7.128388540297795478e-04
7.277187254953872099e-04
7.429092009265073505e-04
7.584167639022221154e-04
7.742480333405119420e-04
7.904097663233286336e-04
8.069088609806475149e-04
8.237523594347179613e-04
8.409474508057721443e-04
8.585014742804768836... | Text | null | 12,500 |
[ascl:1809.016] | https://github.com/astro-informatics/RequiSim | 1000/z_samps.txt | 3.499999999999999947e-06
6.015517034068136072e-03
1.202753406813627211e-02
1.803955110220440902e-02
2.405156813627254420e-02
3.006358517034067937e-02
3.607560220440881454e-02
4.208761923847694625e-02
4.809963627254508489e-02
5.411165330661322354e-02
6.012367034068135524e-02
6.613568737474949388e-02
7.214770440881763947... | Text | null | 12,500 |
[ascl:1809.016] | https://github.com/astro-informatics/RequiSim | 1500/k_samps.txt | 6.700000000000000226e-04
6.839856488259556545e-04
6.982632355221844028e-04
7.128388540297795478e-04
7.277187254953872099e-04
7.429092009265073505e-04
7.584167639022221154e-04
7.742480333405119420e-04
7.904097663233286336e-04
8.069088609806475149e-04
8.237523594347179613e-04
8.409474508057721443e-04
8.585014742804768836... | Text | null | 12,500 |
[ascl:1809.016] | https://github.com/astro-informatics/RequiSim | 1500/z_samps.txt | 3.499999999999999947e-06
6.015517034068136072e-03
1.202753406813627211e-02
1.803955110220440902e-02
2.405156813627254420e-02
3.006358517034067937e-02
3.607560220440881454e-02
4.208761923847694625e-02
4.809963627254508489e-02
5.411165330661322354e-02
6.012367034068135524e-02
6.613568737474949388e-02
7.214770440881763947... | Text | null | 12,500 |
[ascl:1809.016] | https://github.com/astro-informatics/RequiSim | 500/k_samps.txt | 6.700000000000000226e-04
6.839856488259556545e-04
6.982632355221844028e-04
7.128388540297795478e-04
7.277187254953872099e-04
7.429092009265073505e-04
7.584167639022221154e-04
7.742480333405119420e-04
7.904097663233286336e-04
8.069088609806475149e-04
8.237523594347179613e-04
8.409474508057721443e-04
8.585014742804768836... | Text | null | 12,500 |
[ascl:1809.016] | https://github.com/astro-informatics/RequiSim | 500/z_samps.txt | 3.499999999999999947e-06
6.015517034068136072e-03
1.202753406813627211e-02
1.803955110220440902e-02
2.405156813627254420e-02
3.006358517034067937e-02
3.607560220440881454e-02
4.208761923847694625e-02
4.809963627254508489e-02
5.411165330661322354e-02
6.012367034068135524e-02
6.613568737474949388e-02
7.214770440881763947... | Text | null | 12,500 |
[ascl:1505.028] | https://github.com/henrikju/resolve | response.py | """
response.py
Written by Henrik Junklewitz
General_response.py is part of the RESOLVE package and provides several
routines and definitions for radio interferometric response functions.
Copyright 2014 Henrik Junklewitz
RESOLVE is free software: you can redistribute it and/or modify
it under the terms of the GNU Ge... | Python | Unknown | 15,334 |
[ascl:1505.028] | https://github.com/henrikju/resolve | utility_functions.py | """
helper_functions.py
Written by Henrik Junklewitz
helper_functions.py is an auxiliary file for resolve.py and belongs to the
RESOLVE package. It provides all needed auxiliary functions for the inference
code except the functions that need explicit CASA input.
RESOLVE is free software: you can redistribute it and/... | Python | Unknown | 24,751 |
[ascl:1505.028] | https://github.com/henrikju/resolve | Messenger.py | """
Messenger.py
*******************************************************************************
Copyright 2012 Michael Bell
This file is part of pyrat, the Python Radio Astronomy Toolkit.
pyrat is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published... | Python | Unknown | 5,766 |
[ascl:1505.028] | https://github.com/henrikju/resolve | algorithms.py | """
algorithms.py
Written by Henrik Junklewitz
Resolve.py defines the main function that runs RESOLVE on a measurement
set with radio interferometric data.
Copyright 2016 Henrik Junklewitz
RESOLVE is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as publishe... | Python | Unknown | 11,751 |
[ascl:1505.028] | https://github.com/henrikju/resolve | operators.py | """
operators.py
Written by Henrik Junklewitz
operators.py is an auxiliary file for resolve.py and belongs to the RESOLVE
package. It provides all the needed operators for the inference code except
the response operator defined in response.py.
RESOLVE is free software: you can redistribute it and/or modify
it under t... | Python | Unknown | 18,748 |
[ascl:1505.028] | https://github.com/henrikju/resolve | resolve.py | """
resolve.py
Written by Henrik Junklewitz
Resolve.py defines the main function that runs RESOLVE on a measurement
set with radio interferometric data.
Copyright 2014 Henrik Junklewitz
RESOLVE is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published b... | Python | Unknown | 71,559 |
[ascl:1505.028] | https://github.com/henrikju/resolve | resolve_parser.py | # -*- coding: utf-8 -*-
"""
parser.py
Written by Quirin Kronseder and Henrik Junklewitz.
Resolve.py defines the main function that runs RESOLVE on a measurement
set with radio interferometric data.
Copyright 2016 Henrik Junklewitz and Quirin Kronseder
RESOLVE is free software: you can redistribute it and/or modify... | Python | Unknown | 11,557 |
[ascl:1505.028] | https://github.com/henrikju/resolve | __init__.py | Python | Unknown | 1 | |
[ascl:1505.028] | https://github.com/henrikju/resolve | version.py | """
resolve.py
Written by Henrik Junklewitz
Resolve.py defines the main function that runs RESOLVE on a measurement
set with radio interferometric data.
Copyright 2014 Henrik Junklewitz
RESOLVE is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published... | Python | Unknown | 812 |
[ascl:1505.028] | https://github.com/henrikju/resolve | README.md | # RESOLVE - A Bayesian algorithm for aperture synthesis imaging in radio astronomy
-------------------------------------------------------------------------------------------------------------------------------
## ATTENTION: part of the code is constantly being updated with new features, and so will be heavily non-tes... | Markdown | Unknown | 8,431 |
[ascl:1505.028] | https://github.com/henrikju/resolve | configuration/parameters/resolve_fast_simulation.cfg | boolean simulating True
boolean fastresolve True
boolean crude_Hessian True
string map_algo sd
float SNR 10000
string noise_est SNR_assumed
float SNR_assumed 10000 | Config | Unknown | 163 |
[ascl:1505.028] | https://github.com/henrikju/resolve | configuration/parameters/pure_pointresolve.cfg | string noise_est SNR_assumed
float SNR_assumed 10
boolean crude_Hessian False
boolean fastresolve False
boolean highmonopole True
float map_iter_u 1000
float map_alpha_u 1e-2
float map_tol_u 1e-4
string map_algo_u L-BFGS-B
string init_type_u const
float u_start -2
boolean pspec True
string ftmode gfft
boolean pointreso... | Config | Unknown | 426 |
[ascl:1505.028] | https://github.com/henrikju/resolve | configuration/parameters/pointresolve_u.cfg | float ncpu 2
float nrun 8
string noise_est SNR_assumed
float SNR_assumed 10
boolean crude_Hessian False
float map_iter_u 300
boolean pspec True
string ftmode gfft
boolean pointresolve True
string map_algo L-BFGS-B
float map_alpha_u 1e-2
float map_tol_u 1e-4
float beta 1.5
float eta 4e-6
integer callbackfrequency 10 | Config | Unknown | 316 |
[ascl:1505.028] | https://github.com/henrikju/resolve | configuration/parameters/pointresolve_m.cfg | float ncpu 2
float nrun 8
string noise_est SNR_assumed
float SNR_assumed 10
boolean crude_Hessian False
float map_iter 300
boolean pspec True
string ftmode gfft
boolean pointresolve True
string map_algo L-BFGS-B
float map_alpha 1e-2
float map_tol 1e-4
float beta 1.5
float eta 4e-6
integer callbackfrequency 10 | Config | Unknown | 310 |
[ascl:1505.028] | https://github.com/henrikju/resolve | configuration/parameters/resolve.cfg | float ncpu 2
float nrun 8
string noise_est SNR_assumed
float SNR_assumed 10
boolean crude_Hessian False
boolean fastresolve False
boolean highmonopole True
float map_alpha 1e-2
float map_tol 1e-4
float map_conv 7
string map_algo L-BFGS-B
float map_iter 200
string init_type_m const
float m_start -6
string init_type_p st... | Config | Unknown | 416 |
[ascl:1505.028] | https://github.com/henrikju/resolve | configuration/parameters/resolve_fast.cfg | float ncpu 8
float nrun 8
string noise_est SNR_assumed
float SNR_assumed 10
boolean crude_Hessian True
boolean fastresolve True
boolean highmonopole True
float map_alpha 1e-2
float map_tol 1e-4
float map_conv 7
string map_algo L-BFGS-B
float map_iter 200
string init_type_m const
float m_start -6
string init_type_p stru... | Config | Unknown | 413 |
[ascl:1505.028] | https://github.com/henrikju/resolve | configuration/parameters/mfresolve_fast.cfg | float ncpu 8
float nrun 8
string noise_est SNR_assumed
float SNR_assumed 10
boolean crude_Hessian True
boolean fastresolve True
boolean highmonopole True
boolean multifrequency True
float map_alpha 1e-2
float map_tol 1e-4
float map_conv 7
string map_algo L-BFGS-B
float map_alpha_a 1e-2
float map_tol_a 1e-4
float map_co... | Config | Unknown | 623 |
[ascl:1505.028] | https://github.com/henrikju/resolve | configuration/parameters/pure_pointresolve_fast.cfg | string noise_est SNR_assumed
float SNR_assumed 10
boolean crude_Hessian True
boolean fastresolve True
boolean highmonopole True
float map_iter_u 1000
float map_alpha_u 1e-2
float map_tol_u 1e-4
string map_algo_u L-BFGS-B
string init_type_u const
float u_start -2
boolean pspec True
string ftmode gfft
boolean pointresolv... | Config | Unknown | 424 |
[ascl:1505.028] | https://github.com/henrikju/resolve | configuration/parameters/pointresolve_fast_prerun_simulation.cfg | string noise_est SNR_assumed
float SNR_assumed 10
boolean crude_Hessian True
boolean fastresolve True
boolean highmonopole True
float map_iter 300
float map_alpha 1e-3
float map_tol 1e-6
string map_algo L-BFGS-B
string init_type_p structure
string init_type_m const
string init_type_u const
float m_start -0.8
float u_st... | Config | Unknown | 495 |
[ascl:1505.028] | https://github.com/henrikju/resolve | configuration/parameters/default_parameters.cfg | boolean multifrequency False
boolean pointresolve False
boolean pspec True
boolean uncertainty False
string stokes I
string ftmode gfft
boolean fastresolve False
boolean crude_Hessian False
float rho0 1
string pbeam
string noise_est simple
integer freq 0 0
integer final_convlevel 4
float map_conv 1e-1
float map_conv... | Config | Unknown | 1,900 |
[ascl:1505.028] | https://github.com/henrikju/resolve | configuration/parameters/mfresolve.cfg | float ncpu 8
float nrun 8
string noise_est SNR_assumed
float SNR_assumed 10
boolean crude_Hessian False
boolean fastresolve False
boolean highmonopole True
boolean multifrequency True
float map_alpha 1e-2
float map_tol 1e-4
float map_conv 7
string map_algo L-BFGS-B
float map_alpha_a 1e-2
float map_tol_a 1e-4
float map_... | Config | Unknown | 625 |
[ascl:1505.028] | https://github.com/henrikju/resolve | configuration/parameters/pointresolve_fast_m.cfg | float ncpu 2
float nrun 8
string noise_est SNR_assumed
float SNR_assumed 10
boolean crude_Hessian False
float map_iter 300
boolean pspec True
string ftmode gfft
boolean pointresolve True
string map_algo L-BFGS-B
float map_alpha 1e-2
float map_tol 1e-4
float beta 1.5
float eta 4e-6
integer callbackfrequency 10
boolean f... | Config | Unknown | 335 |
[ascl:1505.028] | https://github.com/henrikju/resolve | configuration/parameters/resolve_fast_uncertainty.cfg | float ncpu 8
float nrun 8
string noise_est SNR_assumed
float SNR_assumed 10
boolean crude_Hessian True
boolean fastresolve True
boolean highmonopole True
float map_alpha 1e-2
float map_tol 1e-4
float map_conv 7
string map_algo L-BFGS-B
float map_iter 200
string init_type_m insert last m reconstruction file location her... | Config | Unknown | 518 |
[ascl:1505.028] | https://github.com/henrikju/resolve | configuration/parameters/pointresolve_prerun.cfg | string noise_est SNR_assumed
float SNR_assumed 10
boolean crude_Hessian False
boolean highmonopole True
float map_iter_u 1000
float map_iter_m 1000
string init_type_p structure
string init_type_m const
string init_type_u const
float u_start -2.1
float m_start -6
boolean pspec True
string ftmode gfft
boolean pointresolv... | Config | Unknown | 357 |
[ascl:1505.028] | https://github.com/henrikju/resolve | configuration/parameters/pointresolve_fast_u.cfg | float ncpu 2
float nrun 8
string noise_est SNR_assumed
float SNR_assumed 10
boolean crude_Hessian False
float map_iter_u 300
boolean pspec True
string ftmode gfft
boolean pointresolve True
string map_algo L-BFGS-B
float map_alpha_u 1e-2
float map_tol_u 1e-4
float beta 1.5
float eta 4e-6
integer callbackfrequency 10
boo... | Config | Unknown | 341 |
[ascl:1505.028] | https://github.com/henrikju/resolve | configuration/parameters/resolve_uncertainty.cfg | float ncpu 8
float nrun 8
string noise_est SNR_assumed
float SNR_assumed 10
boolean crude_Hessian False
boolean fastresolve False
boolean highmonopole True
float map_alpha 1e-2
float map_tol 1e-4
float map_conv 7
string map_algo L-BFGS-B
float map_iter 200
string init_type_m insert last m reconstruction file location h... | Config | Unknown | 520 |
[ascl:1505.028] | https://github.com/henrikju/resolve | configuration/parameters/pointresolve_fast_prerun.cfg | string noise_est SNR_assumed
float SNR_assumed 10
boolean crude_Hessian True
boolean fastresolve True
boolean highmonopole True
float map_iter_u 1000
float map_iter_m 1000
string init_type_p structure
string init_type_m const
string init_type_u const
float u_start -2.1
float m_start -6
boolean pspec True
string ftmode ... | Config | Unknown | 381 |
[ascl:1505.028] | https://github.com/henrikju/resolve | configuration/parameters/pointresolve_prerun_simulation.cfg | string noise_est SNR_assumed
float SNR_assumed 10
boolean crude_Hessian False
boolean highmonopole True
float map_iter 300
float map_alpha 1e-3
float map_tol 1e-6
string map_algo L-BFGS-B
string init_type_p structure
string init_type_m const
string init_type_u const
float m_start -0.8
float u_start -2.1
boolean pspec T... | Config | Unknown | 471 |
[ascl:1505.028] | https://github.com/henrikju/resolve | configuration/parameters/resolve_simulation.cfg | boolean simulating True
map_algo sd
float SNR 1e4
string noise_est SNR_assumed
float SNR_assumed 1e4 | Config | Unknown | 100 |
[ascl:1505.028] | https://github.com/henrikju/resolve | simulation/__init__.py | import resolve_simulation
| Python | Unknown | 26 |
[ascl:1505.028] | https://github.com/henrikju/resolve | simulation/resolve_simulation.py | """
resolve.py
Written by Henrik Junklewitz
Simulation.py is a routine that provides simulated data set to
resolve given a defined set of uv coordiantes.
Copyright 2014 Henrik Junklewitz
RESOLVE is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published ... | Python | Unknown | 8,312 |
[ascl:1505.028] | https://github.com/henrikju/resolve | casatools/__init__.py | import resolve_casa_functions
import casa_IO
from .. import Messenger
| Python | Unknown | 71 |
[ascl:1505.028] | https://github.com/henrikju/resolve | casatools/resolve_casa_functions.py | """
resolve_casa_functions.py
Written by Henrik Junklewitz
resolve_casa_functions.py is an auxiliary file for resolve.py and belongs to
the RESOLVE package. It provides all the functions that need explicit CASA
input and currently cannot be used from a python interpreter.
RESOLVE is free software: you can redistrib... | Python | Unknown | 5,052 |
[ascl:1505.028] | https://github.com/henrikju/resolve | casatools/casa_IO.py | """
general_IO.py
Written by Henrik Junklewitz
General_IO.py is an optional part of the RESOLVE package and provides CASA
specific reading routines for measuremnet sets. All functions can only be run
in a CASA environment.
Copyright 2014 Henrik Junklewitz
RESOLVE is free software: you can redistribute it and/or mod... | Python | Unknown | 22,431 |
[ascl:1505.028] | https://github.com/henrikju/resolve | response_approximation/__init__.py | import UV_algorithm
| Python | Unknown | 20 |
[ascl:1505.028] | https://github.com/henrikju/resolve | response_approximation/grid_C.h | double sinc(double x);
void grid_complex(unsigned int Nk, unsigned int Nq,
double complex grid[Nk][Nq],
double vk, double vq,
unsigned int Nuv,
double complex inpoints[Nuv],
double u[Nuv], double v[Nuv],
unsigne... | C/C++ Header | Unknown | 981 |
[ascl:1505.028] | https://github.com/henrikju/resolve | response_approximation/grid_C.c | #include <math.h>
#include <complex.h>
#include <stdio.h>
#include "grid_C.h"
double sinc(double x){
double res;
if(x == 0.) res = 1.;
else{
res = 3.1415926539*x;
res = sin(res)/res;
}
return res;
}
void grid_complex(unsigned int Nk, unsigned int Nq,
double compl... | C | Unknown | 6,337 |
[ascl:1505.028] | https://github.com/henrikju/resolve | response_approximation/UV_algorithm.py | """
resolve.py
Written by Henrik Junklewitz based on scipts by Maksim Greiner
Resolve.py defines the main function that runs RESOLVE on a measurement
set with radio interferometric data.
Copyright 2016 Henrik Junklewitz
RESOLVE is free software: you can redistribute it and/or modify
it under the terms of the GNU Ge... | Python | Unknown | 1,388 |
[ascl:1505.028] | https://github.com/henrikju/resolve | response_approximation/setup.py | from distutils.core import setup, Extension
from Cython.Build import cythonize
#from distutils.core import setup
from distutils.extension import Extension
from Cython.Distutils import build_ext
import numpy
"""
setup(ext_modules = cythonize(Extension(
"grid_cython", # the exte... | Python | Unknown | 931 |
[ascl:1505.028] | https://github.com/henrikju/resolve | response_approximation/grid_function.py | """
resolve.py
Written by Maksim Greiner
grid_functions.py is a helper functions for the fastresolve mode.
Copyright 2016 Maksim Greiner and Henrik Junklewitz
RESOLVE is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Founda... | Python | Unknown | 2,316 |
[ascl:1505.028] | https://github.com/henrikju/resolve | response_approximation/grid_function.c | /* Generated by Cython 0.20.1post0 (Debian 0.20.1+git90-g0e6e38e-1ubuntu2) on Fri Feb 5 18:23:15 2016 */
#define PY_SSIZE_T_CLEAN
#ifndef CYTHON_USE_PYLONG_INTERNALS
#ifdef PYLONG_BITS_IN_DIGIT
#define CYTHON_USE_PYLONG_INTERNALS 0
#else
#include "pyconfig.h"
#ifdef PYLONG_BITS_IN_DIGIT
#define CYTHON_USE_PYLONG_INTE... | C | Unknown | 170,360 |
[ascl:1505.028] | https://github.com/henrikju/resolve | response_approximation/UV_classes.py | """
resolve.py
Written by Maksim Greiner and Henrik Junklewitz
UV_classes.py defines the main functionalities needed to run
resolve in fastresolve mode.
Copyright 2016 Maksim Greiner and Henrik Junklewitz
RESOLVE is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public Li... | Python | Unknown | 18,860 |
[ascl:1505.028] | https://github.com/henrikju/resolve | response_approximation/grid_cython.c | /* Generated by Cython 0.25.2 */
#define PY_SSIZE_T_CLEAN
#include "Python.h"
#ifndef Py_PYTHON_H
#error Python headers needed to compile C extensions, please install development version of Python.
#elif PY_VERSION_HEX < 0x02060000 || (0x03000000 <= PY_VERSION_HEX && PY_VERSION_HEX < 0x03020000)
#error Cython ... | C | Unknown | 355,351 |
[ascl:2409.009] | https://github.com/smirik/resonances | pyproject.toml | [tool.poetry]
name = "resonances"
version = "0.5.0"
description = "Identification of mean-motion resonances"
authors = ["Evgeny Smirnov <smirik@gmail.com>"]
license = "MIT"
readme = "README.md"
homepage = "http://smirik.github.io/resonances/"
repository = "https://github.com/smirik/resonances"
documentation = "http://s... | TOML | MIT | 1,920 |
[ascl:2409.009] | https://github.com/smirik/resonances | mkdocs.yml | site_name: Mean-Motion Resonances
site_url: https://github.com/smirik/resonances
repo_url: https://github.com/smirik/resonances
site_description: The python package that identifies two-body and three-body mean-motion resonances.
edit_uri: blob/master/docs/
theme:
name: readthedocs
include_homepage_in_s... | YAML | MIT | 960 |
[ascl:2409.009] | https://github.com/smirik/resonances | README.md | # Mean-Motion Resonances
[](https://github.com/psf/black)
[](https://github.com/smirik/resonances/actions/workflows/ci.yml)
`resonances` is ... | Markdown | MIT | 9,178 |
[ascl:2409.009] | https://github.com/smirik/resonances | resonances/config.py | from pathlib import Path
from dotenv import dotenv_values
import os
def static_init(cls):
if getattr(cls, "static_init", None):
cls.static_init()
return cls
@static_init
class config:
config = {}
@classmethod
def get(cls, key, default=None):
try:
value = cls.config[k... | Python | MIT | 2,117 |
[ascl:2409.009] | https://github.com/smirik/resonances | resonances/__init__.py | __version__ = '0.5.0'
import logging
from .config import config
from .logger import logger
from .resonance.factory import create_mmr
from .resonance import (
Resonance,
MMR,
ThreeBody,
TwoBody,
SecularResonance,
Nu6Resonance,
Nu5Resonance,
Nu16Resonance,
GeneralSecularResonance,
... | Python | MIT | 986 |
[ascl:2409.009] | https://github.com/smirik/resonances | resonances/horizons.py | import datetime
from typing import Union
from astropy.time import Time
from astroquery.jplhorizons import Horizons
import numpy as np
def get_body_keplerian_elements(s, date: Union[str, datetime.datetime]) -> dict:
if isinstance(s, int) or isinstance(s, float):
s = str(s) + ';'
t = Time(date)
jd ... | Python | MIT | 680 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.