Repository navigation
Substitui o overlay HiPS de clusters por clusters vizinhos da tabela - #207
Merged
Merged
Conversation
…206) O catálogo HiPS de clusters de céu inteiro teve desempenho ruim. No lugar dele, o Aladin do Cluster Detail (preview e página cluster_detail) passa a mostrar os clusters vizinhos da mesma tabela, buscados por área ao redor do cluster exibido. Backend: - Endpoint metadata/user_tables/{id}/data/ aceita busca por área com cone_ra, cone_dec e cone_radius (graus) e cone_method (box | q3c, default box). Parâmetros inválidos retornam 400; o raio é limitado a 1°. As colunas de ra/dec vêm das UCDs pos.eq.ra/dec;meta.main. - MyDB.query(area=...) aplica a cláusula na query e no count: - box: BETWEEN/OR em ra/dec, com a largura em RA corrigida por 1/cos(dec), cruzamento de RA 0/360 e sem restrição de RA no polo; - q3c: q3c_radial_query com bind params. Sem a extensão no banco, o endpoint retorna 501. - Settings.cluster_hips renomeado para Settings.neighbor_clusters ({factor, maxRadiusDeg, method, color, opacity, lineWidth, showOnOpen}). A migration 0019 zera os val - Testes da busca por área (q3c, box, RA 0/360, polo) e do endpoint. Frontend: - Novo hook useNeighborClusters e dialog NeighborClustersDialog. O dialog tem fator (1–50× o raio do cluste opacidade e espessura. Ele mostra a contagem e o tempo da busca e avisa quando o resultado é truncado. - Cada vizinho é desenhado como um círculo com o seu raio (phys.angSize;src). O próprio cluster fica de fora. O clique usa o showTable padrão do Aladin. - Novo NeighborClustersSettingsCard para os com a opção "Show on open". - A seleção do método q3c está oculta na int - Removidos ClusterCatalogDialog, ClusterHipsSettingsCard e o código do overlay HiPS de clusters do useAladin. Docs: docs/neighbor-clusters-plan.md; o plano antigo do HiPS foi marcado como substituído.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
(#206)
O catálogo HiPS de clusters de céu inteiro teve desempenho ruim. No lugar dele, o Aladin do Cluster Detail (preview e página cluster_detail) passa a mostrar os clusters vizinhos da mesma tabela, buscados por área ao redor do cluster exibido.
Backend:
Frontend:
Docs: docs/neighbor-clusters-plan.md; o plano antigo do HiPS foi marcado como substituído.