scorpio module

scorpio.

class scorpio.Image(matriz=None, header=None, dist_physic=None, dist_pix=None, length_arc=None, pos1=None, pos2=None, resolution=None)

Bases: object

Main object of the application, receives data from the other functions.

matrix: applied information from .fits files

header: header information of some .fits

dist_physic: estimates the physical distance to the observer in Mpc, from a given cosmology

length_arc: estimates the physical distance between the pair in kpc

dist_pix: conversion of the physical distance to pixels in the image

pos1: RA, DEC, Z information of the primary galaxy

pos2: RA, DEC, Z information of the secondary galaxy

resolution: integer value of the image resolution in pixels.

plot(ax=None, fig=<Figure size 640x480 with 0 Axes>, size=8, color_map='inferno', dir_images='./individual_images', save_Img=False, imgName='img1.png', **kwargs)

Receives data from other functions to generate and export a image.

ax: Complete information of the properties to generate the image,

by default it is None.

dir_images: Destination directory where the images will be exported,

by default it is “./individual_images”.

save_Img: Option to save the image, by default it is False.

imgName: name of the image to be exported, by default it is “img1.png”.

** kwargs.

exception scorpio.NoFilterToStackError

Bases: ValueError

Error generated when data of stack galaxies is empty.

exception scorpio.NoSurveyInListToStackError

Bases: ValueError

Error generated when survey of stack galaxies not in our list.

scorpio.distances(ra1, dec1, ra2, dec2, z1, z2, header, cosmology=FlatLambdaCDM(name="Planck15", H0=67.7 km / (Mpc s), Om0=0.307, Tcmb0=2.725 K, Neff=3.05, m_nu=[0. 0. 0.06] eV, Ob0=0.0486))

Receives the RA, DEC, redshift parameters for the two galaxies.

As well as header information for the primary galaxy and cosmology within the options provided by Astropy.

Calculate the physical and pixel distances of the two galaxies necessary for their location in the final image.

WMAP5 Komatsu et al. 2009 70.2 0.277 WMAP7 Komatsu et al. 2011 70.4 0.272 WMAP9 Hinshaw et al. 2013 69.3 0.287 Planck13 Planck Collab 2013, Paper XVI 67.8 0.307 Planck15 Planck Collab 2015, Paper XIII 67.7 0.307

scorpio.download_data(pos, survey, filters, plx, ff)

Download data fits from survey.

scorpio.gpair(ra1, dec1, ra2, dec2, z1, z2, survey='SDSS', resolution=1000, cosmology=FlatLambdaCDM(name="Planck15", H0=67.7 km / (Mpc s), Om0=0.307, Tcmb0=2.725 K, Neff=3.05, m_nu=[0. 0. 0.06] eV, Ob0=0.0486))

Receives the RA, DEC, redshift parameters for the two galaxies.

As well as the resolution in pixels, survey and filters. Returns the necessary characteristics to generate the final image.

scorpio.stack_pair(ra1, dec1, ra2, dec2, z1=None, z2=None, resolution=1000, survey='SDSS', filters=None)

Generate a individual image from list (RA, DEC, z) data of galaxy pair.

for defaul pixles: plx = 1000 and g, i filters.