Skip to main content

Program to compute beaming factor.

Project description

Beaming Facor Library

A pre-computed beaming factor library is presented in directory BeamingFactor_Lib.
(Beaming factors fro SDSS(ugriz) systems under PHOENIX will soon uploaded in several days.)

BeamingFactor

Installation:

  We present python based program BeamingFactor for users who want to compute factors themselves.
  (will soon be available in several days)

 pip install beamingfactor  

Usage:

Examples:

import beamingfactor as bf
bf.factor(specfile='/path/to/file/file_name',spectype='PHOENIX',K=100)  

Supported Parameters

Supported Input Spectra Files:

Users can specific synthetic spectra (files direct download from PHOENIX[^1](Must use high resolution file), Atlas9, or TMAP), for example:

bf.factor(specfile='/path/to/file/file_name',spectype='ATLAS9')

Users can specific their own flux calibrated spectra as follows:

bf.factor(specfile='/path/to/file/file_name',spectype='USER')  
  • Files should be an ascii format csv file.
  • First column should be wavelength in Angstorm and second column being flux, seperated by comma.
  • First line can be comments or colnames begin with '#'.

For example:

#Wave,Flux  
200,2.0  
3000,2.1  

Supported Input Filter Passband:

Supported spectype included: ATLAS9, PHOENIX, TMAP, and USER.
Filter name should be given with band='Filter_Name'.
Support Filter_Name: u,g,r,i,z,TESS,G,Gbp,Grp,U,B,V,R,I,kepler,NUV_CSST,u_c,g_c,r_c,i_c,z_c,y_c

u,g,r,i,z are from SDSS;

NUV_CSST,u_c,g_c,r_c,i_c,z_c,y_c are from CSST

TESS for TESS

kepler for Kepler

For Example:

bf.factor(specfile='/path/to/file/file_name',spectype='ATLAS9',K=100) 

[^1]: Must use high resolution (R=500,000) file.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

beamingfactor-0.1.0.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

beamingfactor-0.1.0-py2.py3-none-any.whl (3.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file beamingfactor-0.1.0.tar.gz.

File metadata

  • Download URL: beamingfactor-0.1.0.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.5

File hashes

Hashes for beamingfactor-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7eaab21d3f822671c5853aef00d23bceb5c9b1fbb7c7bd9fc75976417b0f58c0
MD5 fd151d93386aa471b8f57e3c2cacc07a
BLAKE2b-256 2869531fcd5c958df60970954493be5d4ba964db35f758b6974dc41035429123

See more details on using hashes here.

File details

Details for the file beamingfactor-0.1.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for beamingfactor-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d8e48e2ecd423979fce87c4fdb5cdf6acd09ef54f5b0a21c82f2528995155e7e
MD5 777ab08fe182ab3e8486843b9f908ff3
BLAKE2b-256 62be696c437cf2f9cf3c55d2e3dff30042e7f2e86239e2acb595b1ef5b5ef2e6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page