IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Calcul scientifique Python Discussion :

Construction of Hyperspectral Data cube


Sujet :

Calcul scientifique Python

Vue hybride

Message précédent Message précédent   Message suivant Message suivant
  1. #1
    Membre averti
    Homme Profil pro
    Étudiant
    Inscrit en
    Février 2016
    Messages
    14
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 38
    Localisation : France, Marne (Champagne Ardenne)

    Informations professionnelles :
    Activité : Étudiant

    Informations forums :
    Inscription : Février 2016
    Messages : 14
    Par défaut Construction of Hyperspectral Data cube
    Hello everyone,

    I would like to build a hyperspectral cube from a matrix of infrared spectrum and number of pixels on x and y axes.
    For exemple, I have 100 spectra with 500 wavelengths and I would like to turn this matrix into a 10 * 10 image with each pixels corresponding to a spectrum...
    Hox can I compute it with python ?

    Nicolas

  2. #2
    Membre chevronné
    Homme Profil pro
    Développeur banc de test
    Inscrit en
    Mai 2014
    Messages
    199
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 37
    Localisation : France, Haute Garonne (Midi Pyrénées)

    Informations professionnelles :
    Activité : Développeur banc de test
    Secteur : High Tech - Électronique et micro-électronique

    Informations forums :
    Inscription : Mai 2014
    Messages : 199
    Par défaut
    Hi,

    to summarize you are looking to draw a 3D plot?

    You should take a look on matplotlib library which provide many tools to ease 2D/3D graph rendering.

    Here is an example to draw a 3D surface plot in only 30 lines: https://matplotlib.org/gallery/mplot...-3d-surface-py

    Nom : sphx_glr_custom_shaded_3d_surface_001.png
Affichages : 517
Taille : 60,6 Ko

  3. #3
    Membre averti
    Homme Profil pro
    Étudiant
    Inscrit en
    Février 2016
    Messages
    14
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 38
    Localisation : France, Marne (Champagne Ardenne)

    Informations professionnelles :
    Activité : Étudiant

    Informations forums :
    Inscription : Février 2016
    Messages : 14
    Par défaut
    Hi,

    No I don't want to plot in 3D. In fact I search to plot my data with a heatmap. X and Y corresponding to the spacial values of image and 1 pixel corresponding to the entire frequencies contains in the spectra.

    To illustrate this : http://hyperspy.org/hyperspy-doc/cur...alisation.html

    Thank you for your response.

    Nicolas

  4. #4
    Membre émérite

    Homme Profil pro
    Ingénieur
    Inscrit en
    Août 2010
    Messages
    662
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Ingénieur
    Secteur : Aéronautique - Marine - Espace - Armement

    Informations forums :
    Inscription : Août 2010
    Messages : 662
    Par défaut
    Hi,

    If you already know what you are looking for (a heatmap) then what's the issue? Writting a piece of code to draw the heatmap itself, or how to define the height z representing "entire frequencies contained in the spectra".

    A small standalone piece of code you already wrote would help us understand your problem.


    PS: I guess the downvotes you received are due to the language used for this thread: English. I am sure nobody here is against english speaking people. But this a french forum. A large majority of programing dedicated sites/forums are already in english. Thereby it's nice to have something in another language. So, if you can write in French, even using basic vocabulary or google trad, it is a plus.

    J

Discussions similaires

  1. Data Cubes et calcul de totaux personnalisés
    Par Yoyo17 dans le forum BIRT
    Réponses: 4
    Dernier message: 26/09/2011, 15h13
  2. [2.5.2] Possible ou pas avec un Data Cube ?
    Par ddelle007 dans le forum BIRT
    Réponses: 4
    Dernier message: 30/07/2010, 10h59
  3. paramétrage des dataset dans un data cube
    Par mrbrown dans le forum BIRT
    Réponses: 2
    Dernier message: 27/07/2010, 18h06
  4. [2.3.0] Crosstab lien avec Data Cube
    Par scariou29 dans le forum BIRT
    Réponses: 2
    Dernier message: 23/01/2009, 11h49
  5. [2.2.1] Utilisation des Data Cubes
    Par MaxenceD dans le forum BIRT
    Réponses: 2
    Dernier message: 18/12/2007, 14h54

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo